diff --git a/external/nextcloud-server b/external/nextcloud-server index 06b35808..4154ba34 160000 --- a/external/nextcloud-server +++ b/external/nextcloud-server @@ -1 +1 @@ -Subproject commit 06b35808a89bd844f8101527a1654f2d06cc6ae3 +Subproject commit 4154ba343b9b188e40f327fb78d9eb5083e163a1 diff --git a/packages/nextcloud/lib/src/api/core.openapi.dart b/packages/nextcloud/lib/src/api/core.openapi.dart index cf1a63ad..86f7cfd9 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.dart +++ b/packages/nextcloud/lib/src/api/core.openapi.dart @@ -68,6 +68,8 @@ class Client extends DynamiteClient { TextProcessingApiClient get textProcessingApi => TextProcessingApiClient(this); + TextToImageApiClient get textToImageApi => TextToImageApiClient(this); + TranslationApiClient get translationApi => TranslationApiClient(this); UnifiedSearchClient get unifiedSearch => UnifiedSearchClient(this); @@ -3661,12 +3663,12 @@ class TextProcessingApiClient { } } -class TranslationApiClient { - TranslationApiClient(this._rootClient); +class TextToImageApiClient { + TextToImageApiClient(this._rootClient); final Client _rootClient; - /// Get the list of supported languages. + /// Check whether this feature is available. /// /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. /// Throws a [DynamiteApiException] if the API call does not return an expected status code. @@ -3675,21 +3677,21 @@ class TranslationApiClient { /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. /// /// Status codes: - /// * 200: Supported languages returned + /// * 200: Returns availability status /// /// See: - /// * [languagesRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> languages({ + /// * [isAvailableRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> isAvailable({ final bool oCSAPIRequest = true, }) async { - final rawResponse = languagesRaw( + final rawResponse = isAvailableRaw( oCSAPIRequest: oCSAPIRequest, ); return rawResponse.future; } - /// Get the list of supported languages. + /// Check whether this feature is available. /// /// This method and the response it returns is experimental. The API might change without a major version bump. /// @@ -3700,12 +3702,12 @@ class TranslationApiClient { /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. /// /// Status codes: - /// * 200: Supported languages returned + /// * 200: Returns availability status /// /// See: - /// * [languages] for an operation that returns a [DynamiteResponse] with a stable API. + /// * [isAvailable] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse languagesRaw({ + DynamiteRawResponse isAvailableRaw({ final bool oCSAPIRequest = true, }) { final queryParameters = {}; @@ -3730,10 +3732,10 @@ class TranslationApiClient { // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/translation/languages'; + const path = '/ocs/v2.php/text2image/is_available'; final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); - return DynamiteRawResponse( + return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', uri, @@ -3741,48 +3743,50 @@ class TranslationApiClient { body, const {200}, ), - bodyType: const FullType(TranslationApiLanguagesResponseApplicationJson), + bodyType: const FullType(TextToImageApiIsAvailableResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); } - /// Translate a text. + /// This endpoint allows scheduling a text to image task. /// /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. /// Throws a [DynamiteApiException] if the API call does not return an expected status code. /// /// Parameters: - /// * [text] Text to be translated. - /// * [fromLanguage] Language to translate from. - /// * [toLanguage] Language to translate to. + /// * [input] Input text. + /// * [appId] ID of the app that will execute the task. + /// * [identifier] An arbitrary identifier for the task. Defaults to `''`. + /// * [numberOfImages] The number of images to generate. Defaults to `8`. /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. /// /// Status codes: - /// * 200: Translated text returned - /// * 400: Language not detected or unable to translate - /// * 412: Translating is not possible + /// * 200: Task scheduled successfully + /// * 412: Scheduling task is not possible /// * 500 /// /// See: - /// * [translateRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> translate({ - required final String text, - required final String toLanguage, - final String? fromLanguage, + /// * [scheduleRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> schedule({ + required final String input, + required final String appId, + final String identifier = '', + final int numberOfImages = 8, final bool oCSAPIRequest = true, }) async { - final rawResponse = translateRaw( - text: text, - toLanguage: toLanguage, - fromLanguage: fromLanguage, + final rawResponse = scheduleRaw( + input: input, + appId: appId, + identifier: identifier, + numberOfImages: numberOfImages, oCSAPIRequest: oCSAPIRequest, ); return rawResponse.future; } - /// Translate a text. + /// This endpoint allows scheduling a text to image task. /// /// This method and the response it returns is experimental. The API might change without a major version bump. /// @@ -3790,24 +3794,25 @@ class TranslationApiClient { /// Throws a [DynamiteApiException] if the API call does not return an expected status code. /// /// Parameters: - /// * [text] Text to be translated. - /// * [fromLanguage] Language to translate from. - /// * [toLanguage] Language to translate to. + /// * [input] Input text. + /// * [appId] ID of the app that will execute the task. + /// * [identifier] An arbitrary identifier for the task. Defaults to `''`. + /// * [numberOfImages] The number of images to generate. Defaults to `8`. /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. /// /// Status codes: - /// * 200: Translated text returned - /// * 400: Language not detected or unable to translate - /// * 412: Translating is not possible + /// * 200: Task scheduled successfully + /// * 412: Scheduling task is not possible /// * 500 /// /// See: - /// * [translate] for an operation that returns a [DynamiteResponse] with a stable API. + /// * [schedule] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse translateRaw({ - required final String text, - required final String toLanguage, - final String? fromLanguage, + DynamiteRawResponse scheduleRaw({ + required final String input, + required final String appId, + final String identifier = '', + final int numberOfImages = 8, final bool oCSAPIRequest = true, }) { final queryParameters = {}; @@ -3831,16 +3836,19 @@ class TranslationApiClient { } // coverage:ignore-end - queryParameters['text'] = text; - queryParameters['toLanguage'] = toLanguage; - if (fromLanguage != null) { - queryParameters['fromLanguage'] = fromLanguage; + queryParameters['input'] = input; + queryParameters['appId'] = appId; + if (identifier != '') { + queryParameters['identifier'] = identifier; + } + if (numberOfImages != 8) { + queryParameters['numberOfImages'] = numberOfImages.toString(); } headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/translation/translate'; + const path = '/ocs/v2.php/text2image/schedule'; final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); - return DynamiteRawResponse( + return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', uri, @@ -3848,45 +3856,41 @@ class TranslationApiClient { body, const {200}, ), - bodyType: const FullType(TranslationApiTranslateResponseApplicationJson), + bodyType: const FullType(TextToImageApiScheduleResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); } -} - -class UnifiedSearchClient { - UnifiedSearchClient(this._rootClient); - - final Client _rootClient; - /// Get the providers for unified search. + /// This endpoint allows checking the status and results of a task. Tasks are removed 1 week after receiving their last update. /// /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. /// Throws a [DynamiteApiException] if the API call does not return an expected status code. /// /// Parameters: - /// * [from] the url the user is currently at. Defaults to `''`. + /// * [id] The id of the task. /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. /// /// Status codes: - /// * 200: Providers returned + /// * 200: Task returned + /// * 404: Task not found + /// * 500 /// /// See: - /// * [getProvidersRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> getProviders({ - final String from = '', + /// * [getTaskRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getTask({ + required final int id, final bool oCSAPIRequest = true, }) async { - final rawResponse = getProvidersRaw( - from: from, + final rawResponse = getTaskRaw( + id: id, oCSAPIRequest: oCSAPIRequest, ); return rawResponse.future; } - /// Get the providers for unified search. + /// This endpoint allows checking the status and results of a task. Tasks are removed 1 week after receiving their last update. /// /// This method and the response it returns is experimental. The API might change without a major version bump. /// @@ -3894,17 +3898,19 @@ class UnifiedSearchClient { /// Throws a [DynamiteApiException] if the API call does not return an expected status code. /// /// Parameters: - /// * [from] the url the user is currently at. Defaults to `''`. + /// * [id] The id of the task. /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. /// /// Status codes: - /// * 200: Providers returned + /// * 200: Task returned + /// * 404: Task not found + /// * 500 /// /// See: - /// * [getProviders] for an operation that returns a [DynamiteResponse] with a stable API. + /// * [getTask] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse getProvidersRaw({ - final String from = '', + DynamiteRawResponse getTaskRaw({ + required final int id, final bool oCSAPIRequest = true, }) { final queryParameters = {}; @@ -3925,19 +3931,15 @@ class UnifiedSearchClient { headers.addAll( authentication.headers, ); - } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); } // coverage:ignore-end - if (from != '') { - queryParameters['from'] = from; - } + final id0 = Uri.encodeQueryComponent(id.toString()); headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/search/providers'; + final path = '/ocs/v2.php/text2image/task/$id0'; final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); - return DynamiteRawResponse( + return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', uri, @@ -3945,55 +3947,41 @@ class UnifiedSearchClient { body, const {200}, ), - bodyType: const FullType(UnifiedSearchGetProvidersResponseApplicationJson), + bodyType: const FullType(TextToImageApiGetTaskResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); } - /// Search. + /// This endpoint allows to delete a scheduled task for a user. /// /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. /// Throws a [DynamiteApiException] if the API call does not return an expected status code. /// /// Parameters: - /// * [term] Term to search. Defaults to `''`. - /// * [sortOrder] Order of entries. - /// * [limit] Maximum amount of entries. - /// * [cursor] Offset for searching. - /// * [from] The current user URL. Defaults to `''`. - /// * [providerId] ID of the provider. + /// * [id] The id of the task. /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. /// /// Status codes: - /// * 200: Search entries returned - /// * 400: Searching is not possible + /// * 200: Task returned + /// * 404: Task not found + /// * 500 /// /// See: - /// * [searchRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> search({ - required final String providerId, - final String term = '', - final int? sortOrder, - final int? limit, - final ContentString? cursor, - final String from = '', + /// * [deleteTaskRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> deleteTask({ + required final int id, final bool oCSAPIRequest = true, }) async { - final rawResponse = searchRaw( - providerId: providerId, - term: term, - sortOrder: sortOrder, - limit: limit, - cursor: cursor, - from: from, + final rawResponse = deleteTaskRaw( + id: id, oCSAPIRequest: oCSAPIRequest, ); return rawResponse.future; } - /// Search. + /// This endpoint allows to delete a scheduled task for a user. /// /// This method and the response it returns is experimental. The API might change without a major version bump. /// @@ -4001,28 +3989,19 @@ class UnifiedSearchClient { /// Throws a [DynamiteApiException] if the API call does not return an expected status code. /// /// Parameters: - /// * [term] Term to search. Defaults to `''`. - /// * [sortOrder] Order of entries. - /// * [limit] Maximum amount of entries. - /// * [cursor] Offset for searching. - /// * [from] The current user URL. Defaults to `''`. - /// * [providerId] ID of the provider. + /// * [id] The id of the task. /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. /// /// Status codes: - /// * 200: Search entries returned - /// * 400: Searching is not possible + /// * 200: Task returned + /// * 404: Task not found + /// * 500 /// /// See: - /// * [search] for an operation that returns a [DynamiteResponse] with a stable API. + /// * [deleteTask] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse searchRaw({ - required final String providerId, - final String term = '', - final int? sortOrder, - final int? limit, - final ContentString? cursor, - final String from = '', + DynamiteRawResponse deleteTaskRaw({ + required final int id, final bool oCSAPIRequest = true, }) { final queryParameters = {}; @@ -4048,72 +4027,57 @@ class UnifiedSearchClient { } // coverage:ignore-end - final providerId0 = 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(UnifiedSearchSearchCursor)]), - ); - } - if (from != '') { - queryParameters['from'] = from; - } + final id0 = Uri.encodeQueryComponent(id.toString()); headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path = '/ocs/v2.php/search/providers/$providerId0/search'; + final path = '/ocs/v2.php/text2image/task/$id0'; final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); - return DynamiteRawResponse( + return DynamiteRawResponse( response: _rootClient.executeRequest( - 'get', + 'delete', uri, headers, body, const {200}, ), - bodyType: const FullType(UnifiedSearchSearchResponseApplicationJson), + bodyType: const FullType(TextToImageApiDeleteTaskResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); } -} - -class WhatsNewClient { - WhatsNewClient(this._rootClient); - final Client _rootClient; - - /// Get the changes. + /// This endpoint allows downloading the resulting image of a task. /// /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. /// Throws a [DynamiteApiException] if the API call does not return an expected status code. /// /// Parameters: + /// * [id] The id of the task. + /// * [index] The index of the image to retrieve. /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. /// /// Status codes: - /// * 200: Changes returned - /// * 204: No changes + /// * 200: Image returned + /// * 404: Task or image not found + /// * 500 /// /// See: - /// * [$getRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> $get({final bool oCSAPIRequest = true}) async { - final rawResponse = $getRaw( + /// * [getImageRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getImage({ + required final int id, + required final int index, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getImageRaw( + id: id, + index: index, oCSAPIRequest: oCSAPIRequest, ); return rawResponse.future; } - /// Get the changes. + /// This endpoint allows downloading the resulting image of a task. /// /// This method and the response it returns is experimental. The API might change without a major version bump. /// @@ -4121,19 +4085,26 @@ class WhatsNewClient { /// Throws a [DynamiteApiException] if the API call does not return an expected status code. /// /// Parameters: + /// * [id] The id of the task. + /// * [index] The index of the image to retrieve. /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. /// /// Status codes: - /// * 200: Changes returned - /// * 204: No changes + /// * 200: Image returned + /// * 404: Task or image not found + /// * 500 /// /// See: - /// * [$get] for an operation that returns a [DynamiteResponse] with a stable API. + /// * [getImage] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse $getRaw({final bool oCSAPIRequest = true}) { + DynamiteRawResponse getImageRaw({ + required final int id, + required final int index, + final bool oCSAPIRequest = true, + }) { final queryParameters = {}; final headers = { - 'Accept': 'application/json', + 'Accept': '*/*', }; Uint8List? body; @@ -4149,16 +4120,16 @@ class WhatsNewClient { headers.addAll( authentication.headers, ); - } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); } // coverage:ignore-end + final id0 = Uri.encodeQueryComponent(id.toString()); + final index0 = Uri.encodeQueryComponent(index.toString()); headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/core/whatsnew'; + final path = '/ocs/v2.php/text2image/task/$id0/image/$index0'; final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); - return DynamiteRawResponse( + return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', uri, @@ -4166,40 +4137,43 @@ class WhatsNewClient { body, const {200}, ), - bodyType: const FullType(WhatsNewGetResponseApplicationJson), + bodyType: const FullType(Uint8List), headersType: null, serializers: _jsonSerializers, ); } - /// Dismiss the changes. + /// This endpoint returns a list of tasks of a user that are related with a specific appId and optionally with an identifier. /// /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. /// Throws a [DynamiteApiException] if the API call does not return an expected status code. /// /// Parameters: - /// * [version] Version to dismiss the changes for. + /// * [identifier] An arbitrary identifier for the task. + /// * [appId] ID of the app. /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. /// /// Status codes: - /// * 200: Changes dismissed + /// * 200: Task list returned /// * 500 /// /// See: - /// * [dismissRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> dismiss({ - required final String version, + /// * [listTasksByAppRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> listTasksByApp({ + required final String appId, + final String? identifier, final bool oCSAPIRequest = true, }) async { - final rawResponse = dismissRaw( - version: version, + final rawResponse = listTasksByAppRaw( + appId: appId, + identifier: identifier, oCSAPIRequest: oCSAPIRequest, ); return rawResponse.future; } - /// Dismiss the changes. + /// This endpoint returns a list of tasks of a user that are related with a specific appId and optionally with an identifier. /// /// This method and the response it returns is experimental. The API might change without a major version bump. /// @@ -4207,18 +4181,20 @@ class WhatsNewClient { /// Throws a [DynamiteApiException] if the API call does not return an expected status code. /// /// Parameters: - /// * [version] Version to dismiss the changes for. + /// * [identifier] An arbitrary identifier for the task. + /// * [appId] ID of the app. /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. /// /// Status codes: - /// * 200: Changes dismissed + /// * 200: Task list returned /// * 500 /// /// See: - /// * [dismiss] for an operation that returns a [DynamiteResponse] with a stable API. + /// * [listTasksByApp] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse dismissRaw({ - required final String version, + DynamiteRawResponse listTasksByAppRaw({ + required final String appId, + final String? identifier, final bool oCSAPIRequest = true, }) { final queryParameters = {}; @@ -4244,54 +4220,58 @@ class WhatsNewClient { } // coverage:ignore-end - queryParameters['version'] = version; + final appId0 = Uri.encodeQueryComponent(appId); + if (identifier != null) { + queryParameters['identifier'] = identifier; + } headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/core/whatsnew'; + final path = '/ocs/v2.php/text2image/tasks/app/$appId0'; final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); - return DynamiteRawResponse( + return DynamiteRawResponse( response: _rootClient.executeRequest( - 'post', + 'get', uri, headers, body, const {200}, ), - bodyType: const FullType(WhatsNewDismissResponseApplicationJson), + bodyType: const FullType(TextToImageApiListTasksByAppResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); } } -class WipeClient { - WipeClient(this._rootClient); +class TranslationApiClient { + TranslationApiClient(this._rootClient); final Client _rootClient; - /// Check if the device should be wiped. + /// Get the list of supported languages. /// /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. /// Throws a [DynamiteApiException] if the API call does not return an expected status code. /// /// Parameters: - /// * [token] App password. + /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. /// /// Status codes: - /// * 200: Device should be wiped - /// * 404: Device should not be wiped + /// * 200: Supported languages returned /// /// See: - /// * [checkWipeRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> checkWipe({required final String token}) async { - final rawResponse = checkWipeRaw( - token: token, + /// * [languagesRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> languages({ + final bool oCSAPIRequest = true, + }) async { + final rawResponse = languagesRaw( + oCSAPIRequest: oCSAPIRequest, ); return rawResponse.future; } - /// Check if the device should be wiped. + /// Get the list of supported languages. /// /// This method and the response it returns is experimental. The API might change without a major version bump. /// @@ -4299,16 +4279,17 @@ class WipeClient { /// Throws a [DynamiteApiException] if the API call does not return an expected status code. /// /// Parameters: - /// * [token] App password. + /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. /// /// Status codes: - /// * 200: Device should be wiped - /// * 404: Device should not be wiped + /// * 200: Supported languages returned /// /// See: - /// * [checkWipe] for an operation that returns a [DynamiteResponse] with a stable API. + /// * [languages] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse checkWipeRaw({required final String token}) { + DynamiteRawResponse languagesRaw({ + final bool oCSAPIRequest = true, + }) { final queryParameters = {}; final headers = { 'Accept': 'application/json', @@ -4330,47 +4311,60 @@ class WipeClient { } // coverage:ignore-end - queryParameters['token'] = token; - const path = '/index.php/core/wipe/check'; + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + const path = '/ocs/v2.php/translation/languages'; final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); - return DynamiteRawResponse( + return DynamiteRawResponse( response: _rootClient.executeRequest( - 'post', + 'get', uri, headers, body, const {200}, ), - bodyType: const FullType(WipeCheckWipeResponseApplicationJson), + bodyType: const FullType(TranslationApiLanguagesResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); } - /// Finish the wipe. + /// Translate a text. /// /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. /// Throws a [DynamiteApiException] if the API call does not return an expected status code. /// /// Parameters: - /// * [token] App password. + /// * [text] Text to be translated. + /// * [fromLanguage] Language to translate from. + /// * [toLanguage] Language to translate to. + /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. /// /// Status codes: - /// * 200: Wipe finished successfully - /// * 404: Device should not be wiped + /// * 200: Translated text returned + /// * 400: Language not detected or unable to translate + /// * 412: Translating is not possible + /// * 500 /// /// See: - /// * [wipeDoneRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> wipeDone({required final String token}) async { - final rawResponse = wipeDoneRaw( - token: token, + /// * [translateRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> translate({ + required final String text, + required final String toLanguage, + final String? fromLanguage, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = translateRaw( + text: text, + toLanguage: toLanguage, + fromLanguage: fromLanguage, + oCSAPIRequest: oCSAPIRequest, ); return rawResponse.future; } - /// Finish the wipe. + /// Translate a text. /// /// This method and the response it returns is experimental. The API might change without a major version bump. /// @@ -4378,16 +4372,26 @@ class WipeClient { /// Throws a [DynamiteApiException] if the API call does not return an expected status code. /// /// Parameters: - /// * [token] App password. + /// * [text] Text to be translated. + /// * [fromLanguage] Language to translate from. + /// * [toLanguage] Language to translate to. + /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. /// /// Status codes: - /// * 200: Wipe finished successfully - /// * 404: Device should not be wiped + /// * 200: Translated text returned + /// * 400: Language not detected or unable to translate + /// * 412: Translating is not possible + /// * 500 /// /// See: - /// * [wipeDone] for an operation that returns a [DynamiteResponse] with a stable API. + /// * [translate] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse wipeDoneRaw({required final String token}) { + DynamiteRawResponse translateRaw({ + required final String text, + required final String toLanguage, + final String? fromLanguage, + final bool oCSAPIRequest = true, + }) { final queryParameters = {}; final headers = { 'Accept': 'application/json', @@ -4409,102 +4413,1200 @@ class WipeClient { } // coverage:ignore-end - queryParameters['token'] = token; - const path = '/index.php/core/wipe/success'; + queryParameters['text'] = text; + queryParameters['toLanguage'] = toLanguage; + if (fromLanguage != null) { + queryParameters['fromLanguage'] = fromLanguage; + } + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + const path = '/ocs/v2.php/translation/translate'; final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); - return DynamiteRawResponse( + return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', uri, headers, body, - const {200, 404}, + const {200}, ), - bodyType: const FullType(JsonObject), + bodyType: const FullType(TranslationApiTranslateResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); } } -@BuiltValue(instantiable: false) -abstract interface class StatusInterface { - bool get installed; - bool get maintenance; - bool get needsDbUpgrade; - String get version; - String get versionstring; - String get edition; - String get productname; - bool get extendedSupport; -} - -abstract class Status implements StatusInterface, Built { - factory Status([final void Function(StatusBuilder)? b]) = _$Status; - - // coverage:ignore-start - const Status._(); - // coverage:ignore-end +class UnifiedSearchClient { + UnifiedSearchClient(this._rootClient); - // coverage:ignore-start - factory Status.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; - // coverage:ignore-end + final Client _rootClient; - // coverage:ignore-start - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - // coverage:ignore-end + /// Get the providers for unified search. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [from] the url the user is currently at. Defaults to `''`. + /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. + /// + /// Status codes: + /// * 200: Providers returned + /// + /// See: + /// * [getProvidersRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getProviders({ + final String from = '', + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getProvidersRaw( + from: from, + oCSAPIRequest: oCSAPIRequest, + ); - static Serializer get serializer => _$statusSerializer; -} + return rawResponse.future; + } -@BuiltValue(instantiable: false) -abstract interface class OCSMetaInterface { - String get status; - int get statuscode; - String? get message; - String? get totalitems; - String? get itemsperpage; -} + /// Get the providers for unified search. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [from] the url the user is currently at. Defaults to `''`. + /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. + /// + /// Status codes: + /// * 200: Providers returned + /// + /// See: + /// * [getProviders] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getProvidersRaw({ + final String from = '', + final bool oCSAPIRequest = true, + }) { + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; -abstract class OCSMeta implements OCSMetaInterface, Built { - factory OCSMeta([final void Function(OCSMetaBuilder)? b]) = _$OCSMeta; +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); - // coverage:ignore-start - const OCSMeta._(); - // coverage:ignore-end + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } - // coverage:ignore-start - factory OCSMeta.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; - // coverage:ignore-end +// coverage:ignore-end + if (from != '') { + queryParameters['from'] = from; + } + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + const path = '/ocs/v2.php/search/providers'; + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); - // coverage:ignore-start - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - // coverage:ignore-end + return DynamiteRawResponse( + response: _rootClient.executeRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(UnifiedSearchGetProvidersResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Search. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [term] Term to search. Defaults to `''`. + /// * [sortOrder] Order of entries. + /// * [limit] Maximum amount of entries. + /// * [cursor] Offset for searching. + /// * [from] The current user URL. Defaults to `''`. + /// * [providerId] ID of the provider. + /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. + /// + /// Status codes: + /// * 200: Search entries returned + /// * 400: Searching is not possible + /// + /// See: + /// * [searchRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> search({ + required final String providerId, + final String term = '', + final int? sortOrder, + final int? limit, + final ContentString? cursor, + final String from = '', + final bool oCSAPIRequest = true, + }) async { + final rawResponse = searchRaw( + providerId: providerId, + term: term, + sortOrder: sortOrder, + limit: limit, + cursor: cursor, + from: from, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Search. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [term] Term to search. Defaults to `''`. + /// * [sortOrder] Order of entries. + /// * [limit] Maximum amount of entries. + /// * [cursor] Offset for searching. + /// * [from] The current user URL. Defaults to `''`. + /// * [providerId] ID of the provider. + /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. + /// + /// Status codes: + /// * 200: Search entries returned + /// * 400: Searching is not possible + /// + /// See: + /// * [search] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse searchRaw({ + required final String providerId, + final String term = '', + final int? sortOrder, + final int? limit, + final ContentString? cursor, + final String from = '', + final bool oCSAPIRequest = true, + }) { + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + final providerId0 = 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(UnifiedSearchSearchCursor)]), + ); + } + if (from != '') { + queryParameters['from'] = from; + } + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final path = '/ocs/v2.php/search/providers/$providerId0/search'; + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + + return DynamiteRawResponse( + response: _rootClient.executeRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(UnifiedSearchSearchResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class WhatsNewClient { + WhatsNewClient(this._rootClient); + + final Client _rootClient; + + /// Get the changes. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. + /// + /// Status codes: + /// * 200: Changes returned + /// * 204: No changes + /// + /// See: + /// * [$getRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> $get({final bool oCSAPIRequest = true}) async { + final rawResponse = $getRaw( + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get the changes. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. + /// + /// Status codes: + /// * 200: Changes returned + /// * 204: No changes + /// + /// See: + /// * [$get] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse $getRaw({final bool oCSAPIRequest = true}) { + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + const path = '/ocs/v2.php/core/whatsnew'; + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + + return DynamiteRawResponse( + response: _rootClient.executeRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(WhatsNewGetResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Dismiss the changes. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [version] Version to dismiss the changes for. + /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. + /// + /// Status codes: + /// * 200: Changes dismissed + /// * 500 + /// + /// See: + /// * [dismissRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> dismiss({ + required final String version, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = dismissRaw( + version: version, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Dismiss the changes. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [version] Version to dismiss the changes for. + /// * [oCSAPIRequest] Required to be true for the API request to pass. Defaults to `true`. + /// + /// Status codes: + /// * 200: Changes dismissed + /// * 500 + /// + /// See: + /// * [dismiss] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse dismissRaw({ + required final String version, + final bool oCSAPIRequest = true, + }) { + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['version'] = version; + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + const path = '/ocs/v2.php/core/whatsnew'; + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + + return DynamiteRawResponse( + response: _rootClient.executeRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(WhatsNewDismissResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class WipeClient { + WipeClient(this._rootClient); + + final Client _rootClient; + + /// Check if the device should be wiped. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [token] App password. + /// + /// Status codes: + /// * 200: Device should be wiped + /// * 404: Device should not be wiped + /// + /// See: + /// * [checkWipeRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> checkWipe({required final String token}) async { + final rawResponse = checkWipeRaw( + token: token, + ); + + return rawResponse.future; + } + + /// Check if the device should be wiped. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [token] App password. + /// + /// Status codes: + /// * 200: Device should be wiped + /// * 404: Device should not be wiped + /// + /// See: + /// * [checkWipe] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse checkWipeRaw({required final String token}) { + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['token'] = token; + const path = '/index.php/core/wipe/check'; + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + + return DynamiteRawResponse( + response: _rootClient.executeRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(WipeCheckWipeResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Finish the wipe. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [token] App password. + /// + /// Status codes: + /// * 200: Wipe finished successfully + /// * 404: Device should not be wiped + /// + /// See: + /// * [wipeDoneRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> wipeDone({required final String token}) async { + final rawResponse = wipeDoneRaw( + token: token, + ); + + return rawResponse.future; + } + + /// Finish the wipe. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [token] App password. + /// + /// Status codes: + /// * 200: Wipe finished successfully + /// * 404: Device should not be wiped + /// + /// See: + /// * [wipeDone] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse wipeDoneRaw({required final String token}) { + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['token'] = token; + const path = '/index.php/core/wipe/success'; + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + + return DynamiteRawResponse( + response: _rootClient.executeRequest( + 'post', + uri, + headers, + body, + const {200, 404}, + ), + bodyType: const FullType(JsonObject), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +@BuiltValue(instantiable: false) +abstract interface class StatusInterface { + bool get installed; + bool get maintenance; + bool get needsDbUpgrade; + String get version; + String get versionstring; + String get edition; + String get productname; + bool get extendedSupport; +} + +abstract class Status implements StatusInterface, Built { + factory Status([final void Function(StatusBuilder)? b]) = _$Status; + + // coverage:ignore-start + const Status._(); + // coverage:ignore-end + + // coverage:ignore-start + factory Status.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$statusSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class OCSMetaInterface { + String get status; + int get statuscode; + String? get message; + String? get totalitems; + String? get itemsperpage; +} + +abstract class OCSMeta implements OCSMetaInterface, Built { + factory OCSMeta([final void Function(OCSMetaBuilder)? b]) = _$OCSMeta; + + // coverage:ignore-start + const OCSMeta._(); + // coverage:ignore-end + + // coverage:ignore-start + factory OCSMeta.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$oCSMetaSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterface { + String get apppassword; +} + +abstract class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data + implements + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterface, + Built { + factory AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data([ + final void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data; + + // coverage:ignore-start + const AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$appPasswordGetAppPasswordResponseApplicationJsonOcsDataSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AppPasswordGetAppPasswordResponseApplicationJson_OcsInterface { + OCSMeta get meta; + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data get data; +} + +abstract class AppPasswordGetAppPasswordResponseApplicationJson_Ocs + implements + AppPasswordGetAppPasswordResponseApplicationJson_OcsInterface, + Built { + factory AppPasswordGetAppPasswordResponseApplicationJson_Ocs([ + final void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder)? b, + ]) = _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs; + + // coverage:ignore-start + const AppPasswordGetAppPasswordResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AppPasswordGetAppPasswordResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$appPasswordGetAppPasswordResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AppPasswordGetAppPasswordResponseApplicationJsonInterface { + AppPasswordGetAppPasswordResponseApplicationJson_Ocs get ocs; +} + +abstract class AppPasswordGetAppPasswordResponseApplicationJson + implements + AppPasswordGetAppPasswordResponseApplicationJsonInterface, + Built { + factory AppPasswordGetAppPasswordResponseApplicationJson([ + final void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder)? b, + ]) = _$AppPasswordGetAppPasswordResponseApplicationJson; + + // coverage:ignore-start + const AppPasswordGetAppPasswordResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AppPasswordGetAppPasswordResponseApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$appPasswordGetAppPasswordResponseApplicationJsonSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterface { + String get apppassword; +} + +abstract class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data + implements + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterface, + Built { + factory AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data([ + final void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data; + + // coverage:ignore-start + const AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$appPasswordRotateAppPasswordResponseApplicationJsonOcsDataSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterface { + OCSMeta get meta; + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data get data; +} + +abstract class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs + implements + AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterface, + Built { + factory AppPasswordRotateAppPasswordResponseApplicationJson_Ocs([ + final void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder)? b, + ]) = _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs; + + // coverage:ignore-start + const AppPasswordRotateAppPasswordResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AppPasswordRotateAppPasswordResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$appPasswordRotateAppPasswordResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AppPasswordRotateAppPasswordResponseApplicationJsonInterface { + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs get ocs; +} + +abstract class AppPasswordRotateAppPasswordResponseApplicationJson + implements + AppPasswordRotateAppPasswordResponseApplicationJsonInterface, + Built { + factory AppPasswordRotateAppPasswordResponseApplicationJson([ + final void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder)? b, + ]) = _$AppPasswordRotateAppPasswordResponseApplicationJson; + + // coverage:ignore-start + const AppPasswordRotateAppPasswordResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AppPasswordRotateAppPasswordResponseApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$appPasswordRotateAppPasswordResponseApplicationJsonSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs + implements + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterface, + Built { + factory AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs([ + final void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder)? b, + ]) = _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs; + + // coverage:ignore-start + const AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$appPasswordDeleteAppPasswordResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AppPasswordDeleteAppPasswordResponseApplicationJsonInterface { + AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs get ocs; +} + +abstract class AppPasswordDeleteAppPasswordResponseApplicationJson + implements + AppPasswordDeleteAppPasswordResponseApplicationJsonInterface, + Built { + factory AppPasswordDeleteAppPasswordResponseApplicationJson([ + final void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder)? b, + ]) = _$AppPasswordDeleteAppPasswordResponseApplicationJson; + + // coverage:ignore-start + const AppPasswordDeleteAppPasswordResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AppPasswordDeleteAppPasswordResponseApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$appPasswordDeleteAppPasswordResponseApplicationJsonSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AutocompleteResult_Status0Interface { + String get status; + String? get message; + String? get icon; + int? get clearAt; +} + +abstract class AutocompleteResult_Status0 + implements + AutocompleteResult_Status0Interface, + Built { + factory AutocompleteResult_Status0([final void Function(AutocompleteResult_Status0Builder)? b]) = + _$AutocompleteResult_Status0; + + // coverage:ignore-start + const AutocompleteResult_Status0._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AutocompleteResult_Status0.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$autocompleteResultStatus0Serializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AutocompleteResult_StatusInterface { + AutocompleteResult_Status0? get autocompleteResultStatus0; + String? get string; +} + +abstract class AutocompleteResult_Status + implements AutocompleteResult_StatusInterface, Built { + factory AutocompleteResult_Status([final void Function(AutocompleteResult_StatusBuilder)? b]) = + _$AutocompleteResult_Status; + + // coverage:ignore-start + const AutocompleteResult_Status._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AutocompleteResult_Status.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$AutocompleteResult_StatusSerializer(); + + JsonObject get data; + @BuiltValueHook(finalizeBuilder: true) + static void _validate(final AutocompleteResult_StatusBuilder b) { + // When this is rebuild from another builder + if (b._data == null) { + return; + } + + final match = [b._autocompleteResultStatus0, b._string].singleWhereOrNull((final x) => x != null); + if (match == null) { + throw StateError("Need exactly one of 'autocompleteResultStatus0', 'string' for ${b._data}"); + } + } +} + +class _$AutocompleteResult_StatusSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [AutocompleteResult_Status, _$AutocompleteResult_Status]; + + @override + final String wireName = 'AutocompleteResult_Status'; + + @override + Object serialize( + final Serializers serializers, + final AutocompleteResult_Status object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + AutocompleteResult_Status deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = AutocompleteResult_StatusBuilder()..data = JsonObject(data); + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(AutocompleteResult_Status0))! + as AutocompleteResult_Status0; + result.autocompleteResultStatus0.replace(value); + } catch (_) {} + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(String))! as String; + result.string = value; + } catch (_) {} + return result.build(); + } +} + +@BuiltValue(instantiable: false) +abstract interface class AutocompleteResultInterface { + String get id; + String get label; + String get icon; + String get source; + AutocompleteResult_Status get status; + String get subline; + String get shareWithDisplayNameUnique; +} + +abstract class AutocompleteResult + implements AutocompleteResultInterface, Built { + factory AutocompleteResult([final void Function(AutocompleteResultBuilder)? b]) = _$AutocompleteResult; + + // coverage:ignore-start + const AutocompleteResult._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AutocompleteResult.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$autocompleteResultSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AutoCompleteGetResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class AutoCompleteGetResponseApplicationJson_Ocs + implements + AutoCompleteGetResponseApplicationJson_OcsInterface, + Built { + factory AutoCompleteGetResponseApplicationJson_Ocs([ + final void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder)? b, + ]) = _$AutoCompleteGetResponseApplicationJson_Ocs; + + // coverage:ignore-start + const AutoCompleteGetResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AutoCompleteGetResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$autoCompleteGetResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AutoCompleteGetResponseApplicationJsonInterface { + AutoCompleteGetResponseApplicationJson_Ocs get ocs; +} + +abstract class AutoCompleteGetResponseApplicationJson + implements + AutoCompleteGetResponseApplicationJsonInterface, + Built { + factory AutoCompleteGetResponseApplicationJson([ + final void Function(AutoCompleteGetResponseApplicationJsonBuilder)? b, + ]) = _$AutoCompleteGetResponseApplicationJson; + + // coverage:ignore-start + const AutoCompleteGetResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AutoCompleteGetResponseApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$autoCompleteGetResponseApplicationJsonSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AvatarAvatarGetAvatarDarkHeadersInterface { + @BuiltValueField(wireName: 'x-nc-iscustomavatar') + int? get xNcIscustomavatar; +} + +abstract class AvatarAvatarGetAvatarDarkHeaders + implements + AvatarAvatarGetAvatarDarkHeadersInterface, + Built { + factory AvatarAvatarGetAvatarDarkHeaders([final void Function(AvatarAvatarGetAvatarDarkHeadersBuilder)? b]) = + _$AvatarAvatarGetAvatarDarkHeaders; + + // coverage:ignore-start + const AvatarAvatarGetAvatarDarkHeaders._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AvatarAvatarGetAvatarDarkHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$AvatarAvatarGetAvatarDarkHeadersSerializer(); +} + +class _$AvatarAvatarGetAvatarDarkHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [AvatarAvatarGetAvatarDarkHeaders, _$AvatarAvatarGetAvatarDarkHeaders]; + + @override + final String wireName = 'AvatarAvatarGetAvatarDarkHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final AvatarAvatarGetAvatarDarkHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + AvatarAvatarGetAvatarDarkHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = AvatarAvatarGetAvatarDarkHeadersBuilder(); + + 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 = + _jsonSerializers.deserialize(json.decode(value), specifiedType: const FullType(int))! as int; + } + } - static Serializer get serializer => _$oCSMetaSerializer; + return result.build(); + } } @BuiltValue(instantiable: false) -abstract interface class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterface { - String get apppassword; +abstract interface class AvatarAvatarGetAvatarHeadersInterface { + @BuiltValueField(wireName: 'x-nc-iscustomavatar') + int? get xNcIscustomavatar; } -abstract class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data +abstract class AvatarAvatarGetAvatarHeaders implements - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterface, - Built { - factory AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data([ - final void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data; + AvatarAvatarGetAvatarHeadersInterface, + Built { + factory AvatarAvatarGetAvatarHeaders([final void Function(AvatarAvatarGetAvatarHeadersBuilder)? b]) = + _$AvatarAvatarGetAvatarHeaders; // coverage:ignore-start - const AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data._(); + const AvatarAvatarGetAvatarHeaders._(); // coverage:ignore-end // coverage:ignore-start - factory AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory AvatarAvatarGetAvatarHeaders.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -4512,31 +5614,67 @@ abstract class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$appPasswordGetAppPasswordResponseApplicationJsonOcsDataSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$AvatarAvatarGetAvatarHeadersSerializer(); +} + +class _$AvatarAvatarGetAvatarHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [AvatarAvatarGetAvatarHeaders, _$AvatarAvatarGetAvatarHeaders]; + + @override + final String wireName = 'AvatarAvatarGetAvatarHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final AvatarAvatarGetAvatarHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + AvatarAvatarGetAvatarHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = AvatarAvatarGetAvatarHeadersBuilder(); + + 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 = + _jsonSerializers.deserialize(json.decode(value), specifiedType: const FullType(int))! as int; + } + } + + return result.build(); + } } @BuiltValue(instantiable: false) -abstract interface class AppPasswordGetAppPasswordResponseApplicationJson_OcsInterface { - OCSMeta get meta; - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data get data; +abstract interface class LoginFlowV2CredentialsInterface { + String get server; + String get loginName; + String get appPassword; } -abstract class AppPasswordGetAppPasswordResponseApplicationJson_Ocs - implements - AppPasswordGetAppPasswordResponseApplicationJson_OcsInterface, - Built { - factory AppPasswordGetAppPasswordResponseApplicationJson_Ocs([ - final void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder)? b, - ]) = _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs; +abstract class LoginFlowV2Credentials + implements LoginFlowV2CredentialsInterface, Built { + factory LoginFlowV2Credentials([final void Function(LoginFlowV2CredentialsBuilder)? b]) = _$LoginFlowV2Credentials; // coverage:ignore-start - const AppPasswordGetAppPasswordResponseApplicationJson_Ocs._(); + const LoginFlowV2Credentials._(); // coverage:ignore-end // coverage:ignore-start - factory AppPasswordGetAppPasswordResponseApplicationJson_Ocs.fromJson(final Map json) => + factory LoginFlowV2Credentials.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -4544,30 +5682,24 @@ abstract class AppPasswordGetAppPasswordResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$appPasswordGetAppPasswordResponseApplicationJsonOcsSerializer; + static Serializer get serializer => _$loginFlowV2CredentialsSerializer; } @BuiltValue(instantiable: false) -abstract interface class AppPasswordGetAppPasswordResponseApplicationJsonInterface { - AppPasswordGetAppPasswordResponseApplicationJson_Ocs get ocs; +abstract interface class LoginFlowV2_PollInterface { + String get token; + String get endpoint; } -abstract class AppPasswordGetAppPasswordResponseApplicationJson - implements - AppPasswordGetAppPasswordResponseApplicationJsonInterface, - Built { - factory AppPasswordGetAppPasswordResponseApplicationJson([ - final void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder)? b, - ]) = _$AppPasswordGetAppPasswordResponseApplicationJson; +abstract class LoginFlowV2_Poll implements LoginFlowV2_PollInterface, Built { + factory LoginFlowV2_Poll([final void Function(LoginFlowV2_PollBuilder)? b]) = _$LoginFlowV2_Poll; // coverage:ignore-start - const AppPasswordGetAppPasswordResponseApplicationJson._(); + const LoginFlowV2_Poll._(); // coverage:ignore-end // coverage:ignore-start - factory AppPasswordGetAppPasswordResponseApplicationJson.fromJson(final Map json) => + factory LoginFlowV2_Poll.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -4575,62 +5707,51 @@ abstract class AppPasswordGetAppPasswordResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$appPasswordGetAppPasswordResponseApplicationJsonSerializer; + static Serializer get serializer => _$loginFlowV2PollSerializer; } @BuiltValue(instantiable: false) -abstract interface class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterface { - String get apppassword; +abstract interface class LoginFlowV2Interface { + LoginFlowV2_Poll get poll; + String get login; } -abstract class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data - implements - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterface, - Built { - factory AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data([ - final void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data; +abstract class LoginFlowV2 implements LoginFlowV2Interface, Built { + factory LoginFlowV2([final void Function(LoginFlowV2Builder)? b]) = _$LoginFlowV2; // coverage:ignore-start - const AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data._(); + const LoginFlowV2._(); // coverage:ignore-end // coverage:ignore-start - factory AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + factory LoginFlowV2.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$appPasswordRotateAppPasswordResponseApplicationJsonOcsDataSerializer; + static Serializer get serializer => _$loginFlowV2Serializer; } @BuiltValue(instantiable: false) -abstract interface class AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterface { - OCSMeta get meta; - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data get data; +abstract interface class OpenGraphObjectInterface { + String get id; + String get name; + String? get description; + String? get thumb; + String get link; } -abstract class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs - implements - AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterface, - Built { - factory AppPasswordRotateAppPasswordResponseApplicationJson_Ocs([ - final void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder)? b, - ]) = _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs; +abstract class OpenGraphObject implements OpenGraphObjectInterface, Built { + factory OpenGraphObject([final void Function(OpenGraphObjectBuilder)? b]) = _$OpenGraphObject; // coverage:ignore-start - const AppPasswordRotateAppPasswordResponseApplicationJson_Ocs._(); + const OpenGraphObject._(); // coverage:ignore-end // coverage:ignore-start - factory AppPasswordRotateAppPasswordResponseApplicationJson_Ocs.fromJson(final Map json) => + factory OpenGraphObject.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -4638,62 +5759,83 @@ abstract class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$appPasswordRotateAppPasswordResponseApplicationJsonOcsSerializer; + static Serializer get serializer => _$openGraphObjectSerializer; } @BuiltValue(instantiable: false) -abstract interface class AppPasswordRotateAppPasswordResponseApplicationJsonInterface { - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs get ocs; +abstract interface class ResourceInterface { + String get richObjectType; + BuiltMap get richObject; + OpenGraphObject get openGraphObject; + bool get accessible; } -abstract class AppPasswordRotateAppPasswordResponseApplicationJson - implements - AppPasswordRotateAppPasswordResponseApplicationJsonInterface, - Built { - factory AppPasswordRotateAppPasswordResponseApplicationJson([ - final void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder)? b, - ]) = _$AppPasswordRotateAppPasswordResponseApplicationJson; +abstract class Resource implements ResourceInterface, Built { + factory Resource([final void Function(ResourceBuilder)? b]) = _$Resource; // coverage:ignore-start - const AppPasswordRotateAppPasswordResponseApplicationJson._(); + const Resource._(); // coverage:ignore-end // coverage:ignore-start - factory AppPasswordRotateAppPasswordResponseApplicationJson.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + factory Resource.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$appPasswordRotateAppPasswordResponseApplicationJsonSerializer; + static Serializer get serializer => _$resourceSerializer; } @BuiltValue(instantiable: false) -abstract interface class AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterface { +abstract interface class CollectionInterface { + int get id; + String get name; + BuiltList get resources; +} + +abstract class Collection implements CollectionInterface, Built { + factory Collection([final void Function(CollectionBuilder)? b]) = _$Collection; + + // coverage:ignore-start + const Collection._(); + // coverage:ignore-end + + // coverage:ignore-start + factory Collection.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$collectionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterface { OCSMeta get meta; - JsonObject get data; + BuiltList get data; } -abstract class AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs +abstract class CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs implements - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterface, - Built { - factory AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs([ - final void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder)? b, - ]) = _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs; + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterface, + Built { + factory CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs([ + final void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder)? b, + ]) = _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs; // coverage:ignore-start - const AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs._(); + const CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs.fromJson(final Map json) => + factory CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -4701,30 +5843,30 @@ abstract class AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$appPasswordDeleteAppPasswordResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$collaborationResourcesSearchCollectionsResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class AppPasswordDeleteAppPasswordResponseApplicationJsonInterface { - AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs get ocs; +abstract interface class CollaborationResourcesSearchCollectionsResponseApplicationJsonInterface { + CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs get ocs; } -abstract class AppPasswordDeleteAppPasswordResponseApplicationJson +abstract class CollaborationResourcesSearchCollectionsResponseApplicationJson implements - AppPasswordDeleteAppPasswordResponseApplicationJsonInterface, - Built { - factory AppPasswordDeleteAppPasswordResponseApplicationJson([ - final void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder)? b, - ]) = _$AppPasswordDeleteAppPasswordResponseApplicationJson; + CollaborationResourcesSearchCollectionsResponseApplicationJsonInterface, + Built { + factory CollaborationResourcesSearchCollectionsResponseApplicationJson([ + final void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder)? b, + ]) = _$CollaborationResourcesSearchCollectionsResponseApplicationJson; // coverage:ignore-start - const AppPasswordDeleteAppPasswordResponseApplicationJson._(); + const CollaborationResourcesSearchCollectionsResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory AppPasswordDeleteAppPasswordResponseApplicationJson.fromJson(final Map json) => + factory CollaborationResourcesSearchCollectionsResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -4732,31 +5874,31 @@ abstract class AppPasswordDeleteAppPasswordResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$appPasswordDeleteAppPasswordResponseApplicationJsonSerializer; + static Serializer get serializer => + _$collaborationResourcesSearchCollectionsResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class AutocompleteResult_Status0Interface { - String get status; - String? get message; - String? get icon; - int? get clearAt; +abstract interface class CollaborationResourcesListCollectionResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Collection get data; } -abstract class AutocompleteResult_Status0 +abstract class CollaborationResourcesListCollectionResponseApplicationJson_Ocs implements - AutocompleteResult_Status0Interface, - Built { - factory AutocompleteResult_Status0([final void Function(AutocompleteResult_Status0Builder)? b]) = - _$AutocompleteResult_Status0; + CollaborationResourcesListCollectionResponseApplicationJson_OcsInterface, + Built { + factory CollaborationResourcesListCollectionResponseApplicationJson_Ocs([ + final void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder)? b, + ]) = _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs; // coverage:ignore-start - const AutocompleteResult_Status0._(); + const CollaborationResourcesListCollectionResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory AutocompleteResult_Status0.fromJson(final Map json) => + factory CollaborationResourcesListCollectionResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -4764,26 +5906,30 @@ abstract class AutocompleteResult_Status0 Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$autocompleteResultStatus0Serializer; + static Serializer get serializer => + _$collaborationResourcesListCollectionResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class AutocompleteResult_StatusInterface { - AutocompleteResult_Status0? get autocompleteResultStatus0; - String? get string; +abstract interface class CollaborationResourcesListCollectionResponseApplicationJsonInterface { + CollaborationResourcesListCollectionResponseApplicationJson_Ocs get ocs; } -abstract class AutocompleteResult_Status - implements AutocompleteResult_StatusInterface, Built { - factory AutocompleteResult_Status([final void Function(AutocompleteResult_StatusBuilder)? b]) = - _$AutocompleteResult_Status; +abstract class CollaborationResourcesListCollectionResponseApplicationJson + implements + CollaborationResourcesListCollectionResponseApplicationJsonInterface, + Built { + factory CollaborationResourcesListCollectionResponseApplicationJson([ + final void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder)? b, + ]) = _$CollaborationResourcesListCollectionResponseApplicationJson; // coverage:ignore-start - const AutocompleteResult_Status._(); + const CollaborationResourcesListCollectionResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory AutocompleteResult_Status.fromJson(final Map json) => + factory CollaborationResourcesListCollectionResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -4791,80 +5937,31 @@ abstract class AutocompleteResult_Status Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - @BuiltValueSerializer(custom: true) - static Serializer get serializer => _$AutocompleteResult_StatusSerializer(); - - JsonObject get data; - @BuiltValueHook(finalizeBuilder: true) - static void _validate(final AutocompleteResult_StatusBuilder b) { - // When this is rebuild from another builder - if (b._data == null) { - return; - } - - final match = [b._autocompleteResultStatus0, b._string].singleWhereOrNull((final x) => x != null); - if (match == null) { - throw StateError("Need exactly one of 'autocompleteResultStatus0', 'string' for ${b._data}"); - } - } -} - -class _$AutocompleteResult_StatusSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [AutocompleteResult_Status, _$AutocompleteResult_Status]; - - @override - final String wireName = 'AutocompleteResult_Status'; - - @override - Object serialize( - final Serializers serializers, - final AutocompleteResult_Status object, { - final FullType specifiedType = FullType.unspecified, - }) => - object.data.value; - - @override - AutocompleteResult_Status deserialize( - final Serializers serializers, - final Object data, { - final FullType specifiedType = FullType.unspecified, - }) { - final result = AutocompleteResult_StatusBuilder()..data = JsonObject(data); - try { - final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(AutocompleteResult_Status0))! - as AutocompleteResult_Status0; - result.autocompleteResultStatus0.replace(value); - } catch (_) {} - try { - final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(String))! as String; - result.string = value; - } catch (_) {} - return result.build(); - } + static Serializer get serializer => + _$collaborationResourcesListCollectionResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class AutocompleteResultInterface { - String get id; - String get label; - String get icon; - String get source; - AutocompleteResult_Status get status; - String get subline; - String get shareWithDisplayNameUnique; +abstract interface class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Collection get data; } -abstract class AutocompleteResult - implements AutocompleteResultInterface, Built { - factory AutocompleteResult([final void Function(AutocompleteResultBuilder)? b]) = _$AutocompleteResult; +abstract class CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs + implements + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterface, + Built { + factory CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs([ + final void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder)? b, + ]) = _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs; // coverage:ignore-start - const AutocompleteResult._(); + const CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory AutocompleteResult.fromJson(final Map json) => + factory CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -4872,29 +5969,30 @@ abstract class AutocompleteResult Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$autocompleteResultSerializer; + static Serializer get serializer => + _$collaborationResourcesRenameCollectionResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class AutoCompleteGetResponseApplicationJson_OcsInterface { - OCSMeta get meta; - BuiltList get data; +abstract interface class CollaborationResourcesRenameCollectionResponseApplicationJsonInterface { + CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs get ocs; } -abstract class AutoCompleteGetResponseApplicationJson_Ocs +abstract class CollaborationResourcesRenameCollectionResponseApplicationJson implements - AutoCompleteGetResponseApplicationJson_OcsInterface, - Built { - factory AutoCompleteGetResponseApplicationJson_Ocs([ - final void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder)? b, - ]) = _$AutoCompleteGetResponseApplicationJson_Ocs; + CollaborationResourcesRenameCollectionResponseApplicationJsonInterface, + Built { + factory CollaborationResourcesRenameCollectionResponseApplicationJson([ + final void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder)? b, + ]) = _$CollaborationResourcesRenameCollectionResponseApplicationJson; // coverage:ignore-start - const AutoCompleteGetResponseApplicationJson_Ocs._(); + const CollaborationResourcesRenameCollectionResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory AutoCompleteGetResponseApplicationJson_Ocs.fromJson(final Map json) => + factory CollaborationResourcesRenameCollectionResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -4902,29 +6000,31 @@ abstract class AutoCompleteGetResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$autoCompleteGetResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$collaborationResourcesRenameCollectionResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class AutoCompleteGetResponseApplicationJsonInterface { - AutoCompleteGetResponseApplicationJson_Ocs get ocs; +abstract interface class CollaborationResourcesAddResourceResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Collection get data; } -abstract class AutoCompleteGetResponseApplicationJson +abstract class CollaborationResourcesAddResourceResponseApplicationJson_Ocs implements - AutoCompleteGetResponseApplicationJsonInterface, - Built { - factory AutoCompleteGetResponseApplicationJson([ - final void Function(AutoCompleteGetResponseApplicationJsonBuilder)? b, - ]) = _$AutoCompleteGetResponseApplicationJson; + CollaborationResourcesAddResourceResponseApplicationJson_OcsInterface, + Built { + factory CollaborationResourcesAddResourceResponseApplicationJson_Ocs([ + final void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder)? b, + ]) = _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs; // coverage:ignore-start - const AutoCompleteGetResponseApplicationJson._(); + const CollaborationResourcesAddResourceResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory AutoCompleteGetResponseApplicationJson.fromJson(final Map json) => + factory CollaborationResourcesAddResourceResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -4932,99 +6032,62 @@ abstract class AutoCompleteGetResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$autoCompleteGetResponseApplicationJsonSerializer; + static Serializer get serializer => + _$collaborationResourcesAddResourceResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class AvatarAvatarGetAvatarDarkHeadersInterface { - @BuiltValueField(wireName: 'x-nc-iscustomavatar') - int? get xNcIscustomavatar; +abstract interface class CollaborationResourcesAddResourceResponseApplicationJsonInterface { + CollaborationResourcesAddResourceResponseApplicationJson_Ocs get ocs; } -abstract class AvatarAvatarGetAvatarDarkHeaders +abstract class CollaborationResourcesAddResourceResponseApplicationJson implements - AvatarAvatarGetAvatarDarkHeadersInterface, - Built { - factory AvatarAvatarGetAvatarDarkHeaders([final void Function(AvatarAvatarGetAvatarDarkHeadersBuilder)? b]) = - _$AvatarAvatarGetAvatarDarkHeaders; + CollaborationResourcesAddResourceResponseApplicationJsonInterface, + Built { + factory CollaborationResourcesAddResourceResponseApplicationJson([ + final void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder)? b, + ]) = _$CollaborationResourcesAddResourceResponseApplicationJson; // coverage:ignore-start - const AvatarAvatarGetAvatarDarkHeaders._(); + const CollaborationResourcesAddResourceResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory AvatarAvatarGetAvatarDarkHeaders.fromJson(final Map json) => + factory CollaborationResourcesAddResourceResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - // coverage:ignore-end - - @BuiltValueSerializer(custom: true) - static Serializer get serializer => _$AvatarAvatarGetAvatarDarkHeadersSerializer(); -} - -class _$AvatarAvatarGetAvatarDarkHeadersSerializer implements StructuredSerializer { - @override - final Iterable types = const [AvatarAvatarGetAvatarDarkHeaders, _$AvatarAvatarGetAvatarDarkHeaders]; - - @override - final String wireName = 'AvatarAvatarGetAvatarDarkHeaders'; - - @override - Iterable serialize( - final Serializers serializers, - final AvatarAvatarGetAvatarDarkHeaders object, { - final FullType specifiedType = FullType.unspecified, - }) { - throw UnimplementedError(); - } - - @override - AvatarAvatarGetAvatarDarkHeaders deserialize( - final Serializers serializers, - final Iterable serialized, { - final FullType specifiedType = FullType.unspecified, - }) { - final result = AvatarAvatarGetAvatarDarkHeadersBuilder(); - - 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 = - _jsonSerializers.deserialize(json.decode(value), specifiedType: const FullType(int))! as int; - } - } + // coverage:ignore-end - return result.build(); - } + static Serializer get serializer => + _$collaborationResourcesAddResourceResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class AvatarAvatarGetAvatarHeadersInterface { - @BuiltValueField(wireName: 'x-nc-iscustomavatar') - int? get xNcIscustomavatar; +abstract interface class CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Collection get data; } -abstract class AvatarAvatarGetAvatarHeaders +abstract class CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs implements - AvatarAvatarGetAvatarHeadersInterface, - Built { - factory AvatarAvatarGetAvatarHeaders([final void Function(AvatarAvatarGetAvatarHeadersBuilder)? b]) = - _$AvatarAvatarGetAvatarHeaders; + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterface, + Built { + factory CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs([ + final void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder)? b, + ]) = _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs; // coverage:ignore-start - const AvatarAvatarGetAvatarHeaders._(); + const CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory AvatarAvatarGetAvatarHeaders.fromJson(final Map json) => + factory CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5032,67 +6095,64 @@ abstract class AvatarAvatarGetAvatarHeaders Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - @BuiltValueSerializer(custom: true) - static Serializer get serializer => _$AvatarAvatarGetAvatarHeadersSerializer(); + static Serializer get serializer => + _$collaborationResourcesRemoveResourceResponseApplicationJsonOcsSerializer; } -class _$AvatarAvatarGetAvatarHeadersSerializer implements StructuredSerializer { - @override - final Iterable types = const [AvatarAvatarGetAvatarHeaders, _$AvatarAvatarGetAvatarHeaders]; +@BuiltValue(instantiable: false) +abstract interface class CollaborationResourcesRemoveResourceResponseApplicationJsonInterface { + CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs get ocs; +} - @override - final String wireName = 'AvatarAvatarGetAvatarHeaders'; +abstract class CollaborationResourcesRemoveResourceResponseApplicationJson + implements + CollaborationResourcesRemoveResourceResponseApplicationJsonInterface, + Built { + factory CollaborationResourcesRemoveResourceResponseApplicationJson([ + final void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder)? b, + ]) = _$CollaborationResourcesRemoveResourceResponseApplicationJson; - @override - Iterable serialize( - final Serializers serializers, - final AvatarAvatarGetAvatarHeaders object, { - final FullType specifiedType = FullType.unspecified, - }) { - throw UnimplementedError(); - } + // coverage:ignore-start + const CollaborationResourcesRemoveResourceResponseApplicationJson._(); + // coverage:ignore-end - @override - AvatarAvatarGetAvatarHeaders deserialize( - final Serializers serializers, - final Iterable serialized, { - final FullType specifiedType = FullType.unspecified, - }) { - final result = AvatarAvatarGetAvatarHeadersBuilder(); + // coverage:ignore-start + factory CollaborationResourcesRemoveResourceResponseApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end - 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 = - _jsonSerializers.deserialize(json.decode(value), specifiedType: const FullType(int))! as int; - } - } + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end - return result.build(); - } + static Serializer get serializer => + _$collaborationResourcesRemoveResourceResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class LoginFlowV2CredentialsInterface { - String get server; - String get loginName; - String get appPassword; +abstract interface class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; } -abstract class LoginFlowV2Credentials - implements LoginFlowV2CredentialsInterface, Built { - factory LoginFlowV2Credentials([final void Function(LoginFlowV2CredentialsBuilder)? b]) = _$LoginFlowV2Credentials; +abstract class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs + implements + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterface, + Built { + factory CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs([ + final void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder)? b, + ]) = _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs; // coverage:ignore-start - const LoginFlowV2Credentials._(); + const CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory LoginFlowV2Credentials.fromJson(final Map json) => + factory CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5100,24 +6160,32 @@ abstract class LoginFlowV2Credentials Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$loginFlowV2CredentialsSerializer; + static Serializer get serializer => + _$collaborationResourcesGetCollectionsByResourceResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class LoginFlowV2_PollInterface { - String get token; - String get endpoint; +abstract interface class CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterface { + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs get ocs; } -abstract class LoginFlowV2_Poll implements LoginFlowV2_PollInterface, Built { - factory LoginFlowV2_Poll([final void Function(LoginFlowV2_PollBuilder)? b]) = _$LoginFlowV2_Poll; +abstract class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson + implements + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterface, + Built { + factory CollaborationResourcesGetCollectionsByResourceResponseApplicationJson([ + final void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder)? b, + ]) = _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson; // coverage:ignore-start - const LoginFlowV2_Poll._(); + const CollaborationResourcesGetCollectionsByResourceResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory LoginFlowV2_Poll.fromJson(final Map json) => + factory CollaborationResourcesGetCollectionsByResourceResponseApplicationJson.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5125,51 +6193,66 @@ abstract class LoginFlowV2_Poll implements LoginFlowV2_PollInterface, Built toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$loginFlowV2PollSerializer; + static Serializer get serializer => + _$collaborationResourcesGetCollectionsByResourceResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class LoginFlowV2Interface { - LoginFlowV2_Poll get poll; - String get login; +abstract interface class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Collection get data; } -abstract class LoginFlowV2 implements LoginFlowV2Interface, Built { - factory LoginFlowV2([final void Function(LoginFlowV2Builder)? b]) = _$LoginFlowV2; +abstract class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs + implements + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterface, + Built { + factory CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs([ + final void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder)? b, + ]) = _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs; // coverage:ignore-start - const LoginFlowV2._(); + const CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory LoginFlowV2.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + factory CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$loginFlowV2Serializer; + static Serializer get serializer => + _$collaborationResourcesCreateCollectionOnResourceResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class OpenGraphObjectInterface { - String get id; - String get name; - String? get description; - String? get thumb; - String get link; +abstract interface class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterface { + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs get ocs; } -abstract class OpenGraphObject implements OpenGraphObjectInterface, Built { - factory OpenGraphObject([final void Function(OpenGraphObjectBuilder)? b]) = _$OpenGraphObject; +abstract class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson + implements + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterface, + Built { + factory CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson([ + final void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder)? b, + ]) = _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson; // coverage:ignore-start - const OpenGraphObject._(); + const CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory OpenGraphObject.fromJson(final Map json) => + factory CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5177,83 +6260,90 @@ abstract class OpenGraphObject implements OpenGraphObjectInterface, Built toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$openGraphObjectSerializer; + static Serializer get serializer => + _$collaborationResourcesCreateCollectionOnResourceResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class ResourceInterface { - String get richObjectType; - BuiltMap get richObject; - OpenGraphObject get openGraphObject; - bool get accessible; +abstract interface class ContactsActionInterface { + String get title; + String get icon; + String get hyperlink; + String get appId; } -abstract class Resource implements ResourceInterface, Built { - factory Resource([final void Function(ResourceBuilder)? b]) = _$Resource; +abstract class ContactsAction implements ContactsActionInterface, Built { + factory ContactsAction([final void Function(ContactsActionBuilder)? b]) = _$ContactsAction; // coverage:ignore-start - const Resource._(); + const ContactsAction._(); // coverage:ignore-end // coverage:ignore-start - factory Resource.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + factory ContactsAction.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$resourceSerializer; + static Serializer get serializer => _$contactsActionSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollectionInterface { - int get id; - String get name; - BuiltList get resources; +abstract interface class HoverCardGetUserResponseApplicationJson_Ocs_DataInterface { + String get userId; + String get displayName; + BuiltList get actions; } -abstract class Collection implements CollectionInterface, Built { - factory Collection([final void Function(CollectionBuilder)? b]) = _$Collection; +abstract class HoverCardGetUserResponseApplicationJson_Ocs_Data + implements + HoverCardGetUserResponseApplicationJson_Ocs_DataInterface, + Built { + factory HoverCardGetUserResponseApplicationJson_Ocs_Data([ + final void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$HoverCardGetUserResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const Collection._(); + const HoverCardGetUserResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory Collection.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + factory HoverCardGetUserResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$collectionSerializer; + static Serializer get serializer => + _$hoverCardGetUserResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterface { +abstract interface class HoverCardGetUserResponseApplicationJson_OcsInterface { OCSMeta get meta; - BuiltList get data; + HoverCardGetUserResponseApplicationJson_Ocs_Data get data; } -abstract class CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs +abstract class HoverCardGetUserResponseApplicationJson_Ocs implements - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterface, - Built { - factory CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs([ - final void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder)? b, - ]) = _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs; + HoverCardGetUserResponseApplicationJson_OcsInterface, + Built { + factory HoverCardGetUserResponseApplicationJson_Ocs([ + final void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder)? b, + ]) = _$HoverCardGetUserResponseApplicationJson_Ocs; // coverage:ignore-start - const CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs._(); + const HoverCardGetUserResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs.fromJson( - final Map json, - ) => + factory HoverCardGetUserResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5261,30 +6351,29 @@ abstract class CollaborationResourcesSearchCollectionsResponseApplicationJson_Oc Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesSearchCollectionsResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$hoverCardGetUserResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesSearchCollectionsResponseApplicationJsonInterface { - CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs get ocs; +abstract interface class HoverCardGetUserResponseApplicationJsonInterface { + HoverCardGetUserResponseApplicationJson_Ocs get ocs; } -abstract class CollaborationResourcesSearchCollectionsResponseApplicationJson +abstract class HoverCardGetUserResponseApplicationJson implements - CollaborationResourcesSearchCollectionsResponseApplicationJsonInterface, - Built { - factory CollaborationResourcesSearchCollectionsResponseApplicationJson([ - final void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder)? b, - ]) = _$CollaborationResourcesSearchCollectionsResponseApplicationJson; + HoverCardGetUserResponseApplicationJsonInterface, + Built { + factory HoverCardGetUserResponseApplicationJson([ + final void Function(HoverCardGetUserResponseApplicationJsonBuilder)? b, + ]) = _$HoverCardGetUserResponseApplicationJson; // coverage:ignore-start - const CollaborationResourcesSearchCollectionsResponseApplicationJson._(); + const HoverCardGetUserResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesSearchCollectionsResponseApplicationJson.fromJson(final Map json) => + factory HoverCardGetUserResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5292,31 +6381,26 @@ abstract class CollaborationResourcesSearchCollectionsResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesSearchCollectionsResponseApplicationJsonSerializer; + static Serializer get serializer => + _$hoverCardGetUserResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesListCollectionResponseApplicationJson_OcsInterface { - OCSMeta get meta; - Collection get data; +abstract interface class NavigationEntry_OrderInterface { + int? get $int; + String? get string; } -abstract class CollaborationResourcesListCollectionResponseApplicationJson_Ocs - implements - CollaborationResourcesListCollectionResponseApplicationJson_OcsInterface, - Built { - factory CollaborationResourcesListCollectionResponseApplicationJson_Ocs([ - final void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder)? b, - ]) = _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs; +abstract class NavigationEntry_Order + implements NavigationEntry_OrderInterface, Built { + factory NavigationEntry_Order([final void Function(NavigationEntry_OrderBuilder)? b]) = _$NavigationEntry_Order; // coverage:ignore-start - const CollaborationResourcesListCollectionResponseApplicationJson_Ocs._(); + const NavigationEntry_Order._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesListCollectionResponseApplicationJson_Ocs.fromJson(final Map json) => + factory NavigationEntry_Order.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5324,30 +6408,80 @@ abstract class CollaborationResourcesListCollectionResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesListCollectionResponseApplicationJsonOcsSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$NavigationEntry_OrderSerializer(); + + JsonObject get data; + @BuiltValueHook(finalizeBuilder: true) + static void _validate(final NavigationEntry_OrderBuilder b) { + // When this is rebuild from another builder + if (b._data == null) { + return; + } + + final match = [b._$int, b._string].singleWhereOrNull((final x) => x != null); + if (match == null) { + throw StateError("Need exactly one of '$int', 'string' for ${b._data}"); + } + } +} + +class _$NavigationEntry_OrderSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [NavigationEntry_Order, _$NavigationEntry_Order]; + + @override + final String wireName = 'NavigationEntry_Order'; + + @override + Object serialize( + final Serializers serializers, + final NavigationEntry_Order object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + NavigationEntry_Order deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = NavigationEntry_OrderBuilder()..data = JsonObject(data); + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(int))! as int; + result.$int = value; + } catch (_) {} + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(String))! as String; + result.string = value; + } catch (_) {} + return result.build(); + } } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesListCollectionResponseApplicationJsonInterface { - CollaborationResourcesListCollectionResponseApplicationJson_Ocs get ocs; +abstract interface class NavigationEntryInterface { + String get id; + NavigationEntry_Order get order; + String get href; + String get icon; + String get type; + String get name; + bool get active; + String get classes; + int get unread; } -abstract class CollaborationResourcesListCollectionResponseApplicationJson - implements - CollaborationResourcesListCollectionResponseApplicationJsonInterface, - Built { - factory CollaborationResourcesListCollectionResponseApplicationJson([ - final void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder)? b, - ]) = _$CollaborationResourcesListCollectionResponseApplicationJson; +abstract class NavigationEntry implements NavigationEntryInterface, Built { + factory NavigationEntry([final void Function(NavigationEntryBuilder)? b]) = _$NavigationEntry; // coverage:ignore-start - const CollaborationResourcesListCollectionResponseApplicationJson._(); + const NavigationEntry._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesListCollectionResponseApplicationJson.fromJson(final Map json) => + factory NavigationEntry.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5355,31 +6489,30 @@ abstract class CollaborationResourcesListCollectionResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesListCollectionResponseApplicationJsonSerializer; + static Serializer get serializer => _$navigationEntrySerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterface { +abstract interface class NavigationGetAppsNavigationResponseApplicationJson_OcsInterface { OCSMeta get meta; - Collection get data; + BuiltList get data; } -abstract class CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs +abstract class NavigationGetAppsNavigationResponseApplicationJson_Ocs implements - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterface, - Built { - factory CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs([ - final void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder)? b, - ]) = _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs; + NavigationGetAppsNavigationResponseApplicationJson_OcsInterface, + Built { + factory NavigationGetAppsNavigationResponseApplicationJson_Ocs([ + final void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder)? b, + ]) = _$NavigationGetAppsNavigationResponseApplicationJson_Ocs; // coverage:ignore-start - const CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs._(); + const NavigationGetAppsNavigationResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs.fromJson(final Map json) => + factory NavigationGetAppsNavigationResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5387,30 +6520,30 @@ abstract class CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesRenameCollectionResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$navigationGetAppsNavigationResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesRenameCollectionResponseApplicationJsonInterface { - CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs get ocs; +abstract interface class NavigationGetAppsNavigationResponseApplicationJsonInterface { + NavigationGetAppsNavigationResponseApplicationJson_Ocs get ocs; } -abstract class CollaborationResourcesRenameCollectionResponseApplicationJson +abstract class NavigationGetAppsNavigationResponseApplicationJson implements - CollaborationResourcesRenameCollectionResponseApplicationJsonInterface, - Built { - factory CollaborationResourcesRenameCollectionResponseApplicationJson([ - final void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder)? b, - ]) = _$CollaborationResourcesRenameCollectionResponseApplicationJson; + NavigationGetAppsNavigationResponseApplicationJsonInterface, + Built { + factory NavigationGetAppsNavigationResponseApplicationJson([ + final void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder)? b, + ]) = _$NavigationGetAppsNavigationResponseApplicationJson; // coverage:ignore-start - const CollaborationResourcesRenameCollectionResponseApplicationJson._(); + const NavigationGetAppsNavigationResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesRenameCollectionResponseApplicationJson.fromJson(final Map json) => + factory NavigationGetAppsNavigationResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5418,31 +6551,31 @@ abstract class CollaborationResourcesRenameCollectionResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesRenameCollectionResponseApplicationJsonSerializer; + static Serializer get serializer => + _$navigationGetAppsNavigationResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesAddResourceResponseApplicationJson_OcsInterface { +abstract interface class NavigationGetSettingsNavigationResponseApplicationJson_OcsInterface { OCSMeta get meta; - Collection get data; + BuiltList get data; } -abstract class CollaborationResourcesAddResourceResponseApplicationJson_Ocs +abstract class NavigationGetSettingsNavigationResponseApplicationJson_Ocs implements - CollaborationResourcesAddResourceResponseApplicationJson_OcsInterface, - Built { - factory CollaborationResourcesAddResourceResponseApplicationJson_Ocs([ - final void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder)? b, - ]) = _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs; + NavigationGetSettingsNavigationResponseApplicationJson_OcsInterface, + Built { + factory NavigationGetSettingsNavigationResponseApplicationJson_Ocs([ + final void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder)? b, + ]) = _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs; // coverage:ignore-start - const CollaborationResourcesAddResourceResponseApplicationJson_Ocs._(); + const NavigationGetSettingsNavigationResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesAddResourceResponseApplicationJson_Ocs.fromJson(final Map json) => + factory NavigationGetSettingsNavigationResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5450,30 +6583,30 @@ abstract class CollaborationResourcesAddResourceResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesAddResourceResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$navigationGetSettingsNavigationResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesAddResourceResponseApplicationJsonInterface { - CollaborationResourcesAddResourceResponseApplicationJson_Ocs get ocs; +abstract interface class NavigationGetSettingsNavigationResponseApplicationJsonInterface { + NavigationGetSettingsNavigationResponseApplicationJson_Ocs get ocs; } -abstract class CollaborationResourcesAddResourceResponseApplicationJson +abstract class NavigationGetSettingsNavigationResponseApplicationJson implements - CollaborationResourcesAddResourceResponseApplicationJsonInterface, - Built { - factory CollaborationResourcesAddResourceResponseApplicationJson([ - final void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder)? b, - ]) = _$CollaborationResourcesAddResourceResponseApplicationJson; + NavigationGetSettingsNavigationResponseApplicationJsonInterface, + Built { + factory NavigationGetSettingsNavigationResponseApplicationJson([ + final void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder)? b, + ]) = _$NavigationGetSettingsNavigationResponseApplicationJson; // coverage:ignore-start - const CollaborationResourcesAddResourceResponseApplicationJson._(); + const NavigationGetSettingsNavigationResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesAddResourceResponseApplicationJson.fromJson(final Map json) => + factory NavigationGetSettingsNavigationResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5481,31 +6614,26 @@ abstract class CollaborationResourcesAddResourceResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesAddResourceResponseApplicationJsonSerializer; + static Serializer get serializer => + _$navigationGetSettingsNavigationResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterface { - OCSMeta get meta; - Collection get data; +abstract interface class OcmOcmDiscoveryHeadersInterface { + @BuiltValueField(wireName: 'x-nextcloud-ocm-providers') + bool? get xNextcloudOcmProviders; } -abstract class CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs - implements - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterface, - Built { - factory CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs([ - final void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder)? b, - ]) = _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs; +abstract class OcmOcmDiscoveryHeaders + implements OcmOcmDiscoveryHeadersInterface, Built { + factory OcmOcmDiscoveryHeaders([final void Function(OcmOcmDiscoveryHeadersBuilder)? b]) = _$OcmOcmDiscoveryHeaders; // coverage:ignore-start - const CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs._(); + const OcmOcmDiscoveryHeaders._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs.fromJson(final Map json) => + factory OcmOcmDiscoveryHeaders.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5513,30 +6641,72 @@ abstract class CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesRemoveResourceResponseApplicationJsonOcsSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$OcmOcmDiscoveryHeadersSerializer(); +} + +class _$OcmOcmDiscoveryHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [OcmOcmDiscoveryHeaders, _$OcmOcmDiscoveryHeaders]; + + @override + final String wireName = 'OcmOcmDiscoveryHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final OcmOcmDiscoveryHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + OcmOcmDiscoveryHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = OcmOcmDiscoveryHeadersBuilder(); + + 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-nextcloud-ocm-providers': + result.xNextcloudOcmProviders = _jsonSerializers.deserialize( + json.decode(value), + specifiedType: const FullType(bool), + )! as bool; + } + } + + return result.build(); + } } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesRemoveResourceResponseApplicationJsonInterface { - CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs get ocs; +abstract interface class OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterface { + String get webdav; } -abstract class CollaborationResourcesRemoveResourceResponseApplicationJson +abstract class OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols implements - CollaborationResourcesRemoveResourceResponseApplicationJsonInterface, - Built { - factory CollaborationResourcesRemoveResourceResponseApplicationJson([ - final void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder)? b, - ]) = _$CollaborationResourcesRemoveResourceResponseApplicationJson; + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterface, + Built { + factory OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols([ + final void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder)? b, + ]) = _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols; // coverage:ignore-start - const CollaborationResourcesRemoveResourceResponseApplicationJson._(); + const OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesRemoveResourceResponseApplicationJson.fromJson(final Map json) => + factory OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5544,33 +6714,32 @@ abstract class CollaborationResourcesRemoveResourceResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesRemoveResourceResponseApplicationJsonSerializer; + static Serializer get serializer => + _$ocmDiscoveryResponseApplicationJsonResourceTypesProtocolsSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterface { - OCSMeta get meta; - BuiltList get data; +abstract interface class OcmDiscoveryResponseApplicationJson_ResourceTypesInterface { + String get name; + BuiltList get shareTypes; + OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols get protocols; } -abstract class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs +abstract class OcmDiscoveryResponseApplicationJson_ResourceTypes implements - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterface, - Built { - factory CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs([ - final void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder)? b, - ]) = _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs; + OcmDiscoveryResponseApplicationJson_ResourceTypesInterface, + Built { + factory OcmDiscoveryResponseApplicationJson_ResourceTypes([ + final void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder)? b, + ]) = _$OcmDiscoveryResponseApplicationJson_ResourceTypes; // coverage:ignore-start - const CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs._(); + const OcmDiscoveryResponseApplicationJson_ResourceTypes._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs.fromJson( - final Map json, - ) => + factory OcmDiscoveryResponseApplicationJson_ResourceTypes.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5578,32 +6747,31 @@ abstract class CollaborationResourcesGetCollectionsByResourceResponseApplication Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesGetCollectionsByResourceResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$ocmDiscoveryResponseApplicationJsonResourceTypesSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterface { - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs get ocs; +abstract interface class OcmDiscoveryResponseApplicationJsonInterface { + bool get enabled; + String get apiVersion; + String get endPoint; + BuiltList get resourceTypes; } -abstract class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson +abstract class OcmDiscoveryResponseApplicationJson implements - CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterface, - Built { - factory CollaborationResourcesGetCollectionsByResourceResponseApplicationJson([ - final void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder)? b, - ]) = _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson; + OcmDiscoveryResponseApplicationJsonInterface, + Built { + factory OcmDiscoveryResponseApplicationJson([final void Function(OcmDiscoveryResponseApplicationJsonBuilder)? b]) = + _$OcmDiscoveryResponseApplicationJson; // coverage:ignore-start - const CollaborationResourcesGetCollectionsByResourceResponseApplicationJson._(); + const OcmDiscoveryResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesGetCollectionsByResourceResponseApplicationJson.fromJson( - final Map json, - ) => + factory OcmDiscoveryResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5611,33 +6779,35 @@ abstract class CollaborationResourcesGetCollectionsByResourceResponseApplication Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesGetCollectionsByResourceResponseApplicationJsonSerializer; + static Serializer get serializer => + _$ocmDiscoveryResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterface { - OCSMeta get meta; - Collection get data; +abstract interface class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterface { + int get major; + int get minor; + int get micro; + String get string; + String get edition; + bool get extendedSupport; } -abstract class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs +abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version implements - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterface, - Built { - factory CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs([ - final void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder)? b, - ]) = _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs; + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterface, + Built { + factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version([ + final void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder)? b, + ]) = _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version; // coverage:ignore-start - const CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs._(); + const OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs.fromJson( - final Map json, - ) => + factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5645,32 +6815,28 @@ abstract class CollaborationResourcesCreateCollectionOnResourceResponseApplicati Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesCreateCollectionOnResourceResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$ocsGetCapabilitiesResponseApplicationJsonOcsDataVersionSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterface { - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs get ocs; +abstract interface class CommentsCapabilities_FilesInterface { + bool get comments; } -abstract class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson +abstract class CommentsCapabilities_Files implements - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterface, - Built { - factory CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson([ - final void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder)? b, - ]) = _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson; + CommentsCapabilities_FilesInterface, + Built { + factory CommentsCapabilities_Files([final void Function(CommentsCapabilities_FilesBuilder)? b]) = + _$CommentsCapabilities_Files; // coverage:ignore-start - const CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson._(); + const CommentsCapabilities_Files._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson.fromJson( - final Map json, - ) => + factory CommentsCapabilities_Files.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5678,27 +6844,24 @@ abstract class CollaborationResourcesCreateCollectionOnResourceResponseApplicati Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesCreateCollectionOnResourceResponseApplicationJsonSerializer; + static Serializer get serializer => _$commentsCapabilitiesFilesSerializer; } @BuiltValue(instantiable: false) -abstract interface class ContactsActionInterface { - String get title; - String get icon; - String get hyperlink; - String get appId; +abstract interface class CommentsCapabilitiesInterface { + CommentsCapabilities_Files get files; } -abstract class ContactsAction implements ContactsActionInterface, Built { - factory ContactsAction([final void Function(ContactsActionBuilder)? b]) = _$ContactsAction; +abstract class CommentsCapabilities + implements CommentsCapabilitiesInterface, Built { + factory CommentsCapabilities([final void Function(CommentsCapabilitiesBuilder)? b]) = _$CommentsCapabilities; // coverage:ignore-start - const ContactsAction._(); + const CommentsCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory ContactsAction.fromJson(final Map json) => + factory CommentsCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5706,31 +6869,25 @@ abstract class ContactsAction implements ContactsActionInterface, Built toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$contactsActionSerializer; + static Serializer get serializer => _$commentsCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class HoverCardGetUserResponseApplicationJson_Ocs_DataInterface { - String get userId; - String get displayName; - BuiltList get actions; +abstract interface class DavCapabilities_DavInterface { + String get chunking; + String? get bulkupload; } -abstract class HoverCardGetUserResponseApplicationJson_Ocs_Data - implements - HoverCardGetUserResponseApplicationJson_Ocs_DataInterface, - Built { - factory HoverCardGetUserResponseApplicationJson_Ocs_Data([ - final void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$HoverCardGetUserResponseApplicationJson_Ocs_Data; +abstract class DavCapabilities_Dav + implements DavCapabilities_DavInterface, Built { + factory DavCapabilities_Dav([final void Function(DavCapabilities_DavBuilder)? b]) = _$DavCapabilities_Dav; // coverage:ignore-start - const HoverCardGetUserResponseApplicationJson_Ocs_Data._(); + const DavCapabilities_Dav._(); // coverage:ignore-end // coverage:ignore-start - factory HoverCardGetUserResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory DavCapabilities_Dav.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5738,30 +6895,23 @@ abstract class HoverCardGetUserResponseApplicationJson_Ocs_Data Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$hoverCardGetUserResponseApplicationJsonOcsDataSerializer; + static Serializer get serializer => _$davCapabilitiesDavSerializer; } @BuiltValue(instantiable: false) -abstract interface class HoverCardGetUserResponseApplicationJson_OcsInterface { - OCSMeta get meta; - HoverCardGetUserResponseApplicationJson_Ocs_Data get data; +abstract interface class DavCapabilitiesInterface { + DavCapabilities_Dav get dav; } -abstract class HoverCardGetUserResponseApplicationJson_Ocs - implements - HoverCardGetUserResponseApplicationJson_OcsInterface, - Built { - factory HoverCardGetUserResponseApplicationJson_Ocs([ - final void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder)? b, - ]) = _$HoverCardGetUserResponseApplicationJson_Ocs; +abstract class DavCapabilities implements DavCapabilitiesInterface, Built { + factory DavCapabilities([final void Function(DavCapabilitiesBuilder)? b]) = _$DavCapabilities; // coverage:ignore-start - const HoverCardGetUserResponseApplicationJson_Ocs._(); + const DavCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory HoverCardGetUserResponseApplicationJson_Ocs.fromJson(final Map json) => + factory DavCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5769,29 +6919,30 @@ abstract class HoverCardGetUserResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$hoverCardGetUserResponseApplicationJsonOcsSerializer; + static Serializer get serializer => _$davCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class HoverCardGetUserResponseApplicationJsonInterface { - HoverCardGetUserResponseApplicationJson_Ocs get ocs; +abstract interface class FilesCapabilities_Files_DirectEditingInterface { + String get url; + String get etag; + bool get supportsFileId; } -abstract class HoverCardGetUserResponseApplicationJson +abstract class FilesCapabilities_Files_DirectEditing implements - HoverCardGetUserResponseApplicationJsonInterface, - Built { - factory HoverCardGetUserResponseApplicationJson([ - final void Function(HoverCardGetUserResponseApplicationJsonBuilder)? b, - ]) = _$HoverCardGetUserResponseApplicationJson; + FilesCapabilities_Files_DirectEditingInterface, + Built { + factory FilesCapabilities_Files_DirectEditing([ + final void Function(FilesCapabilities_Files_DirectEditingBuilder)? b, + ]) = _$FilesCapabilities_Files_DirectEditing; // coverage:ignore-start - const HoverCardGetUserResponseApplicationJson._(); + const FilesCapabilities_Files_DirectEditing._(); // coverage:ignore-end // coverage:ignore-start - factory HoverCardGetUserResponseApplicationJson.fromJson(final Map json) => + factory FilesCapabilities_Files_DirectEditing.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5799,26 +6950,28 @@ abstract class HoverCardGetUserResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$hoverCardGetUserResponseApplicationJsonSerializer; + static Serializer get serializer => + _$filesCapabilitiesFilesDirectEditingSerializer; } @BuiltValue(instantiable: false) -abstract interface class NavigationEntry_OrderInterface { - int? get $int; - String? get string; +abstract interface class FilesCapabilities_FilesInterface { + bool get bigfilechunking; + @BuiltValueField(wireName: 'blacklisted_files') + BuiltList get blacklistedFiles; + FilesCapabilities_Files_DirectEditing get directEditing; } -abstract class NavigationEntry_Order - implements NavigationEntry_OrderInterface, Built { - factory NavigationEntry_Order([final void Function(NavigationEntry_OrderBuilder)? b]) = _$NavigationEntry_Order; +abstract class FilesCapabilities_Files + implements FilesCapabilities_FilesInterface, Built { + factory FilesCapabilities_Files([final void Function(FilesCapabilities_FilesBuilder)? b]) = _$FilesCapabilities_Files; // coverage:ignore-start - const NavigationEntry_Order._(); + const FilesCapabilities_Files._(); // coverage:ignore-end // coverage:ignore-start - factory NavigationEntry_Order.fromJson(final Map json) => + factory FilesCapabilities_Files.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5826,80 +6979,55 @@ abstract class NavigationEntry_Order Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - @BuiltValueSerializer(custom: true) - static Serializer get serializer => _$NavigationEntry_OrderSerializer(); - - JsonObject get data; - @BuiltValueHook(finalizeBuilder: true) - static void _validate(final NavigationEntry_OrderBuilder b) { - // When this is rebuild from another builder - if (b._data == null) { - return; - } + static Serializer get serializer => _$filesCapabilitiesFilesSerializer; +} - final match = [b._$int, b._string].singleWhereOrNull((final x) => x != null); - if (match == null) { - throw StateError("Need exactly one of '$int', 'string' for ${b._data}"); - } - } +@BuiltValue(instantiable: false) +abstract interface class FilesCapabilitiesInterface { + FilesCapabilities_Files get files; } -class _$NavigationEntry_OrderSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [NavigationEntry_Order, _$NavigationEntry_Order]; +abstract class FilesCapabilities + implements FilesCapabilitiesInterface, Built { + factory FilesCapabilities([final void Function(FilesCapabilitiesBuilder)? b]) = _$FilesCapabilities; - @override - final String wireName = 'NavigationEntry_Order'; + // coverage:ignore-start + const FilesCapabilities._(); + // coverage:ignore-end - @override - Object serialize( - final Serializers serializers, - final NavigationEntry_Order object, { - final FullType specifiedType = FullType.unspecified, - }) => - object.data.value; + // coverage:ignore-start + factory FilesCapabilities.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end - @override - NavigationEntry_Order deserialize( - final Serializers serializers, - final Object data, { - final FullType specifiedType = FullType.unspecified, - }) { - final result = NavigationEntry_OrderBuilder()..data = JsonObject(data); - try { - final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(int))! as int; - result.$int = value; - } catch (_) {} - try { - final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(String))! as String; - result.string = value; - } catch (_) {} - return result.build(); - } + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$filesCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class NavigationEntryInterface { - String get id; - NavigationEntry_Order get order; - String get href; - String get icon; - String get type; - String get name; - bool get active; - String get classes; - int get unread; +abstract interface class FilesSharingCapabilities_FilesSharing_Public_PasswordInterface { + bool get enforced; + bool get askForOptionalPassword; } -abstract class NavigationEntry implements NavigationEntryInterface, Built { - factory NavigationEntry([final void Function(NavigationEntryBuilder)? b]) = _$NavigationEntry; +abstract class FilesSharingCapabilities_FilesSharing_Public_Password + implements + FilesSharingCapabilities_FilesSharing_Public_PasswordInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Public_Password([ + final void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Public_Password; // coverage:ignore-start - const NavigationEntry._(); + const FilesSharingCapabilities_FilesSharing_Public_Password._(); // coverage:ignore-end // coverage:ignore-start - factory NavigationEntry.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_Public_Password.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5907,30 +7035,32 @@ abstract class NavigationEntry implements NavigationEntryInterface, Built toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$navigationEntrySerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingPublicPasswordSerializer; } @BuiltValue(instantiable: false) -abstract interface class NavigationGetAppsNavigationResponseApplicationJson_OcsInterface { - OCSMeta get meta; - BuiltList get data; +abstract interface class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterface { + bool get enabled; + int? get days; + bool? get enforced; } -abstract class NavigationGetAppsNavigationResponseApplicationJson_Ocs +abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDate implements - NavigationGetAppsNavigationResponseApplicationJson_OcsInterface, - Built { - factory NavigationGetAppsNavigationResponseApplicationJson_Ocs([ - final void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder)? b, - ]) = _$NavigationGetAppsNavigationResponseApplicationJson_Ocs; + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Public_ExpireDate([ + final void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate; // coverage:ignore-start - const NavigationGetAppsNavigationResponseApplicationJson_Ocs._(); + const FilesSharingCapabilities_FilesSharing_Public_ExpireDate._(); // coverage:ignore-end // coverage:ignore-start - factory NavigationGetAppsNavigationResponseApplicationJson_Ocs.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_Public_ExpireDate.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5938,30 +7068,32 @@ abstract class NavigationGetAppsNavigationResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$navigationGetAppsNavigationResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingPublicExpireDateSerializer; } @BuiltValue(instantiable: false) -abstract interface class NavigationGetAppsNavigationResponseApplicationJsonInterface { - NavigationGetAppsNavigationResponseApplicationJson_Ocs get ocs; +abstract interface class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterface { + bool get enabled; + int? get days; + bool? get enforced; } -abstract class NavigationGetAppsNavigationResponseApplicationJson +abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal implements - NavigationGetAppsNavigationResponseApplicationJsonInterface, - Built { - factory NavigationGetAppsNavigationResponseApplicationJson([ - final void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder)? b, - ]) = _$NavigationGetAppsNavigationResponseApplicationJson; + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal([ + final void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal; // coverage:ignore-start - const NavigationGetAppsNavigationResponseApplicationJson._(); + const FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._(); // coverage:ignore-end // coverage:ignore-start - factory NavigationGetAppsNavigationResponseApplicationJson.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5969,31 +7101,32 @@ abstract class NavigationGetAppsNavigationResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$navigationGetAppsNavigationResponseApplicationJsonSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingPublicExpireDateInternalSerializer; } @BuiltValue(instantiable: false) -abstract interface class NavigationGetSettingsNavigationResponseApplicationJson_OcsInterface { - OCSMeta get meta; - BuiltList get data; +abstract interface class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterface { + bool get enabled; + int? get days; + bool? get enforced; } -abstract class NavigationGetSettingsNavigationResponseApplicationJson_Ocs +abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote implements - NavigationGetSettingsNavigationResponseApplicationJson_OcsInterface, - Built { - factory NavigationGetSettingsNavigationResponseApplicationJson_Ocs([ - final void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder)? b, - ]) = _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs; + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote([ + final void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote; // coverage:ignore-start - const NavigationGetSettingsNavigationResponseApplicationJson_Ocs._(); + const FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._(); // coverage:ignore-end // coverage:ignore-start - factory NavigationGetSettingsNavigationResponseApplicationJson_Ocs.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6001,30 +7134,43 @@ abstract class NavigationGetSettingsNavigationResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$navigationGetSettingsNavigationResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingPublicExpireDateRemoteSerializer; } @BuiltValue(instantiable: false) -abstract interface class NavigationGetSettingsNavigationResponseApplicationJsonInterface { - NavigationGetSettingsNavigationResponseApplicationJson_Ocs get ocs; +abstract interface class FilesSharingCapabilities_FilesSharing_PublicInterface { + bool get enabled; + FilesSharingCapabilities_FilesSharing_Public_Password? get password; + @BuiltValueField(wireName: 'multiple_links') + bool? get multipleLinks; + @BuiltValueField(wireName: 'expire_date') + FilesSharingCapabilities_FilesSharing_Public_ExpireDate? get expireDate; + @BuiltValueField(wireName: 'expire_date_internal') + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? get expireDateInternal; + @BuiltValueField(wireName: 'expire_date_remote') + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? get expireDateRemote; + @BuiltValueField(wireName: 'send_mail') + bool? get sendMail; + bool? get upload; + @BuiltValueField(wireName: 'upload_files_drop') + bool? get uploadFilesDrop; } -abstract class NavigationGetSettingsNavigationResponseApplicationJson +abstract class FilesSharingCapabilities_FilesSharing_Public implements - NavigationGetSettingsNavigationResponseApplicationJsonInterface, - Built { - factory NavigationGetSettingsNavigationResponseApplicationJson([ - final void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder)? b, - ]) = _$NavigationGetSettingsNavigationResponseApplicationJson; + FilesSharingCapabilities_FilesSharing_PublicInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Public([ + final void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Public; // coverage:ignore-start - const NavigationGetSettingsNavigationResponseApplicationJson._(); + const FilesSharingCapabilities_FilesSharing_Public._(); // coverage:ignore-end // coverage:ignore-start - factory NavigationGetSettingsNavigationResponseApplicationJson.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_Public.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6032,26 +7178,30 @@ abstract class NavigationGetSettingsNavigationResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$navigationGetSettingsNavigationResponseApplicationJsonSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingPublicSerializer; } @BuiltValue(instantiable: false) -abstract interface class OcmOcmDiscoveryHeadersInterface { - @BuiltValueField(wireName: 'x-nextcloud-ocm-providers') - bool? get xNextcloudOcmProviders; +abstract interface class FilesSharingCapabilities_FilesSharing_User_ExpireDateInterface { + bool get enabled; } -abstract class OcmOcmDiscoveryHeaders - implements OcmOcmDiscoveryHeadersInterface, Built { - factory OcmOcmDiscoveryHeaders([final void Function(OcmOcmDiscoveryHeadersBuilder)? b]) = _$OcmOcmDiscoveryHeaders; +abstract class FilesSharingCapabilities_FilesSharing_User_ExpireDate + implements + FilesSharingCapabilities_FilesSharing_User_ExpireDateInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_User_ExpireDate([ + final void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_User_ExpireDate; // coverage:ignore-start - const OcmOcmDiscoveryHeaders._(); + const FilesSharingCapabilities_FilesSharing_User_ExpireDate._(); // coverage:ignore-end // coverage:ignore-start - factory OcmOcmDiscoveryHeaders.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_User_ExpireDate.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6059,72 +7209,32 @@ abstract class OcmOcmDiscoveryHeaders Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - @BuiltValueSerializer(custom: true) - static Serializer get serializer => _$OcmOcmDiscoveryHeadersSerializer(); -} - -class _$OcmOcmDiscoveryHeadersSerializer implements StructuredSerializer { - @override - final Iterable types = const [OcmOcmDiscoveryHeaders, _$OcmOcmDiscoveryHeaders]; - - @override - final String wireName = 'OcmOcmDiscoveryHeaders'; - - @override - Iterable serialize( - final Serializers serializers, - final OcmOcmDiscoveryHeaders object, { - final FullType specifiedType = FullType.unspecified, - }) { - throw UnimplementedError(); - } - - @override - OcmOcmDiscoveryHeaders deserialize( - final Serializers serializers, - final Iterable serialized, { - final FullType specifiedType = FullType.unspecified, - }) { - final result = OcmOcmDiscoveryHeadersBuilder(); - - 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-nextcloud-ocm-providers': - result.xNextcloudOcmProviders = _jsonSerializers.deserialize( - json.decode(value), - specifiedType: const FullType(bool), - )! as bool; - } - } - - return result.build(); - } + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingUserExpireDateSerializer; } @BuiltValue(instantiable: false) -abstract interface class OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterface { - String get webdav; +abstract interface class FilesSharingCapabilities_FilesSharing_UserInterface { + @BuiltValueField(wireName: 'send_mail') + bool get sendMail; + @BuiltValueField(wireName: 'expire_date') + FilesSharingCapabilities_FilesSharing_User_ExpireDate? get expireDate; } -abstract class OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols +abstract class FilesSharingCapabilities_FilesSharing_User implements - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterface, - Built { - factory OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols([ - final void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder)? b, - ]) = _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols; + FilesSharingCapabilities_FilesSharing_UserInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_User([ + final void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_User; // coverage:ignore-start - const OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols._(); + const FilesSharingCapabilities_FilesSharing_User._(); // coverage:ignore-end // coverage:ignore-start - factory OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_User.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6132,32 +7242,30 @@ abstract class OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$ocmDiscoveryResponseApplicationJsonResourceTypesProtocolsSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingUserSerializer; } @BuiltValue(instantiable: false) -abstract interface class OcmDiscoveryResponseApplicationJson_ResourceTypesInterface { - String get name; - BuiltList get shareTypes; - OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols get protocols; +abstract interface class FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterface { + bool get enabled; } -abstract class OcmDiscoveryResponseApplicationJson_ResourceTypes +abstract class FilesSharingCapabilities_FilesSharing_Group_ExpireDate implements - OcmDiscoveryResponseApplicationJson_ResourceTypesInterface, - Built { - factory OcmDiscoveryResponseApplicationJson_ResourceTypes([ - final void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder)? b, - ]) = _$OcmDiscoveryResponseApplicationJson_ResourceTypes; + FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Group_ExpireDate([ + final void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate; // coverage:ignore-start - const OcmDiscoveryResponseApplicationJson_ResourceTypes._(); + const FilesSharingCapabilities_FilesSharing_Group_ExpireDate._(); // coverage:ignore-end // coverage:ignore-start - factory OcmDiscoveryResponseApplicationJson_ResourceTypes.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_Group_ExpireDate.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6165,31 +7273,31 @@ abstract class OcmDiscoveryResponseApplicationJson_ResourceTypes Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$ocmDiscoveryResponseApplicationJsonResourceTypesSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingGroupExpireDateSerializer; } @BuiltValue(instantiable: false) -abstract interface class OcmDiscoveryResponseApplicationJsonInterface { +abstract interface class FilesSharingCapabilities_FilesSharing_GroupInterface { bool get enabled; - String get apiVersion; - String get endPoint; - BuiltList get resourceTypes; + @BuiltValueField(wireName: 'expire_date') + FilesSharingCapabilities_FilesSharing_Group_ExpireDate? get expireDate; } -abstract class OcmDiscoveryResponseApplicationJson +abstract class FilesSharingCapabilities_FilesSharing_Group implements - OcmDiscoveryResponseApplicationJsonInterface, - Built { - factory OcmDiscoveryResponseApplicationJson([final void Function(OcmDiscoveryResponseApplicationJsonBuilder)? b]) = - _$OcmDiscoveryResponseApplicationJson; + FilesSharingCapabilities_FilesSharing_GroupInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Group([ + final void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Group; // coverage:ignore-start - const OcmDiscoveryResponseApplicationJson._(); + const FilesSharingCapabilities_FilesSharing_Group._(); // coverage:ignore-end // coverage:ignore-start - factory OcmDiscoveryResponseApplicationJson.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_Group.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6197,35 +7305,30 @@ abstract class OcmDiscoveryResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$ocmDiscoveryResponseApplicationJsonSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingGroupSerializer; } @BuiltValue(instantiable: false) -abstract interface class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterface { - int get major; - int get minor; - int get micro; - String get string; - String get edition; - bool get extendedSupport; +abstract interface class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterface { + bool get enabled; } -abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version +abstract class FilesSharingCapabilities_FilesSharing_Federation_ExpireDate implements - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterface, - Built { - factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version([ - final void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder)? b, - ]) = _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version; + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDate([ + final void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate; // coverage:ignore-start - const OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version._(); + const FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._(); // coverage:ignore-end // coverage:ignore-start - factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDate.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6233,28 +7336,32 @@ abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$ocsGetCapabilitiesResponseApplicationJsonOcsDataVersionSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingFederationExpireDateSerializer; } @BuiltValue(instantiable: false) -abstract interface class CommentsCapabilities_FilesInterface { - bool get comments; +abstract interface class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterface { + bool get enabled; } -abstract class CommentsCapabilities_Files +abstract class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported implements - CommentsCapabilities_FilesInterface, - Built { - factory CommentsCapabilities_Files([final void Function(CommentsCapabilities_FilesBuilder)? b]) = - _$CommentsCapabilities_Files; + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported([ + final void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported; // coverage:ignore-start - const CommentsCapabilities_Files._(); + const FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._(); // coverage:ignore-end // coverage:ignore-start - factory CommentsCapabilities_Files.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6262,24 +7369,35 @@ abstract class CommentsCapabilities_Files Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$commentsCapabilitiesFilesSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingFederationExpireDateSupportedSerializer; } @BuiltValue(instantiable: false) -abstract interface class CommentsCapabilitiesInterface { - CommentsCapabilities_Files get files; +abstract interface class FilesSharingCapabilities_FilesSharing_FederationInterface { + bool get outgoing; + bool get incoming; + @BuiltValueField(wireName: 'expire_date') + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate get expireDate; + @BuiltValueField(wireName: 'expire_date_supported') + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported get expireDateSupported; } -abstract class CommentsCapabilities - implements CommentsCapabilitiesInterface, Built { - factory CommentsCapabilities([final void Function(CommentsCapabilitiesBuilder)? b]) = _$CommentsCapabilities; +abstract class FilesSharingCapabilities_FilesSharing_Federation + implements + FilesSharingCapabilities_FilesSharing_FederationInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Federation([ + final void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Federation; // coverage:ignore-start - const CommentsCapabilities._(); + const FilesSharingCapabilities_FilesSharing_Federation._(); // coverage:ignore-end // coverage:ignore-start - factory CommentsCapabilities.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_Federation.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6287,25 +7405,32 @@ abstract class CommentsCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$commentsCapabilitiesSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingFederationSerializer; } @BuiltValue(instantiable: false) -abstract interface class DavCapabilities_DavInterface { - String get chunking; - String? get bulkupload; -} - -abstract class DavCapabilities_Dav - implements DavCapabilities_DavInterface, Built { - factory DavCapabilities_Dav([final void Function(DavCapabilities_DavBuilder)? b]) = _$DavCapabilities_Dav; +abstract interface class FilesSharingCapabilities_FilesSharing_ShareeInterface { + @BuiltValueField(wireName: 'query_lookup_default') + bool get queryLookupDefault; + @BuiltValueField(wireName: 'always_show_unique') + bool get alwaysShowUnique; +} + +abstract class FilesSharingCapabilities_FilesSharing_Sharee + implements + FilesSharingCapabilities_FilesSharing_ShareeInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Sharee([ + final void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Sharee; // coverage:ignore-start - const DavCapabilities_Dav._(); + const FilesSharingCapabilities_FilesSharing_Sharee._(); // coverage:ignore-end // coverage:ignore-start - factory DavCapabilities_Dav.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_Sharee.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6313,23 +7438,40 @@ abstract class DavCapabilities_Dav Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$davCapabilitiesDavSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingShareeSerializer; } @BuiltValue(instantiable: false) -abstract interface class DavCapabilitiesInterface { - DavCapabilities_Dav get dav; +abstract interface class FilesSharingCapabilities_FilesSharingInterface { + @BuiltValueField(wireName: 'api_enabled') + bool get apiEnabled; + FilesSharingCapabilities_FilesSharing_Public get public; + FilesSharingCapabilities_FilesSharing_User get user; + bool get resharing; + @BuiltValueField(wireName: 'group_sharing') + bool? get groupSharing; + FilesSharingCapabilities_FilesSharing_Group? get group; + @BuiltValueField(wireName: 'default_permissions') + int? get defaultPermissions; + FilesSharingCapabilities_FilesSharing_Federation get federation; + FilesSharingCapabilities_FilesSharing_Sharee get sharee; } -abstract class DavCapabilities implements DavCapabilitiesInterface, Built { - factory DavCapabilities([final void Function(DavCapabilitiesBuilder)? b]) = _$DavCapabilities; +abstract class FilesSharingCapabilities_FilesSharing + implements + FilesSharingCapabilities_FilesSharingInterface, + Built { + factory FilesSharingCapabilities_FilesSharing([ + final void Function(FilesSharingCapabilities_FilesSharingBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing; // coverage:ignore-start - const DavCapabilities._(); + const FilesSharingCapabilities_FilesSharing._(); // coverage:ignore-end // coverage:ignore-start - factory DavCapabilities.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6337,30 +7479,27 @@ abstract class DavCapabilities implements DavCapabilitiesInterface, Built toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$davCapabilitiesSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesCapabilities_Files_DirectEditingInterface { - String get url; - String get etag; - bool get supportsFileId; +abstract interface class FilesSharingCapabilitiesInterface { + @BuiltValueField(wireName: 'files_sharing') + FilesSharingCapabilities_FilesSharing get filesSharing; } -abstract class FilesCapabilities_Files_DirectEditing - implements - FilesCapabilities_Files_DirectEditingInterface, - Built { - factory FilesCapabilities_Files_DirectEditing([ - final void Function(FilesCapabilities_Files_DirectEditingBuilder)? b, - ]) = _$FilesCapabilities_Files_DirectEditing; +abstract class FilesSharingCapabilities + implements FilesSharingCapabilitiesInterface, Built { + factory FilesSharingCapabilities([final void Function(FilesSharingCapabilitiesBuilder)? b]) = + _$FilesSharingCapabilities; // coverage:ignore-start - const FilesCapabilities_Files_DirectEditing._(); + const FilesSharingCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory FilesCapabilities_Files_DirectEditing.fromJson(final Map json) => + factory FilesSharingCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6368,28 +7507,27 @@ abstract class FilesCapabilities_Files_DirectEditing Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesCapabilitiesFilesDirectEditingSerializer; + static Serializer get serializer => _$filesSharingCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesCapabilities_FilesInterface { - bool get bigfilechunking; - @BuiltValueField(wireName: 'blacklisted_files') - BuiltList get blacklistedFiles; - FilesCapabilities_Files_DirectEditing get directEditing; +abstract interface class FilesTrashbinCapabilities_FilesInterface { + bool get undelete; } -abstract class FilesCapabilities_Files - implements FilesCapabilities_FilesInterface, Built { - factory FilesCapabilities_Files([final void Function(FilesCapabilities_FilesBuilder)? b]) = _$FilesCapabilities_Files; +abstract class FilesTrashbinCapabilities_Files + implements + FilesTrashbinCapabilities_FilesInterface, + Built { + factory FilesTrashbinCapabilities_Files([final void Function(FilesTrashbinCapabilities_FilesBuilder)? b]) = + _$FilesTrashbinCapabilities_Files; // coverage:ignore-start - const FilesCapabilities_Files._(); + const FilesTrashbinCapabilities_Files._(); // coverage:ignore-end // coverage:ignore-start - factory FilesCapabilities_Files.fromJson(final Map json) => + factory FilesTrashbinCapabilities_Files.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6397,24 +7535,25 @@ abstract class FilesCapabilities_Files Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$filesCapabilitiesFilesSerializer; + static Serializer get serializer => _$filesTrashbinCapabilitiesFilesSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesCapabilitiesInterface { - FilesCapabilities_Files get files; +abstract interface class FilesTrashbinCapabilitiesInterface { + FilesTrashbinCapabilities_Files get files; } -abstract class FilesCapabilities - implements FilesCapabilitiesInterface, Built { - factory FilesCapabilities([final void Function(FilesCapabilitiesBuilder)? b]) = _$FilesCapabilities; +abstract class FilesTrashbinCapabilities + implements FilesTrashbinCapabilitiesInterface, Built { + factory FilesTrashbinCapabilities([final void Function(FilesTrashbinCapabilitiesBuilder)? b]) = + _$FilesTrashbinCapabilities; // coverage:ignore-start - const FilesCapabilities._(); + const FilesTrashbinCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory FilesCapabilities.fromJson(final Map json) => + factory FilesTrashbinCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6422,30 +7561,31 @@ abstract class FilesCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$filesCapabilitiesSerializer; + static Serializer get serializer => _$filesTrashbinCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_Public_PasswordInterface { - bool get enforced; - bool get askForOptionalPassword; +abstract interface class FilesVersionsCapabilities_FilesInterface { + bool get versioning; + @BuiltValueField(wireName: 'version_labeling') + bool get versionLabeling; + @BuiltValueField(wireName: 'version_deletion') + bool get versionDeletion; } -abstract class FilesSharingCapabilities_FilesSharing_Public_Password +abstract class FilesVersionsCapabilities_Files implements - FilesSharingCapabilities_FilesSharing_Public_PasswordInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Public_Password([ - final void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Public_Password; + FilesVersionsCapabilities_FilesInterface, + Built { + factory FilesVersionsCapabilities_Files([final void Function(FilesVersionsCapabilities_FilesBuilder)? b]) = + _$FilesVersionsCapabilities_Files; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Public_Password._(); + const FilesVersionsCapabilities_Files._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Public_Password.fromJson(final Map json) => + factory FilesVersionsCapabilities_Files.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6453,32 +7593,25 @@ abstract class FilesSharingCapabilities_FilesSharing_Public_Password Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingPublicPasswordSerializer; + static Serializer get serializer => _$filesVersionsCapabilitiesFilesSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterface { - bool get enabled; - int? get days; - bool? get enforced; +abstract interface class FilesVersionsCapabilitiesInterface { + FilesVersionsCapabilities_Files get files; } -abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDate - implements - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Public_ExpireDate([ - final void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate; +abstract class FilesVersionsCapabilities + implements FilesVersionsCapabilitiesInterface, Built { + factory FilesVersionsCapabilities([final void Function(FilesVersionsCapabilitiesBuilder)? b]) = + _$FilesVersionsCapabilities; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Public_ExpireDate._(); + const FilesVersionsCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Public_ExpireDate.fromJson(final Map json) => + factory FilesVersionsCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6486,32 +7619,26 @@ abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDate Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingPublicExpireDateSerializer; + static Serializer get serializer => _$filesVersionsCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterface { - bool get enabled; - int? get days; - bool? get enforced; +abstract interface class NotesCapabilities_NotesInterface { + @BuiltValueField(wireName: 'api_version') + BuiltList? get apiVersion; + String? get version; } -abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal - implements - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal([ - final void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal; +abstract class NotesCapabilities_Notes + implements NotesCapabilities_NotesInterface, Built { + factory NotesCapabilities_Notes([final void Function(NotesCapabilities_NotesBuilder)? b]) = _$NotesCapabilities_Notes; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._(); + const NotesCapabilities_Notes._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal.fromJson(final Map json) => + factory NotesCapabilities_Notes.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6519,32 +7646,24 @@ abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingPublicExpireDateInternalSerializer; + static Serializer get serializer => _$notesCapabilitiesNotesSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterface { - bool get enabled; - int? get days; - bool? get enforced; +abstract interface class NotesCapabilitiesInterface { + NotesCapabilities_Notes get notes; } -abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote - implements - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote([ - final void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote; +abstract class NotesCapabilities + implements NotesCapabilitiesInterface, Built { + factory NotesCapabilities([final void Function(NotesCapabilitiesBuilder)? b]) = _$NotesCapabilities; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._(); + const NotesCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote.fromJson(final Map json) => + factory NotesCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6552,43 +7671,32 @@ abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingPublicExpireDateRemoteSerializer; + static Serializer get serializer => _$notesCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_PublicInterface { - bool get enabled; - FilesSharingCapabilities_FilesSharing_Public_Password? get password; - @BuiltValueField(wireName: 'multiple_links') - bool? get multipleLinks; - @BuiltValueField(wireName: 'expire_date') - FilesSharingCapabilities_FilesSharing_Public_ExpireDate? get expireDate; - @BuiltValueField(wireName: 'expire_date_internal') - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? get expireDateInternal; - @BuiltValueField(wireName: 'expire_date_remote') - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? get expireDateRemote; - @BuiltValueField(wireName: 'send_mail') - bool? get sendMail; - bool? get upload; - @BuiltValueField(wireName: 'upload_files_drop') - bool? get uploadFilesDrop; +abstract interface class NotificationsCapabilities_NotificationsInterface { + @BuiltValueField(wireName: 'ocs-endpoints') + BuiltList get ocsEndpoints; + BuiltList get push; + @BuiltValueField(wireName: 'admin-notifications') + BuiltList get adminNotifications; } -abstract class FilesSharingCapabilities_FilesSharing_Public +abstract class NotificationsCapabilities_Notifications implements - FilesSharingCapabilities_FilesSharing_PublicInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Public([ - final void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Public; + NotificationsCapabilities_NotificationsInterface, + Built { + factory NotificationsCapabilities_Notifications([ + final void Function(NotificationsCapabilities_NotificationsBuilder)? b, + ]) = _$NotificationsCapabilities_Notifications; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Public._(); + const NotificationsCapabilities_Notifications._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Public.fromJson(final Map json) => + factory NotificationsCapabilities_Notifications.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6596,30 +7704,26 @@ abstract class FilesSharingCapabilities_FilesSharing_Public Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingPublicSerializer; + static Serializer get serializer => + _$notificationsCapabilitiesNotificationsSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_User_ExpireDateInterface { - bool get enabled; +abstract interface class NotificationsCapabilitiesInterface { + NotificationsCapabilities_Notifications get notifications; } -abstract class FilesSharingCapabilities_FilesSharing_User_ExpireDate - implements - FilesSharingCapabilities_FilesSharing_User_ExpireDateInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_User_ExpireDate([ - final void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_User_ExpireDate; +abstract class NotificationsCapabilities + implements NotificationsCapabilitiesInterface, Built { + factory NotificationsCapabilities([final void Function(NotificationsCapabilitiesBuilder)? b]) = + _$NotificationsCapabilities; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_User_ExpireDate._(); + const NotificationsCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_User_ExpireDate.fromJson(final Map json) => + factory NotificationsCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6627,32 +7731,34 @@ abstract class FilesSharingCapabilities_FilesSharing_User_ExpireDate Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingUserExpireDateSerializer; + static Serializer get serializer => _$notificationsCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_UserInterface { - @BuiltValueField(wireName: 'send_mail') - bool get sendMail; - @BuiltValueField(wireName: 'expire_date') - FilesSharingCapabilities_FilesSharing_User_ExpireDate? get expireDate; +abstract interface class ProvisioningApiCapabilities_ProvisioningApiInterface { + String get version; + @BuiltValueField(wireName: 'AccountPropertyScopesVersion') + int get accountPropertyScopesVersion; + @BuiltValueField(wireName: 'AccountPropertyScopesFederatedEnabled') + bool get accountPropertyScopesFederatedEnabled; + @BuiltValueField(wireName: 'AccountPropertyScopesPublishedEnabled') + bool get accountPropertyScopesPublishedEnabled; } -abstract class FilesSharingCapabilities_FilesSharing_User +abstract class ProvisioningApiCapabilities_ProvisioningApi implements - FilesSharingCapabilities_FilesSharing_UserInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_User([ - final void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_User; + ProvisioningApiCapabilities_ProvisioningApiInterface, + Built { + factory ProvisioningApiCapabilities_ProvisioningApi([ + final void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? b, + ]) = _$ProvisioningApiCapabilities_ProvisioningApi; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_User._(); + const ProvisioningApiCapabilities_ProvisioningApi._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_User.fromJson(final Map json) => + factory ProvisioningApiCapabilities_ProvisioningApi.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6660,30 +7766,29 @@ abstract class FilesSharingCapabilities_FilesSharing_User Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingUserSerializer; + static Serializer get serializer => + _$provisioningApiCapabilitiesProvisioningApiSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterface { - bool get enabled; +abstract interface class ProvisioningApiCapabilitiesInterface { + @BuiltValueField(wireName: 'provisioning_api') + ProvisioningApiCapabilities_ProvisioningApi get provisioningApi; } -abstract class FilesSharingCapabilities_FilesSharing_Group_ExpireDate +abstract class ProvisioningApiCapabilities implements - FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Group_ExpireDate([ - final void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate; + ProvisioningApiCapabilitiesInterface, + Built { + factory ProvisioningApiCapabilities([final void Function(ProvisioningApiCapabilitiesBuilder)? b]) = + _$ProvisioningApiCapabilities; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Group_ExpireDate._(); + const ProvisioningApiCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Group_ExpireDate.fromJson(final Map json) => + factory ProvisioningApiCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6691,31 +7796,29 @@ abstract class FilesSharingCapabilities_FilesSharing_Group_ExpireDate Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingGroupExpireDateSerializer; + static Serializer get serializer => _$provisioningApiCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_GroupInterface { +abstract interface class SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropInterface { bool get enabled; - @BuiltValueField(wireName: 'expire_date') - FilesSharingCapabilities_FilesSharing_Group_ExpireDate? get expireDate; } -abstract class FilesSharingCapabilities_FilesSharing_Group +abstract class SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop implements - FilesSharingCapabilities_FilesSharing_GroupInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Group([ - final void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Group; + SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropInterface, + Built { + factory SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop([ + final void Function(SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder)? b, + ]) = _$SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Group._(); + const SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Group.fromJson(final Map json) => + factory SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6723,30 +7826,31 @@ abstract class FilesSharingCapabilities_FilesSharing_Group Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingGroupSerializer; + static Serializer get serializer => + _$sharebymailCapabilities0FilesSharingSharebymailUploadFilesDropSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterface { +abstract interface class SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordInterface { bool get enabled; + bool get enforced; } -abstract class FilesSharingCapabilities_FilesSharing_Federation_ExpireDate +abstract class SharebymailCapabilities0_FilesSharing_Sharebymail_Password implements - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDate([ - final void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate; + SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordInterface, + Built { + factory SharebymailCapabilities0_FilesSharing_Sharebymail_Password([ + final void Function(SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordBuilder)? b, + ]) = _$SharebymailCapabilities0_FilesSharing_Sharebymail_Password; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._(); + const SharebymailCapabilities0_FilesSharing_Sharebymail_Password._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDate.fromJson(final Map json) => + factory SharebymailCapabilities0_FilesSharing_Sharebymail_Password.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6754,32 +7858,31 @@ abstract class FilesSharingCapabilities_FilesSharing_Federation_ExpireDate Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingFederationExpireDateSerializer; + static Serializer get serializer => + _$sharebymailCapabilities0FilesSharingSharebymailPasswordSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterface { +abstract interface class SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateInterface { bool get enabled; + bool get enforced; } -abstract class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported +abstract class SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate implements - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported([ - final void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported; + SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateInterface, + Built { + factory SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate([ + final void Function(SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateBuilder)? b, + ]) = _$SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._(); + const SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported.fromJson( - final Map json, - ) => + factory SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6787,35 +7890,37 @@ abstract class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSuppor Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingFederationExpireDateSupportedSerializer; + static Serializer get serializer => + _$sharebymailCapabilities0FilesSharingSharebymailExpireDateSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_FederationInterface { - bool get outgoing; - bool get incoming; +abstract interface class SharebymailCapabilities0_FilesSharing_SharebymailInterface { + bool get enabled; + @BuiltValueField(wireName: 'send_password_by_mail') + bool get sendPasswordByMail; + @BuiltValueField(wireName: 'upload_files_drop') + SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop get uploadFilesDrop; + SharebymailCapabilities0_FilesSharing_Sharebymail_Password get password; @BuiltValueField(wireName: 'expire_date') - FilesSharingCapabilities_FilesSharing_Federation_ExpireDate get expireDate; - @BuiltValueField(wireName: 'expire_date_supported') - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported get expireDateSupported; + SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate get expireDate; } -abstract class FilesSharingCapabilities_FilesSharing_Federation +abstract class SharebymailCapabilities0_FilesSharing_Sharebymail implements - FilesSharingCapabilities_FilesSharing_FederationInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Federation([ - final void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Federation; + SharebymailCapabilities0_FilesSharing_SharebymailInterface, + Built { + factory SharebymailCapabilities0_FilesSharing_Sharebymail([ + final void Function(SharebymailCapabilities0_FilesSharing_SharebymailBuilder)? b, + ]) = _$SharebymailCapabilities0_FilesSharing_Sharebymail; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Federation._(); + const SharebymailCapabilities0_FilesSharing_Sharebymail._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Federation.fromJson(final Map json) => + factory SharebymailCapabilities0_FilesSharing_Sharebymail.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6823,32 +7928,29 @@ abstract class FilesSharingCapabilities_FilesSharing_Federation Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingFederationSerializer; + static Serializer get serializer => + _$sharebymailCapabilities0FilesSharingSharebymailSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_ShareeInterface { - @BuiltValueField(wireName: 'query_lookup_default') - bool get queryLookupDefault; - @BuiltValueField(wireName: 'always_show_unique') - bool get alwaysShowUnique; +abstract interface class SharebymailCapabilities0_FilesSharingInterface { + SharebymailCapabilities0_FilesSharing_Sharebymail get sharebymail; } -abstract class FilesSharingCapabilities_FilesSharing_Sharee +abstract class SharebymailCapabilities0_FilesSharing implements - FilesSharingCapabilities_FilesSharing_ShareeInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Sharee([ - final void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Sharee; + SharebymailCapabilities0_FilesSharingInterface, + Built { + factory SharebymailCapabilities0_FilesSharing([ + final void Function(SharebymailCapabilities0_FilesSharingBuilder)? b, + ]) = _$SharebymailCapabilities0_FilesSharing; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Sharee._(); + const SharebymailCapabilities0_FilesSharing._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Sharee.fromJson(final Map json) => + factory SharebymailCapabilities0_FilesSharing.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6856,40 +7958,27 @@ abstract class FilesSharingCapabilities_FilesSharing_Sharee Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingShareeSerializer; + static Serializer get serializer => + _$sharebymailCapabilities0FilesSharingSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharingInterface { - @BuiltValueField(wireName: 'api_enabled') - bool get apiEnabled; - FilesSharingCapabilities_FilesSharing_Public get public; - FilesSharingCapabilities_FilesSharing_User get user; - bool get resharing; - @BuiltValueField(wireName: 'group_sharing') - bool? get groupSharing; - FilesSharingCapabilities_FilesSharing_Group? get group; - @BuiltValueField(wireName: 'default_permissions') - int? get defaultPermissions; - FilesSharingCapabilities_FilesSharing_Federation get federation; - FilesSharingCapabilities_FilesSharing_Sharee get sharee; +abstract interface class SharebymailCapabilities0Interface { + @BuiltValueField(wireName: 'files_sharing') + SharebymailCapabilities0_FilesSharing get filesSharing; } -abstract class FilesSharingCapabilities_FilesSharing - implements - FilesSharingCapabilities_FilesSharingInterface, - Built { - factory FilesSharingCapabilities_FilesSharing([ - final void Function(FilesSharingCapabilities_FilesSharingBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing; +abstract class SharebymailCapabilities0 + implements SharebymailCapabilities0Interface, Built { + factory SharebymailCapabilities0([final void Function(SharebymailCapabilities0Builder)? b]) = + _$SharebymailCapabilities0; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing._(); + const SharebymailCapabilities0._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing.fromJson(final Map json) => + factory SharebymailCapabilities0.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6897,27 +7986,25 @@ abstract class FilesSharingCapabilities_FilesSharing Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingSerializer; + static Serializer get serializer => _$sharebymailCapabilities0Serializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilitiesInterface { - @BuiltValueField(wireName: 'files_sharing') - FilesSharingCapabilities_FilesSharing get filesSharing; +abstract interface class SharebymailCapabilitiesInterface { + SharebymailCapabilities0? get sharebymailCapabilities0; + BuiltList? get builtListJsonObject; } -abstract class FilesSharingCapabilities - implements FilesSharingCapabilitiesInterface, Built { - factory FilesSharingCapabilities([final void Function(FilesSharingCapabilitiesBuilder)? b]) = - _$FilesSharingCapabilities; +abstract class SharebymailCapabilities + implements SharebymailCapabilitiesInterface, Built { + factory SharebymailCapabilities([final void Function(SharebymailCapabilitiesBuilder)? b]) = _$SharebymailCapabilities; // coverage:ignore-start - const FilesSharingCapabilities._(); + const SharebymailCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities.fromJson(final Map json) => + factory SharebymailCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6925,27 +8012,83 @@ abstract class FilesSharingCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$filesSharingCapabilitiesSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$SharebymailCapabilitiesSerializer(); + + JsonObject get data; + @BuiltValueHook(finalizeBuilder: true) + static void _validate(final SharebymailCapabilitiesBuilder b) { + // When this is rebuild from another builder + if (b._data == null) { + return; + } + + final match = [b._sharebymailCapabilities0, b._builtListJsonObject].singleWhereOrNull((final x) => x != null); + if (match == null) { + throw StateError("Need exactly one of 'sharebymailCapabilities0', 'builtListJsonObject' for ${b._data}"); + } + } +} + +class _$SharebymailCapabilitiesSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [SharebymailCapabilities, _$SharebymailCapabilities]; + + @override + final String wireName = 'SharebymailCapabilities'; + + @override + Object serialize( + final Serializers serializers, + final SharebymailCapabilities object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + SharebymailCapabilities deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = SharebymailCapabilitiesBuilder()..data = JsonObject(data); + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(SharebymailCapabilities0))! + as SharebymailCapabilities0; + result.sharebymailCapabilities0.replace(value); + } catch (_) {} + try { + final value = _jsonSerializers.deserialize( + data, + specifiedType: const FullType(BuiltList, [FullType(JsonObject)]), + )! as BuiltList; + result.builtListJsonObject.replace(value); + } catch (_) {} + return result.build(); + } } @BuiltValue(instantiable: false) -abstract interface class FilesTrashbinCapabilities_FilesInterface { - bool get undelete; +abstract interface class SpreedPublicCapabilities0_Spreed_Config_AttachmentsInterface { + bool get allowed; + String? get folder; } -abstract class FilesTrashbinCapabilities_Files +abstract class SpreedPublicCapabilities0_Spreed_Config_Attachments implements - FilesTrashbinCapabilities_FilesInterface, - Built { - factory FilesTrashbinCapabilities_Files([final void Function(FilesTrashbinCapabilities_FilesBuilder)? b]) = - _$FilesTrashbinCapabilities_Files; + SpreedPublicCapabilities0_Spreed_Config_AttachmentsInterface, + Built { + factory SpreedPublicCapabilities0_Spreed_Config_Attachments([ + final void Function(SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder)? b, + ]) = _$SpreedPublicCapabilities0_Spreed_Config_Attachments; // coverage:ignore-start - const FilesTrashbinCapabilities_Files._(); + const SpreedPublicCapabilities0_Spreed_Config_Attachments._(); // coverage:ignore-end // coverage:ignore-start - factory FilesTrashbinCapabilities_Files.fromJson(final Map json) => + factory SpreedPublicCapabilities0_Spreed_Config_Attachments.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6953,25 +8096,46 @@ abstract class FilesTrashbinCapabilities_Files Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$filesTrashbinCapabilitiesFilesSerializer; + static Serializer get serializer => + _$spreedPublicCapabilities0SpreedConfigAttachmentsSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesTrashbinCapabilitiesInterface { - FilesTrashbinCapabilities_Files get files; +abstract interface class SpreedPublicCapabilities0_Spreed_Config_CallInterface { + bool get enabled; + @BuiltValueField(wireName: 'breakout-rooms') + bool get breakoutRooms; + bool get recording; + @BuiltValueField(wireName: 'recording-consent') + int? get recordingConsent; + @BuiltValueField(wireName: 'supported-reactions') + BuiltList get supportedReactions; + @BuiltValueField(wireName: 'predefined-backgrounds') + BuiltList get predefinedBackgrounds; + @BuiltValueField(wireName: 'can-upload-background') + bool get canUploadBackground; + @BuiltValueField(wireName: 'sip-enabled') + bool? get sipEnabled; + @BuiltValueField(wireName: 'sip-dialout-enabled') + bool? get sipDialoutEnabled; + @BuiltValueField(wireName: 'can-enable-sip') + bool? get canEnableSip; } -abstract class FilesTrashbinCapabilities - implements FilesTrashbinCapabilitiesInterface, Built { - factory FilesTrashbinCapabilities([final void Function(FilesTrashbinCapabilitiesBuilder)? b]) = - _$FilesTrashbinCapabilities; +abstract class SpreedPublicCapabilities0_Spreed_Config_Call + implements + SpreedPublicCapabilities0_Spreed_Config_CallInterface, + Built { + factory SpreedPublicCapabilities0_Spreed_Config_Call([ + final void Function(SpreedPublicCapabilities0_Spreed_Config_CallBuilder)? b, + ]) = _$SpreedPublicCapabilities0_Spreed_Config_Call; // coverage:ignore-start - const FilesTrashbinCapabilities._(); + const SpreedPublicCapabilities0_Spreed_Config_Call._(); // coverage:ignore-end // coverage:ignore-start - factory FilesTrashbinCapabilities.fromJson(final Map json) => + factory SpreedPublicCapabilities0_Spreed_Config_Call.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6979,31 +8143,37 @@ abstract class FilesTrashbinCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$filesTrashbinCapabilitiesSerializer; + static Serializer get serializer => + _$spreedPublicCapabilities0SpreedConfigCallSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesVersionsCapabilities_FilesInterface { - bool get versioning; - @BuiltValueField(wireName: 'version_labeling') - bool get versionLabeling; - @BuiltValueField(wireName: 'version_deletion') - bool get versionDeletion; +abstract interface class SpreedPublicCapabilities0_Spreed_Config_ChatInterface { + @BuiltValueField(wireName: 'max-length') + int get maxLength; + @BuiltValueField(wireName: 'read-privacy') + int get readPrivacy; + @BuiltValueField(wireName: 'has-translation-providers') + bool? get hasTranslationProviders; + @BuiltValueField(wireName: 'typing-privacy') + int get typingPrivacy; + BuiltList? get translations; } -abstract class FilesVersionsCapabilities_Files +abstract class SpreedPublicCapabilities0_Spreed_Config_Chat implements - FilesVersionsCapabilities_FilesInterface, - Built { - factory FilesVersionsCapabilities_Files([final void Function(FilesVersionsCapabilities_FilesBuilder)? b]) = - _$FilesVersionsCapabilities_Files; + SpreedPublicCapabilities0_Spreed_Config_ChatInterface, + Built { + factory SpreedPublicCapabilities0_Spreed_Config_Chat([ + final void Function(SpreedPublicCapabilities0_Spreed_Config_ChatBuilder)? b, + ]) = _$SpreedPublicCapabilities0_Spreed_Config_Chat; // coverage:ignore-start - const FilesVersionsCapabilities_Files._(); + const SpreedPublicCapabilities0_Spreed_Config_Chat._(); // coverage:ignore-end // coverage:ignore-start - factory FilesVersionsCapabilities_Files.fromJson(final Map json) => + factory SpreedPublicCapabilities0_Spreed_Config_Chat.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7011,25 +8181,31 @@ abstract class FilesVersionsCapabilities_Files Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$filesVersionsCapabilitiesFilesSerializer; + static Serializer get serializer => + _$spreedPublicCapabilities0SpreedConfigChatSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesVersionsCapabilitiesInterface { - FilesVersionsCapabilities_Files get files; +abstract interface class SpreedPublicCapabilities0_Spreed_Config_ConversationsInterface { + @BuiltValueField(wireName: 'can-create') + bool get canCreate; } -abstract class FilesVersionsCapabilities - implements FilesVersionsCapabilitiesInterface, Built { - factory FilesVersionsCapabilities([final void Function(FilesVersionsCapabilitiesBuilder)? b]) = - _$FilesVersionsCapabilities; +abstract class SpreedPublicCapabilities0_Spreed_Config_Conversations + implements + SpreedPublicCapabilities0_Spreed_Config_ConversationsInterface, + Built { + factory SpreedPublicCapabilities0_Spreed_Config_Conversations([ + final void Function(SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder)? b, + ]) = _$SpreedPublicCapabilities0_Spreed_Config_Conversations; // coverage:ignore-start - const FilesVersionsCapabilities._(); + const SpreedPublicCapabilities0_Spreed_Config_Conversations._(); // coverage:ignore-end // coverage:ignore-start - factory FilesVersionsCapabilities.fromJson(final Map json) => + factory SpreedPublicCapabilities0_Spreed_Config_Conversations.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7037,26 +8213,31 @@ abstract class FilesVersionsCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$filesVersionsCapabilitiesSerializer; + static Serializer get serializer => + _$spreedPublicCapabilities0SpreedConfigConversationsSerializer; } @BuiltValue(instantiable: false) -abstract interface class NotesCapabilities_NotesInterface { - @BuiltValueField(wireName: 'api_version') - BuiltList? get apiVersion; - String? get version; +abstract interface class SpreedPublicCapabilities0_Spreed_Config_PreviewsInterface { + @BuiltValueField(wireName: 'max-gif-size') + int get maxGifSize; } -abstract class NotesCapabilities_Notes - implements NotesCapabilities_NotesInterface, Built { - factory NotesCapabilities_Notes([final void Function(NotesCapabilities_NotesBuilder)? b]) = _$NotesCapabilities_Notes; +abstract class SpreedPublicCapabilities0_Spreed_Config_Previews + implements + SpreedPublicCapabilities0_Spreed_Config_PreviewsInterface, + Built { + factory SpreedPublicCapabilities0_Spreed_Config_Previews([ + final void Function(SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder)? b, + ]) = _$SpreedPublicCapabilities0_Spreed_Config_Previews; // coverage:ignore-start - const NotesCapabilities_Notes._(); + const SpreedPublicCapabilities0_Spreed_Config_Previews._(); // coverage:ignore-end // coverage:ignore-start - factory NotesCapabilities_Notes.fromJson(final Map json) => + factory SpreedPublicCapabilities0_Spreed_Config_Previews.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7064,24 +8245,33 @@ abstract class NotesCapabilities_Notes Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$notesCapabilitiesNotesSerializer; + static Serializer get serializer => + _$spreedPublicCapabilities0SpreedConfigPreviewsSerializer; } @BuiltValue(instantiable: false) -abstract interface class NotesCapabilitiesInterface { - NotesCapabilities_Notes get notes; +abstract interface class SpreedPublicCapabilities0_Spreed_Config_SignalingInterface { + @BuiltValueField(wireName: 'session-ping-limit') + int get sessionPingLimit; + @BuiltValueField(wireName: 'hello-v2-token-key') + String? get helloV2TokenKey; } -abstract class NotesCapabilities - implements NotesCapabilitiesInterface, Built { - factory NotesCapabilities([final void Function(NotesCapabilitiesBuilder)? b]) = _$NotesCapabilities; +abstract class SpreedPublicCapabilities0_Spreed_Config_Signaling + implements + SpreedPublicCapabilities0_Spreed_Config_SignalingInterface, + Built { + factory SpreedPublicCapabilities0_Spreed_Config_Signaling([ + final void Function(SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder)? b, + ]) = _$SpreedPublicCapabilities0_Spreed_Config_Signaling; // coverage:ignore-start - const NotesCapabilities._(); + const SpreedPublicCapabilities0_Spreed_Config_Signaling._(); // coverage:ignore-end // coverage:ignore-start - factory NotesCapabilities.fromJson(final Map json) => + factory SpreedPublicCapabilities0_Spreed_Config_Signaling.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7089,32 +8279,34 @@ abstract class NotesCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$notesCapabilitiesSerializer; + static Serializer get serializer => + _$spreedPublicCapabilities0SpreedConfigSignalingSerializer; } @BuiltValue(instantiable: false) -abstract interface class NotificationsCapabilities_NotificationsInterface { - @BuiltValueField(wireName: 'ocs-endpoints') - BuiltList get ocsEndpoints; - BuiltList get push; - @BuiltValueField(wireName: 'admin-notifications') - BuiltList get adminNotifications; +abstract interface class SpreedPublicCapabilities0_Spreed_ConfigInterface { + SpreedPublicCapabilities0_Spreed_Config_Attachments get attachments; + SpreedPublicCapabilities0_Spreed_Config_Call get call; + SpreedPublicCapabilities0_Spreed_Config_Chat get chat; + SpreedPublicCapabilities0_Spreed_Config_Conversations get conversations; + SpreedPublicCapabilities0_Spreed_Config_Previews get previews; + SpreedPublicCapabilities0_Spreed_Config_Signaling get signaling; } -abstract class NotificationsCapabilities_Notifications +abstract class SpreedPublicCapabilities0_Spreed_Config implements - NotificationsCapabilities_NotificationsInterface, - Built { - factory NotificationsCapabilities_Notifications([ - final void Function(NotificationsCapabilities_NotificationsBuilder)? b, - ]) = _$NotificationsCapabilities_Notifications; + SpreedPublicCapabilities0_Spreed_ConfigInterface, + Built { + factory SpreedPublicCapabilities0_Spreed_Config([ + final void Function(SpreedPublicCapabilities0_Spreed_ConfigBuilder)? b, + ]) = _$SpreedPublicCapabilities0_Spreed_Config; // coverage:ignore-start - const NotificationsCapabilities_Notifications._(); + const SpreedPublicCapabilities0_Spreed_Config._(); // coverage:ignore-end // coverage:ignore-start - factory NotificationsCapabilities_Notifications.fromJson(final Map json) => + factory SpreedPublicCapabilities0_Spreed_Config.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7122,26 +8314,30 @@ abstract class NotificationsCapabilities_Notifications Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$notificationsCapabilitiesNotificationsSerializer; + static Serializer get serializer => + _$spreedPublicCapabilities0SpreedConfigSerializer; } @BuiltValue(instantiable: false) -abstract interface class NotificationsCapabilitiesInterface { - NotificationsCapabilities_Notifications get notifications; +abstract interface class SpreedPublicCapabilities0_SpreedInterface { + BuiltList get features; + SpreedPublicCapabilities0_Spreed_Config get config; + String get version; } -abstract class NotificationsCapabilities - implements NotificationsCapabilitiesInterface, Built { - factory NotificationsCapabilities([final void Function(NotificationsCapabilitiesBuilder)? b]) = - _$NotificationsCapabilities; +abstract class SpreedPublicCapabilities0_Spreed + implements + SpreedPublicCapabilities0_SpreedInterface, + Built { + factory SpreedPublicCapabilities0_Spreed([final void Function(SpreedPublicCapabilities0_SpreedBuilder)? b]) = + _$SpreedPublicCapabilities0_Spreed; // coverage:ignore-start - const NotificationsCapabilities._(); + const SpreedPublicCapabilities0_Spreed._(); // coverage:ignore-end // coverage:ignore-start - factory NotificationsCapabilities.fromJson(final Map json) => + factory SpreedPublicCapabilities0_Spreed.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7149,34 +8345,25 @@ abstract class NotificationsCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$notificationsCapabilitiesSerializer; + static Serializer get serializer => _$spreedPublicCapabilities0SpreedSerializer; } @BuiltValue(instantiable: false) -abstract interface class ProvisioningApiCapabilities_ProvisioningApiInterface { - String get version; - @BuiltValueField(wireName: 'AccountPropertyScopesVersion') - int get accountPropertyScopesVersion; - @BuiltValueField(wireName: 'AccountPropertyScopesFederatedEnabled') - bool get accountPropertyScopesFederatedEnabled; - @BuiltValueField(wireName: 'AccountPropertyScopesPublishedEnabled') - bool get accountPropertyScopesPublishedEnabled; +abstract interface class SpreedPublicCapabilities0Interface { + SpreedPublicCapabilities0_Spreed get spreed; } -abstract class ProvisioningApiCapabilities_ProvisioningApi - implements - ProvisioningApiCapabilities_ProvisioningApiInterface, - Built { - factory ProvisioningApiCapabilities_ProvisioningApi([ - final void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? b, - ]) = _$ProvisioningApiCapabilities_ProvisioningApi; +abstract class SpreedPublicCapabilities0 + implements SpreedPublicCapabilities0Interface, Built { + factory SpreedPublicCapabilities0([final void Function(SpreedPublicCapabilities0Builder)? b]) = + _$SpreedPublicCapabilities0; // coverage:ignore-start - const ProvisioningApiCapabilities_ProvisioningApi._(); + const SpreedPublicCapabilities0._(); // coverage:ignore-end // coverage:ignore-start - factory ProvisioningApiCapabilities_ProvisioningApi.fromJson(final Map json) => + factory SpreedPublicCapabilities0.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7184,29 +8371,26 @@ abstract class ProvisioningApiCapabilities_ProvisioningApi Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$provisioningApiCapabilitiesProvisioningApiSerializer; + static Serializer get serializer => _$spreedPublicCapabilities0Serializer; } @BuiltValue(instantiable: false) -abstract interface class ProvisioningApiCapabilitiesInterface { - @BuiltValueField(wireName: 'provisioning_api') - ProvisioningApiCapabilities_ProvisioningApi get provisioningApi; +abstract interface class SpreedPublicCapabilitiesInterface { + SpreedPublicCapabilities0? get spreedPublicCapabilities0; + BuiltList? get builtListJsonObject; } -abstract class ProvisioningApiCapabilities - implements - ProvisioningApiCapabilitiesInterface, - Built { - factory ProvisioningApiCapabilities([final void Function(ProvisioningApiCapabilitiesBuilder)? b]) = - _$ProvisioningApiCapabilities; +abstract class SpreedPublicCapabilities + implements SpreedPublicCapabilitiesInterface, Built { + factory SpreedPublicCapabilities([final void Function(SpreedPublicCapabilitiesBuilder)? b]) = + _$SpreedPublicCapabilities; // coverage:ignore-start - const ProvisioningApiCapabilities._(); + const SpreedPublicCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory ProvisioningApiCapabilities.fromJson(final Map json) => + factory SpreedPublicCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7214,29 +8398,99 @@ abstract class ProvisioningApiCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$provisioningApiCapabilitiesSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$SpreedPublicCapabilitiesSerializer(); + + JsonObject get data; + @BuiltValueHook(finalizeBuilder: true) + static void _validate(final SpreedPublicCapabilitiesBuilder b) { + // When this is rebuild from another builder + if (b._data == null) { + return; + } + + final match = [b._spreedPublicCapabilities0, b._builtListJsonObject].firstWhereOrNull((final x) => x != null); + if (match == null) { + throw StateError("Need at least one of 'spreedPublicCapabilities0', 'builtListJsonObject' for ${b._data}"); + } + } +} + +class _$SpreedPublicCapabilitiesSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [SpreedPublicCapabilities, _$SpreedPublicCapabilities]; + + @override + final String wireName = 'SpreedPublicCapabilities'; + + @override + Object serialize( + final Serializers serializers, + final SpreedPublicCapabilities object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + SpreedPublicCapabilities deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = SpreedPublicCapabilitiesBuilder()..data = JsonObject(data); + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(SpreedPublicCapabilities0))! + as SpreedPublicCapabilities0; + result.spreedPublicCapabilities0.replace(value); + } catch (_) {} + try { + final value = _jsonSerializers.deserialize( + data, + specifiedType: const FullType(BuiltList, [FullType(JsonObject)]), + )! as BuiltList; + result.builtListJsonObject.replace(value); + } catch (_) {} + return result.build(); + } } @BuiltValue(instantiable: false) -abstract interface class SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterface { - bool get enabled; +abstract interface class ThemingPublicCapabilities_ThemingInterface { + 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; } -abstract class SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop +abstract class ThemingPublicCapabilities_Theming implements - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterface, - Built { - factory SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop([ - final void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? b, - ]) = _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop; + ThemingPublicCapabilities_ThemingInterface, + Built { + factory ThemingPublicCapabilities_Theming([final void Function(ThemingPublicCapabilities_ThemingBuilder)? b]) = + _$ThemingPublicCapabilities_Theming; // coverage:ignore-start - const SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop._(); + const ThemingPublicCapabilities_Theming._(); // coverage:ignore-end // coverage:ignore-start - factory SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop.fromJson(final Map json) => + factory ThemingPublicCapabilities_Theming.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7244,31 +8498,25 @@ abstract class SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$sharebymailCapabilitiesFilesSharingSharebymailUploadFilesDropSerializer; + static Serializer get serializer => _$themingPublicCapabilitiesThemingSerializer; } @BuiltValue(instantiable: false) -abstract interface class SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterface { - bool get enabled; - bool get enforced; +abstract interface class ThemingPublicCapabilitiesInterface { + ThemingPublicCapabilities_Theming get theming; } -abstract class SharebymailCapabilities_FilesSharing_Sharebymail_Password - implements - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterface, - Built { - factory SharebymailCapabilities_FilesSharing_Sharebymail_Password([ - final void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder)? b, - ]) = _$SharebymailCapabilities_FilesSharing_Sharebymail_Password; +abstract class ThemingPublicCapabilities + implements ThemingPublicCapabilitiesInterface, Built { + factory ThemingPublicCapabilities([final void Function(ThemingPublicCapabilitiesBuilder)? b]) = + _$ThemingPublicCapabilities; // coverage:ignore-start - const SharebymailCapabilities_FilesSharing_Sharebymail_Password._(); + const ThemingPublicCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory SharebymailCapabilities_FilesSharing_Sharebymail_Password.fromJson(final Map json) => + factory ThemingPublicCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7276,31 +8524,30 @@ abstract class SharebymailCapabilities_FilesSharing_Sharebymail_Password Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$sharebymailCapabilitiesFilesSharingSharebymailPasswordSerializer; + static Serializer get serializer => _$themingPublicCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterface { +abstract interface class UserStatusCapabilities_UserStatusInterface { bool get enabled; - bool get enforced; + bool get restore; + @BuiltValueField(wireName: 'supports_emoji') + bool get supportsEmoji; } -abstract class SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate +abstract class UserStatusCapabilities_UserStatus implements - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterface, - Built { - factory SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate([ - final void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? b, - ]) = _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate; + UserStatusCapabilities_UserStatusInterface, + Built { + factory UserStatusCapabilities_UserStatus([final void Function(UserStatusCapabilities_UserStatusBuilder)? b]) = + _$UserStatusCapabilities_UserStatus; // coverage:ignore-start - const SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate._(); + const UserStatusCapabilities_UserStatus._(); // coverage:ignore-end // coverage:ignore-start - factory SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate.fromJson(final Map json) => + factory UserStatusCapabilities_UserStatus.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7308,37 +8555,25 @@ abstract class SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$sharebymailCapabilitiesFilesSharingSharebymailExpireDateSerializer; + static Serializer get serializer => _$userStatusCapabilitiesUserStatusSerializer; } @BuiltValue(instantiable: false) -abstract interface class SharebymailCapabilities_FilesSharing_SharebymailInterface { - bool get enabled; - @BuiltValueField(wireName: 'send_password_by_mail') - bool get sendPasswordByMail; - @BuiltValueField(wireName: 'upload_files_drop') - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop get uploadFilesDrop; - SharebymailCapabilities_FilesSharing_Sharebymail_Password get password; - @BuiltValueField(wireName: 'expire_date') - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate get expireDate; +abstract interface class UserStatusCapabilitiesInterface { + @BuiltValueField(wireName: 'user_status') + UserStatusCapabilities_UserStatus get userStatus; } -abstract class SharebymailCapabilities_FilesSharing_Sharebymail - implements - SharebymailCapabilities_FilesSharing_SharebymailInterface, - Built { - factory SharebymailCapabilities_FilesSharing_Sharebymail([ - final void Function(SharebymailCapabilities_FilesSharing_SharebymailBuilder)? b, - ]) = _$SharebymailCapabilities_FilesSharing_Sharebymail; +abstract class UserStatusCapabilities + implements UserStatusCapabilitiesInterface, Built { + factory UserStatusCapabilities([final void Function(UserStatusCapabilitiesBuilder)? b]) = _$UserStatusCapabilities; // coverage:ignore-start - const SharebymailCapabilities_FilesSharing_Sharebymail._(); + const UserStatusCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory SharebymailCapabilities_FilesSharing_Sharebymail.fromJson(final Map json) => + factory UserStatusCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7346,28 +8581,28 @@ abstract class SharebymailCapabilities_FilesSharing_Sharebymail Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$sharebymailCapabilitiesFilesSharingSharebymailSerializer; + static Serializer get serializer => _$userStatusCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class SharebymailCapabilities_FilesSharingInterface { - SharebymailCapabilities_FilesSharing_Sharebymail get sharebymail; +abstract interface class WeatherStatusCapabilities_WeatherStatusInterface { + bool get enabled; } -abstract class SharebymailCapabilities_FilesSharing +abstract class WeatherStatusCapabilities_WeatherStatus implements - SharebymailCapabilities_FilesSharingInterface, - Built { - factory SharebymailCapabilities_FilesSharing([final void Function(SharebymailCapabilities_FilesSharingBuilder)? b]) = - _$SharebymailCapabilities_FilesSharing; + WeatherStatusCapabilities_WeatherStatusInterface, + Built { + factory WeatherStatusCapabilities_WeatherStatus([ + final void Function(WeatherStatusCapabilities_WeatherStatusBuilder)? b, + ]) = _$WeatherStatusCapabilities_WeatherStatus; // coverage:ignore-start - const SharebymailCapabilities_FilesSharing._(); + const WeatherStatusCapabilities_WeatherStatus._(); // coverage:ignore-end // coverage:ignore-start - factory SharebymailCapabilities_FilesSharing.fromJson(final Map json) => + factory WeatherStatusCapabilities_WeatherStatus.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7375,26 +8610,27 @@ abstract class SharebymailCapabilities_FilesSharing Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$sharebymailCapabilitiesFilesSharingSerializer; + static Serializer get serializer => + _$weatherStatusCapabilitiesWeatherStatusSerializer; } @BuiltValue(instantiable: false) -abstract interface class SharebymailCapabilitiesInterface { - @BuiltValueField(wireName: 'files_sharing') - SharebymailCapabilities_FilesSharing get filesSharing; +abstract interface class WeatherStatusCapabilitiesInterface { + @BuiltValueField(wireName: 'weather_status') + WeatherStatusCapabilities_WeatherStatus get weatherStatus; } -abstract class SharebymailCapabilities - implements SharebymailCapabilitiesInterface, Built { - factory SharebymailCapabilities([final void Function(SharebymailCapabilitiesBuilder)? b]) = _$SharebymailCapabilities; +abstract class WeatherStatusCapabilities + implements WeatherStatusCapabilitiesInterface, Built { + factory WeatherStatusCapabilities([final void Function(WeatherStatusCapabilitiesBuilder)? b]) = + _$WeatherStatusCapabilities; // coverage:ignore-start - const SharebymailCapabilities._(); + const WeatherStatusCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory SharebymailCapabilities.fromJson(final Map json) => + factory WeatherStatusCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7402,30 +8638,42 @@ abstract class SharebymailCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$sharebymailCapabilitiesSerializer; + static Serializer get serializer => _$weatherStatusCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class SpreedPublicCapabilities0_Spreed_Config_AttachmentsInterface { - bool get allowed; - String? get folder; +abstract interface class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterface { + CommentsCapabilities? get commentsCapabilities; + DavCapabilities? get davCapabilities; + FilesCapabilities? get filesCapabilities; + FilesSharingCapabilities? get filesSharingCapabilities; + FilesTrashbinCapabilities? get filesTrashbinCapabilities; + FilesVersionsCapabilities? get filesVersionsCapabilities; + NotesCapabilities? get notesCapabilities; + NotificationsCapabilities? get notificationsCapabilities; + ProvisioningApiCapabilities? get provisioningApiCapabilities; + SharebymailCapabilities? get sharebymailCapabilities; + SpreedPublicCapabilities? get spreedPublicCapabilities; + ThemingPublicCapabilities? get themingPublicCapabilities; + UserStatusCapabilities? get userStatusCapabilities; + WeatherStatusCapabilities? get weatherStatusCapabilities; } -abstract class SpreedPublicCapabilities0_Spreed_Config_Attachments +abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities implements - SpreedPublicCapabilities0_Spreed_Config_AttachmentsInterface, - Built { - factory SpreedPublicCapabilities0_Spreed_Config_Attachments([ - final void Function(SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder)? b, - ]) = _$SpreedPublicCapabilities0_Spreed_Config_Attachments; + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterface, + Built { + factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities([ + final void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder)? b, + ]) = _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities; // coverage:ignore-start - const SpreedPublicCapabilities0_Spreed_Config_Attachments._(); + const OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities._(); // coverage:ignore-end // coverage:ignore-start - factory SpreedPublicCapabilities0_Spreed_Config_Attachments.fromJson(final Map json) => + factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7433,46 +8681,163 @@ abstract class SpreedPublicCapabilities0_Spreed_Config_Attachments Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$spreedPublicCapabilities0SpreedConfigAttachmentsSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesSerializer(); + + JsonObject get data; + @BuiltValueHook(finalizeBuilder: true) + static void _validate(final OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder b) { + // When this is rebuild from another builder + if (b._data == null) { + return; + } + + final match = [ + b._commentsCapabilities, + b._davCapabilities, + b._filesCapabilities, + b._filesSharingCapabilities, + b._filesTrashbinCapabilities, + b._filesVersionsCapabilities, + b._notesCapabilities, + b._notificationsCapabilities, + b._provisioningApiCapabilities, + b._sharebymailCapabilities, + b._spreedPublicCapabilities, + b._themingPublicCapabilities, + b._userStatusCapabilities, + b._weatherStatusCapabilities, + ].firstWhereOrNull((final x) => x != null); + if (match == null) { + throw StateError( + "Need at least one of 'commentsCapabilities', 'davCapabilities', 'filesCapabilities', 'filesSharingCapabilities', 'filesTrashbinCapabilities', 'filesVersionsCapabilities', 'notesCapabilities', 'notificationsCapabilities', 'provisioningApiCapabilities', 'sharebymailCapabilities', 'spreedPublicCapabilities', 'themingPublicCapabilities', 'userStatusCapabilities', 'weatherStatusCapabilities' for ${b._data}", + ); + } + } +} + +class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [ + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities, + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities, + ]; + + @override + final String wireName = 'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities'; + + @override + Object serialize( + final Serializers serializers, + final OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder()..data = JsonObject(data); + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(CommentsCapabilities))! + as CommentsCapabilities; + result.commentsCapabilities.replace(value); + } catch (_) {} + try { + final value = + _jsonSerializers.deserialize(data, specifiedType: const FullType(DavCapabilities))! as DavCapabilities; + result.davCapabilities.replace(value); + } catch (_) {} + try { + final value = + _jsonSerializers.deserialize(data, specifiedType: const FullType(FilesCapabilities))! as FilesCapabilities; + result.filesCapabilities.replace(value); + } catch (_) {} + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(FilesSharingCapabilities))! + as FilesSharingCapabilities; + result.filesSharingCapabilities.replace(value); + } catch (_) {} + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(FilesTrashbinCapabilities))! + as FilesTrashbinCapabilities; + result.filesTrashbinCapabilities.replace(value); + } catch (_) {} + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(FilesVersionsCapabilities))! + as FilesVersionsCapabilities; + result.filesVersionsCapabilities.replace(value); + } catch (_) {} + try { + final value = + _jsonSerializers.deserialize(data, specifiedType: const FullType(NotesCapabilities))! as NotesCapabilities; + result.notesCapabilities.replace(value); + } catch (_) {} + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(NotificationsCapabilities))! + as NotificationsCapabilities; + result.notificationsCapabilities.replace(value); + } catch (_) {} + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(ProvisioningApiCapabilities))! + as ProvisioningApiCapabilities; + result.provisioningApiCapabilities.replace(value); + } catch (_) {} + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(SharebymailCapabilities))! + as SharebymailCapabilities; + result.sharebymailCapabilities.replace(value); + } catch (_) {} + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(SpreedPublicCapabilities))! + as SpreedPublicCapabilities; + result.spreedPublicCapabilities.replace(value); + } catch (_) {} + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(ThemingPublicCapabilities))! + as ThemingPublicCapabilities; + result.themingPublicCapabilities.replace(value); + } catch (_) {} + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(UserStatusCapabilities))! + as UserStatusCapabilities; + result.userStatusCapabilities.replace(value); + } catch (_) {} + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(WeatherStatusCapabilities))! + as WeatherStatusCapabilities; + result.weatherStatusCapabilities.replace(value); + } catch (_) {} + return result.build(); + } } @BuiltValue(instantiable: false) -abstract interface class SpreedPublicCapabilities0_Spreed_Config_CallInterface { - bool get enabled; - @BuiltValueField(wireName: 'breakout-rooms') - bool get breakoutRooms; - bool get recording; - @BuiltValueField(wireName: 'recording-consent') - int? get recordingConsent; - @BuiltValueField(wireName: 'supported-reactions') - BuiltList get supportedReactions; - @BuiltValueField(wireName: 'predefined-backgrounds') - BuiltList get predefinedBackgrounds; - @BuiltValueField(wireName: 'can-upload-background') - bool get canUploadBackground; - @BuiltValueField(wireName: 'sip-enabled') - bool? get sipEnabled; - @BuiltValueField(wireName: 'sip-dialout-enabled') - bool? get sipDialoutEnabled; - @BuiltValueField(wireName: 'can-enable-sip') - bool? get canEnableSip; +abstract interface class OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterface { + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version get version; + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities get capabilities; } -abstract class SpreedPublicCapabilities0_Spreed_Config_Call +abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data implements - SpreedPublicCapabilities0_Spreed_Config_CallInterface, - Built { - factory SpreedPublicCapabilities0_Spreed_Config_Call([ - final void Function(SpreedPublicCapabilities0_Spreed_Config_CallBuilder)? b, - ]) = _$SpreedPublicCapabilities0_Spreed_Config_Call; + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterface, + Built { + factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data([ + final void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const SpreedPublicCapabilities0_Spreed_Config_Call._(); + const OcsGetCapabilitiesResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory SpreedPublicCapabilities0_Spreed_Config_Call.fromJson(final Map json) => + factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7480,37 +8845,30 @@ abstract class SpreedPublicCapabilities0_Spreed_Config_Call Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$spreedPublicCapabilities0SpreedConfigCallSerializer; + static Serializer get serializer => + _$ocsGetCapabilitiesResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class SpreedPublicCapabilities0_Spreed_Config_ChatInterface { - @BuiltValueField(wireName: 'max-length') - int get maxLength; - @BuiltValueField(wireName: 'read-privacy') - int get readPrivacy; - @BuiltValueField(wireName: 'has-translation-providers') - bool? get hasTranslationProviders; - @BuiltValueField(wireName: 'typing-privacy') - int get typingPrivacy; - BuiltList? get translations; +abstract interface class OcsGetCapabilitiesResponseApplicationJson_OcsInterface { + OCSMeta get meta; + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data get data; } -abstract class SpreedPublicCapabilities0_Spreed_Config_Chat +abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs implements - SpreedPublicCapabilities0_Spreed_Config_ChatInterface, - Built { - factory SpreedPublicCapabilities0_Spreed_Config_Chat([ - final void Function(SpreedPublicCapabilities0_Spreed_Config_ChatBuilder)? b, - ]) = _$SpreedPublicCapabilities0_Spreed_Config_Chat; + OcsGetCapabilitiesResponseApplicationJson_OcsInterface, + Built { + factory OcsGetCapabilitiesResponseApplicationJson_Ocs([ + final void Function(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder)? b, + ]) = _$OcsGetCapabilitiesResponseApplicationJson_Ocs; // coverage:ignore-start - const SpreedPublicCapabilities0_Spreed_Config_Chat._(); + const OcsGetCapabilitiesResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory SpreedPublicCapabilities0_Spreed_Config_Chat.fromJson(final Map json) => + factory OcsGetCapabilitiesResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7518,31 +8876,29 @@ abstract class SpreedPublicCapabilities0_Spreed_Config_Chat Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$spreedPublicCapabilities0SpreedConfigChatSerializer; + static Serializer get serializer => + _$ocsGetCapabilitiesResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class SpreedPublicCapabilities0_Spreed_Config_ConversationsInterface { - @BuiltValueField(wireName: 'can-create') - bool get canCreate; +abstract interface class OcsGetCapabilitiesResponseApplicationJsonInterface { + OcsGetCapabilitiesResponseApplicationJson_Ocs get ocs; } -abstract class SpreedPublicCapabilities0_Spreed_Config_Conversations +abstract class OcsGetCapabilitiesResponseApplicationJson implements - SpreedPublicCapabilities0_Spreed_Config_ConversationsInterface, - Built { - factory SpreedPublicCapabilities0_Spreed_Config_Conversations([ - final void Function(SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder)? b, - ]) = _$SpreedPublicCapabilities0_Spreed_Config_Conversations; + OcsGetCapabilitiesResponseApplicationJsonInterface, + Built { + factory OcsGetCapabilitiesResponseApplicationJson([ + final void Function(OcsGetCapabilitiesResponseApplicationJsonBuilder)? b, + ]) = _$OcsGetCapabilitiesResponseApplicationJson; // coverage:ignore-start - const SpreedPublicCapabilities0_Spreed_Config_Conversations._(); + const OcsGetCapabilitiesResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory SpreedPublicCapabilities0_Spreed_Config_Conversations.fromJson(final Map json) => + factory OcsGetCapabilitiesResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7550,31 +8906,31 @@ abstract class SpreedPublicCapabilities0_Spreed_Config_Conversations Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$spreedPublicCapabilities0SpreedConfigConversationsSerializer; + static Serializer get serializer => + _$ocsGetCapabilitiesResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class SpreedPublicCapabilities0_Spreed_Config_PreviewsInterface { - @BuiltValueField(wireName: 'max-gif-size') - int get maxGifSize; +abstract interface class ProfileApiSetVisibilityResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; } -abstract class SpreedPublicCapabilities0_Spreed_Config_Previews +abstract class ProfileApiSetVisibilityResponseApplicationJson_Ocs implements - SpreedPublicCapabilities0_Spreed_Config_PreviewsInterface, - Built { - factory SpreedPublicCapabilities0_Spreed_Config_Previews([ - final void Function(SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder)? b, - ]) = _$SpreedPublicCapabilities0_Spreed_Config_Previews; + ProfileApiSetVisibilityResponseApplicationJson_OcsInterface, + Built { + factory ProfileApiSetVisibilityResponseApplicationJson_Ocs([ + final void Function(ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder)? b, + ]) = _$ProfileApiSetVisibilityResponseApplicationJson_Ocs; // coverage:ignore-start - const SpreedPublicCapabilities0_Spreed_Config_Previews._(); + const ProfileApiSetVisibilityResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory SpreedPublicCapabilities0_Spreed_Config_Previews.fromJson(final Map json) => + factory ProfileApiSetVisibilityResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7582,33 +8938,29 @@ abstract class SpreedPublicCapabilities0_Spreed_Config_Previews Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$spreedPublicCapabilities0SpreedConfigPreviewsSerializer; + static Serializer get serializer => + _$profileApiSetVisibilityResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class SpreedPublicCapabilities0_Spreed_Config_SignalingInterface { - @BuiltValueField(wireName: 'session-ping-limit') - int get sessionPingLimit; - @BuiltValueField(wireName: 'hello-v2-token-key') - String? get helloV2TokenKey; +abstract interface class ProfileApiSetVisibilityResponseApplicationJsonInterface { + ProfileApiSetVisibilityResponseApplicationJson_Ocs get ocs; } -abstract class SpreedPublicCapabilities0_Spreed_Config_Signaling +abstract class ProfileApiSetVisibilityResponseApplicationJson implements - SpreedPublicCapabilities0_Spreed_Config_SignalingInterface, - Built { - factory SpreedPublicCapabilities0_Spreed_Config_Signaling([ - final void Function(SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder)? b, - ]) = _$SpreedPublicCapabilities0_Spreed_Config_Signaling; + ProfileApiSetVisibilityResponseApplicationJsonInterface, + Built { + factory ProfileApiSetVisibilityResponseApplicationJson([ + final void Function(ProfileApiSetVisibilityResponseApplicationJsonBuilder)? b, + ]) = _$ProfileApiSetVisibilityResponseApplicationJson; // coverage:ignore-start - const SpreedPublicCapabilities0_Spreed_Config_Signaling._(); + const ProfileApiSetVisibilityResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory SpreedPublicCapabilities0_Spreed_Config_Signaling.fromJson(final Map json) => + factory ProfileApiSetVisibilityResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7616,65 +8968,56 @@ abstract class SpreedPublicCapabilities0_Spreed_Config_Signaling Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$spreedPublicCapabilities0SpreedConfigSignalingSerializer; + static Serializer get serializer => + _$profileApiSetVisibilityResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class SpreedPublicCapabilities0_Spreed_ConfigInterface { - SpreedPublicCapabilities0_Spreed_Config_Attachments get attachments; - SpreedPublicCapabilities0_Spreed_Config_Call get call; - SpreedPublicCapabilities0_Spreed_Config_Chat get chat; - SpreedPublicCapabilities0_Spreed_Config_Conversations get conversations; - SpreedPublicCapabilities0_Spreed_Config_Previews get previews; - SpreedPublicCapabilities0_Spreed_Config_Signaling get signaling; +abstract interface class ReferenceInterface { + String get richObjectType; + BuiltMap get richObject; + OpenGraphObject get openGraphObject; + bool get accessible; } -abstract class SpreedPublicCapabilities0_Spreed_Config - implements - SpreedPublicCapabilities0_Spreed_ConfigInterface, - Built { - factory SpreedPublicCapabilities0_Spreed_Config([ - final void Function(SpreedPublicCapabilities0_Spreed_ConfigBuilder)? b, - ]) = _$SpreedPublicCapabilities0_Spreed_Config; +abstract class Reference implements ReferenceInterface, Built { + factory Reference([final void Function(ReferenceBuilder)? b]) = _$Reference; // coverage:ignore-start - const SpreedPublicCapabilities0_Spreed_Config._(); + const Reference._(); // coverage:ignore-end - // coverage:ignore-start - factory SpreedPublicCapabilities0_Spreed_Config.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start + factory Reference.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$spreedPublicCapabilities0SpreedConfigSerializer; + static Serializer get serializer => _$referenceSerializer; } @BuiltValue(instantiable: false) -abstract interface class SpreedPublicCapabilities0_SpreedInterface { - BuiltList get features; - SpreedPublicCapabilities0_Spreed_Config get config; - String get version; +abstract interface class ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterface { + BuiltMap get references; } -abstract class SpreedPublicCapabilities0_Spreed +abstract class ReferenceApiResolveOneResponseApplicationJson_Ocs_Data implements - SpreedPublicCapabilities0_SpreedInterface, - Built { - factory SpreedPublicCapabilities0_Spreed([final void Function(SpreedPublicCapabilities0_SpreedBuilder)? b]) = - _$SpreedPublicCapabilities0_Spreed; + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterface, + Built { + factory ReferenceApiResolveOneResponseApplicationJson_Ocs_Data([ + final void Function(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const SpreedPublicCapabilities0_Spreed._(); + const ReferenceApiResolveOneResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory SpreedPublicCapabilities0_Spreed.fromJson(final Map json) => + factory ReferenceApiResolveOneResponseApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7682,25 +9025,31 @@ abstract class SpreedPublicCapabilities0_Spreed Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$spreedPublicCapabilities0SpreedSerializer; + static Serializer get serializer => + _$referenceApiResolveOneResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class SpreedPublicCapabilities0Interface { - SpreedPublicCapabilities0_Spreed get spreed; +abstract interface class ReferenceApiResolveOneResponseApplicationJson_OcsInterface { + OCSMeta get meta; + ReferenceApiResolveOneResponseApplicationJson_Ocs_Data get data; } -abstract class SpreedPublicCapabilities0 - implements SpreedPublicCapabilities0Interface, Built { - factory SpreedPublicCapabilities0([final void Function(SpreedPublicCapabilities0Builder)? b]) = - _$SpreedPublicCapabilities0; +abstract class ReferenceApiResolveOneResponseApplicationJson_Ocs + implements + ReferenceApiResolveOneResponseApplicationJson_OcsInterface, + Built { + factory ReferenceApiResolveOneResponseApplicationJson_Ocs([ + final void Function(ReferenceApiResolveOneResponseApplicationJson_OcsBuilder)? b, + ]) = _$ReferenceApiResolveOneResponseApplicationJson_Ocs; // coverage:ignore-start - const SpreedPublicCapabilities0._(); + const ReferenceApiResolveOneResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory SpreedPublicCapabilities0.fromJson(final Map json) => + factory ReferenceApiResolveOneResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7708,26 +9057,29 @@ abstract class SpreedPublicCapabilities0 Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$spreedPublicCapabilities0Serializer; + static Serializer get serializer => + _$referenceApiResolveOneResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class SpreedPublicCapabilitiesInterface { - SpreedPublicCapabilities0? get spreedPublicCapabilities0; - BuiltList? get builtListJsonObject; +abstract interface class ReferenceApiResolveOneResponseApplicationJsonInterface { + ReferenceApiResolveOneResponseApplicationJson_Ocs get ocs; } -abstract class SpreedPublicCapabilities - implements SpreedPublicCapabilitiesInterface, Built { - factory SpreedPublicCapabilities([final void Function(SpreedPublicCapabilitiesBuilder)? b]) = - _$SpreedPublicCapabilities; +abstract class ReferenceApiResolveOneResponseApplicationJson + implements + ReferenceApiResolveOneResponseApplicationJsonInterface, + Built { + factory ReferenceApiResolveOneResponseApplicationJson([ + final void Function(ReferenceApiResolveOneResponseApplicationJsonBuilder)? b, + ]) = _$ReferenceApiResolveOneResponseApplicationJson; // coverage:ignore-start - const SpreedPublicCapabilities._(); + const ReferenceApiResolveOneResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory SpreedPublicCapabilities.fromJson(final Map json) => + factory ReferenceApiResolveOneResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7735,99 +9087,30 @@ abstract class SpreedPublicCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - @BuiltValueSerializer(custom: true) - static Serializer get serializer => _$SpreedPublicCapabilitiesSerializer(); - - JsonObject get data; - @BuiltValueHook(finalizeBuilder: true) - static void _validate(final SpreedPublicCapabilitiesBuilder b) { - // When this is rebuild from another builder - if (b._data == null) { - return; - } - - final match = [b._spreedPublicCapabilities0, b._builtListJsonObject].firstWhereOrNull((final x) => x != null); - if (match == null) { - throw StateError("Need at least one of 'spreedPublicCapabilities0', 'builtListJsonObject' for ${b._data}"); - } - } -} - -class _$SpreedPublicCapabilitiesSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [SpreedPublicCapabilities, _$SpreedPublicCapabilities]; - - @override - final String wireName = 'SpreedPublicCapabilities'; - - @override - Object serialize( - final Serializers serializers, - final SpreedPublicCapabilities object, { - final FullType specifiedType = FullType.unspecified, - }) => - object.data.value; - - @override - SpreedPublicCapabilities deserialize( - final Serializers serializers, - final Object data, { - final FullType specifiedType = FullType.unspecified, - }) { - final result = SpreedPublicCapabilitiesBuilder()..data = JsonObject(data); - try { - final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(SpreedPublicCapabilities0))! - as SpreedPublicCapabilities0; - result.spreedPublicCapabilities0.replace(value); - } catch (_) {} - try { - final value = _jsonSerializers.deserialize( - data, - specifiedType: const FullType(BuiltList, [FullType(JsonObject)]), - )! as BuiltList; - result.builtListJsonObject.replace(value); - } catch (_) {} - return result.build(); - } + static Serializer get serializer => + _$referenceApiResolveOneResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class ThemingPublicCapabilities_ThemingInterface { - 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; +abstract interface class ReferenceApiResolveResponseApplicationJson_Ocs_DataInterface { + BuiltMap get references; } -abstract class ThemingPublicCapabilities_Theming +abstract class ReferenceApiResolveResponseApplicationJson_Ocs_Data implements - ThemingPublicCapabilities_ThemingInterface, - Built { - factory ThemingPublicCapabilities_Theming([final void Function(ThemingPublicCapabilities_ThemingBuilder)? b]) = - _$ThemingPublicCapabilities_Theming; + ReferenceApiResolveResponseApplicationJson_Ocs_DataInterface, + Built { + factory ReferenceApiResolveResponseApplicationJson_Ocs_Data([ + final void Function(ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$ReferenceApiResolveResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const ThemingPublicCapabilities_Theming._(); + const ReferenceApiResolveResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory ThemingPublicCapabilities_Theming.fromJson(final Map json) => + factory ReferenceApiResolveResponseApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7835,25 +9118,30 @@ abstract class ThemingPublicCapabilities_Theming Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$themingPublicCapabilitiesThemingSerializer; + static Serializer get serializer => + _$referenceApiResolveResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class ThemingPublicCapabilitiesInterface { - ThemingPublicCapabilities_Theming get theming; +abstract interface class ReferenceApiResolveResponseApplicationJson_OcsInterface { + OCSMeta get meta; + ReferenceApiResolveResponseApplicationJson_Ocs_Data get data; } -abstract class ThemingPublicCapabilities - implements ThemingPublicCapabilitiesInterface, Built { - factory ThemingPublicCapabilities([final void Function(ThemingPublicCapabilitiesBuilder)? b]) = - _$ThemingPublicCapabilities; +abstract class ReferenceApiResolveResponseApplicationJson_Ocs + implements + ReferenceApiResolveResponseApplicationJson_OcsInterface, + Built { + factory ReferenceApiResolveResponseApplicationJson_Ocs([ + final void Function(ReferenceApiResolveResponseApplicationJson_OcsBuilder)? b, + ]) = _$ReferenceApiResolveResponseApplicationJson_Ocs; // coverage:ignore-start - const ThemingPublicCapabilities._(); + const ReferenceApiResolveResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory ThemingPublicCapabilities.fromJson(final Map json) => + factory ReferenceApiResolveResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7861,30 +9149,29 @@ abstract class ThemingPublicCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$themingPublicCapabilitiesSerializer; + static Serializer get serializer => + _$referenceApiResolveResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class UserStatusCapabilities_UserStatusInterface { - bool get enabled; - bool get restore; - @BuiltValueField(wireName: 'supports_emoji') - bool get supportsEmoji; +abstract interface class ReferenceApiResolveResponseApplicationJsonInterface { + ReferenceApiResolveResponseApplicationJson_Ocs get ocs; } -abstract class UserStatusCapabilities_UserStatus +abstract class ReferenceApiResolveResponseApplicationJson implements - UserStatusCapabilities_UserStatusInterface, - Built { - factory UserStatusCapabilities_UserStatus([final void Function(UserStatusCapabilities_UserStatusBuilder)? b]) = - _$UserStatusCapabilities_UserStatus; + ReferenceApiResolveResponseApplicationJsonInterface, + Built { + factory ReferenceApiResolveResponseApplicationJson([ + final void Function(ReferenceApiResolveResponseApplicationJsonBuilder)? b, + ]) = _$ReferenceApiResolveResponseApplicationJson; // coverage:ignore-start - const UserStatusCapabilities_UserStatus._(); + const ReferenceApiResolveResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory UserStatusCapabilities_UserStatus.fromJson(final Map json) => + factory ReferenceApiResolveResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7892,25 +9179,30 @@ abstract class UserStatusCapabilities_UserStatus Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$userStatusCapabilitiesUserStatusSerializer; + static Serializer get serializer => + _$referenceApiResolveResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class UserStatusCapabilitiesInterface { - @BuiltValueField(wireName: 'user_status') - UserStatusCapabilities_UserStatus get userStatus; +abstract interface class ReferenceApiExtractResponseApplicationJson_Ocs_DataInterface { + BuiltMap get references; } -abstract class UserStatusCapabilities - implements UserStatusCapabilitiesInterface, Built { - factory UserStatusCapabilities([final void Function(UserStatusCapabilitiesBuilder)? b]) = _$UserStatusCapabilities; +abstract class ReferenceApiExtractResponseApplicationJson_Ocs_Data + implements + ReferenceApiExtractResponseApplicationJson_Ocs_DataInterface, + Built { + factory ReferenceApiExtractResponseApplicationJson_Ocs_Data([ + final void Function(ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$ReferenceApiExtractResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const UserStatusCapabilities._(); + const ReferenceApiExtractResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory UserStatusCapabilities.fromJson(final Map json) => + factory ReferenceApiExtractResponseApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7918,28 +9210,30 @@ abstract class UserStatusCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$userStatusCapabilitiesSerializer; + static Serializer get serializer => + _$referenceApiExtractResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class WeatherStatusCapabilities_WeatherStatusInterface { - bool get enabled; +abstract interface class ReferenceApiExtractResponseApplicationJson_OcsInterface { + OCSMeta get meta; + ReferenceApiExtractResponseApplicationJson_Ocs_Data get data; } -abstract class WeatherStatusCapabilities_WeatherStatus +abstract class ReferenceApiExtractResponseApplicationJson_Ocs implements - WeatherStatusCapabilities_WeatherStatusInterface, - Built { - factory WeatherStatusCapabilities_WeatherStatus([ - final void Function(WeatherStatusCapabilities_WeatherStatusBuilder)? b, - ]) = _$WeatherStatusCapabilities_WeatherStatus; + ReferenceApiExtractResponseApplicationJson_OcsInterface, + Built { + factory ReferenceApiExtractResponseApplicationJson_Ocs([ + final void Function(ReferenceApiExtractResponseApplicationJson_OcsBuilder)? b, + ]) = _$ReferenceApiExtractResponseApplicationJson_Ocs; // coverage:ignore-start - const WeatherStatusCapabilities_WeatherStatus._(); + const ReferenceApiExtractResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory WeatherStatusCapabilities_WeatherStatus.fromJson(final Map json) => + factory ReferenceApiExtractResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7947,27 +9241,29 @@ abstract class WeatherStatusCapabilities_WeatherStatus Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$weatherStatusCapabilitiesWeatherStatusSerializer; + static Serializer get serializer => + _$referenceApiExtractResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class WeatherStatusCapabilitiesInterface { - @BuiltValueField(wireName: 'weather_status') - WeatherStatusCapabilities_WeatherStatus get weatherStatus; +abstract interface class ReferenceApiExtractResponseApplicationJsonInterface { + ReferenceApiExtractResponseApplicationJson_Ocs get ocs; } -abstract class WeatherStatusCapabilities - implements WeatherStatusCapabilitiesInterface, Built { - factory WeatherStatusCapabilities([final void Function(WeatherStatusCapabilitiesBuilder)? b]) = - _$WeatherStatusCapabilities; +abstract class ReferenceApiExtractResponseApplicationJson + implements + ReferenceApiExtractResponseApplicationJsonInterface, + Built { + factory ReferenceApiExtractResponseApplicationJson([ + final void Function(ReferenceApiExtractResponseApplicationJsonBuilder)? b, + ]) = _$ReferenceApiExtractResponseApplicationJson; // coverage:ignore-start - const WeatherStatusCapabilities._(); + const ReferenceApiExtractResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory WeatherStatusCapabilities.fromJson(final Map json) => + factory ReferenceApiExtractResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7975,42 +9271,31 @@ abstract class WeatherStatusCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$weatherStatusCapabilitiesSerializer; + static Serializer get serializer => + _$referenceApiExtractResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterface { - CommentsCapabilities? get commentsCapabilities; - DavCapabilities? get davCapabilities; - FilesCapabilities? get filesCapabilities; - FilesSharingCapabilities? get filesSharingCapabilities; - FilesTrashbinCapabilities? get filesTrashbinCapabilities; - FilesVersionsCapabilities? get filesVersionsCapabilities; - NotesCapabilities? get notesCapabilities; - NotificationsCapabilities? get notificationsCapabilities; - ProvisioningApiCapabilities? get provisioningApiCapabilities; - SharebymailCapabilities? get sharebymailCapabilities; - SpreedPublicCapabilities? get spreedPublicCapabilities; - ThemingPublicCapabilities? get themingPublicCapabilities; - UserStatusCapabilities? get userStatusCapabilities; - WeatherStatusCapabilities? get weatherStatusCapabilities; +abstract interface class ReferenceProviderInterface { + String get id; + String get title; + @BuiltValueField(wireName: 'icon_url') + String get iconUrl; + int get order; + @BuiltValueField(wireName: 'search_providers_ids') + BuiltList? get searchProvidersIds; } -abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities - implements - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterface, - Built { - factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities([ - final void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder)? b, - ]) = _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities; +abstract class ReferenceProvider + implements ReferenceProviderInterface, Built { + factory ReferenceProvider([final void Function(ReferenceProviderBuilder)? b]) = _$ReferenceProvider; // coverage:ignore-start - const OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities._(); + const ReferenceProvider._(); // coverage:ignore-end // coverage:ignore-start - factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities.fromJson(final Map json) => + factory ReferenceProvider.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8018,163 +9303,30 @@ abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - @BuiltValueSerializer(custom: true) - static Serializer get serializer => - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesSerializer(); - - JsonObject get data; - @BuiltValueHook(finalizeBuilder: true) - static void _validate(final OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder b) { - // When this is rebuild from another builder - if (b._data == null) { - return; - } - - final match = [ - b._commentsCapabilities, - b._davCapabilities, - b._filesCapabilities, - b._filesSharingCapabilities, - b._filesTrashbinCapabilities, - b._filesVersionsCapabilities, - b._notesCapabilities, - b._notificationsCapabilities, - b._provisioningApiCapabilities, - b._sharebymailCapabilities, - b._spreedPublicCapabilities, - b._themingPublicCapabilities, - b._userStatusCapabilities, - b._weatherStatusCapabilities, - ].firstWhereOrNull((final x) => x != null); - if (match == null) { - throw StateError( - "Need at least one of 'commentsCapabilities', 'davCapabilities', 'filesCapabilities', 'filesSharingCapabilities', 'filesTrashbinCapabilities', 'filesVersionsCapabilities', 'notesCapabilities', 'notificationsCapabilities', 'provisioningApiCapabilities', 'sharebymailCapabilities', 'spreedPublicCapabilities', 'themingPublicCapabilities', 'userStatusCapabilities', 'weatherStatusCapabilities' for ${b._data}", - ); - } - } -} - -class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesSerializer - implements PrimitiveSerializer { - @override - final Iterable types = const [ - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities, - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities, - ]; - - @override - final String wireName = 'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities'; - - @override - Object serialize( - final Serializers serializers, - final OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities object, { - final FullType specifiedType = FullType.unspecified, - }) => - object.data.value; - - @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities deserialize( - final Serializers serializers, - final Object data, { - final FullType specifiedType = FullType.unspecified, - }) { - final result = OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder()..data = JsonObject(data); - try { - final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(CommentsCapabilities))! - as CommentsCapabilities; - result.commentsCapabilities.replace(value); - } catch (_) {} - try { - final value = - _jsonSerializers.deserialize(data, specifiedType: const FullType(DavCapabilities))! as DavCapabilities; - result.davCapabilities.replace(value); - } catch (_) {} - try { - final value = - _jsonSerializers.deserialize(data, specifiedType: const FullType(FilesCapabilities))! as FilesCapabilities; - result.filesCapabilities.replace(value); - } catch (_) {} - try { - final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(FilesSharingCapabilities))! - as FilesSharingCapabilities; - result.filesSharingCapabilities.replace(value); - } catch (_) {} - try { - final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(FilesTrashbinCapabilities))! - as FilesTrashbinCapabilities; - result.filesTrashbinCapabilities.replace(value); - } catch (_) {} - try { - final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(FilesVersionsCapabilities))! - as FilesVersionsCapabilities; - result.filesVersionsCapabilities.replace(value); - } catch (_) {} - try { - final value = - _jsonSerializers.deserialize(data, specifiedType: const FullType(NotesCapabilities))! as NotesCapabilities; - result.notesCapabilities.replace(value); - } catch (_) {} - try { - final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(NotificationsCapabilities))! - as NotificationsCapabilities; - result.notificationsCapabilities.replace(value); - } catch (_) {} - try { - final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(ProvisioningApiCapabilities))! - as ProvisioningApiCapabilities; - result.provisioningApiCapabilities.replace(value); - } catch (_) {} - try { - final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(SharebymailCapabilities))! - as SharebymailCapabilities; - result.sharebymailCapabilities.replace(value); - } catch (_) {} - try { - final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(SpreedPublicCapabilities))! - as SpreedPublicCapabilities; - result.spreedPublicCapabilities.replace(value); - } catch (_) {} - try { - final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(ThemingPublicCapabilities))! - as ThemingPublicCapabilities; - result.themingPublicCapabilities.replace(value); - } catch (_) {} - try { - final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(UserStatusCapabilities))! - as UserStatusCapabilities; - result.userStatusCapabilities.replace(value); - } catch (_) {} - try { - final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(WeatherStatusCapabilities))! - as WeatherStatusCapabilities; - result.weatherStatusCapabilities.replace(value); - } catch (_) {} - return result.build(); - } + static Serializer get serializer => _$referenceProviderSerializer; } @BuiltValue(instantiable: false) -abstract interface class OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterface { - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version get version; - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities get capabilities; +abstract interface class ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; } -abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data +abstract class ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs implements - OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterface, - Built { - factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data([ - final void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data; + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterface, + Built { + factory ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs([ + final void Function(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder)? b, + ]) = _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs; // coverage:ignore-start - const OcsGetCapabilitiesResponseApplicationJson_Ocs_Data._(); + const ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8182,30 +9334,30 @@ abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$ocsGetCapabilitiesResponseApplicationJsonOcsDataSerializer; + static Serializer get serializer => + _$referenceApiGetProvidersInfoResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class OcsGetCapabilitiesResponseApplicationJson_OcsInterface { - OCSMeta get meta; - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data get data; +abstract interface class ReferenceApiGetProvidersInfoResponseApplicationJsonInterface { + ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs get ocs; } -abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs +abstract class ReferenceApiGetProvidersInfoResponseApplicationJson implements - OcsGetCapabilitiesResponseApplicationJson_OcsInterface, - Built { - factory OcsGetCapabilitiesResponseApplicationJson_Ocs([ - final void Function(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder)? b, - ]) = _$OcsGetCapabilitiesResponseApplicationJson_Ocs; + ReferenceApiGetProvidersInfoResponseApplicationJsonInterface, + Built { + factory ReferenceApiGetProvidersInfoResponseApplicationJson([ + final void Function(ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder)? b, + ]) = _$ReferenceApiGetProvidersInfoResponseApplicationJson; // coverage:ignore-start - const OcsGetCapabilitiesResponseApplicationJson_Ocs._(); + const ReferenceApiGetProvidersInfoResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory OcsGetCapabilitiesResponseApplicationJson_Ocs.fromJson(final Map json) => + factory ReferenceApiGetProvidersInfoResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8213,29 +9365,30 @@ abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$ocsGetCapabilitiesResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$referenceApiGetProvidersInfoResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class OcsGetCapabilitiesResponseApplicationJsonInterface { - OcsGetCapabilitiesResponseApplicationJson_Ocs get ocs; +abstract interface class ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterface { + bool get success; } -abstract class OcsGetCapabilitiesResponseApplicationJson +abstract class ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data implements - OcsGetCapabilitiesResponseApplicationJsonInterface, - Built { - factory OcsGetCapabilitiesResponseApplicationJson([ - final void Function(OcsGetCapabilitiesResponseApplicationJsonBuilder)? b, - ]) = _$OcsGetCapabilitiesResponseApplicationJson; + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterface, + Built { + factory ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data([ + final void Function(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const OcsGetCapabilitiesResponseApplicationJson._(); + const ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory OcsGetCapabilitiesResponseApplicationJson.fromJson(final Map json) => + factory ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8243,31 +9396,31 @@ abstract class OcsGetCapabilitiesResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$ocsGetCapabilitiesResponseApplicationJsonSerializer; + static Serializer get serializer => + _$referenceApiTouchProviderResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class ProfileApiSetVisibilityResponseApplicationJson_OcsInterface { +abstract interface class ReferenceApiTouchProviderResponseApplicationJson_OcsInterface { OCSMeta get meta; - JsonObject get data; + ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data get data; } -abstract class ProfileApiSetVisibilityResponseApplicationJson_Ocs +abstract class ReferenceApiTouchProviderResponseApplicationJson_Ocs implements - ProfileApiSetVisibilityResponseApplicationJson_OcsInterface, - Built { - factory ProfileApiSetVisibilityResponseApplicationJson_Ocs([ - final void Function(ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder)? b, - ]) = _$ProfileApiSetVisibilityResponseApplicationJson_Ocs; + ReferenceApiTouchProviderResponseApplicationJson_OcsInterface, + Built { + factory ReferenceApiTouchProviderResponseApplicationJson_Ocs([ + final void Function(ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder)? b, + ]) = _$ReferenceApiTouchProviderResponseApplicationJson_Ocs; // coverage:ignore-start - const ProfileApiSetVisibilityResponseApplicationJson_Ocs._(); + const ReferenceApiTouchProviderResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory ProfileApiSetVisibilityResponseApplicationJson_Ocs.fromJson(final Map json) => + factory ReferenceApiTouchProviderResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8275,29 +9428,30 @@ abstract class ProfileApiSetVisibilityResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$profileApiSetVisibilityResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$referenceApiTouchProviderResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class ProfileApiSetVisibilityResponseApplicationJsonInterface { - ProfileApiSetVisibilityResponseApplicationJson_Ocs get ocs; +abstract interface class ReferenceApiTouchProviderResponseApplicationJsonInterface { + ReferenceApiTouchProviderResponseApplicationJson_Ocs get ocs; } -abstract class ProfileApiSetVisibilityResponseApplicationJson +abstract class ReferenceApiTouchProviderResponseApplicationJson implements - ProfileApiSetVisibilityResponseApplicationJsonInterface, - Built { - factory ProfileApiSetVisibilityResponseApplicationJson([ - final void Function(ProfileApiSetVisibilityResponseApplicationJsonBuilder)? b, - ]) = _$ProfileApiSetVisibilityResponseApplicationJson; + ReferenceApiTouchProviderResponseApplicationJsonInterface, + Built { + factory ReferenceApiTouchProviderResponseApplicationJson([ + final void Function(ReferenceApiTouchProviderResponseApplicationJsonBuilder)? b, + ]) = _$ReferenceApiTouchProviderResponseApplicationJson; // coverage:ignore-start - const ProfileApiSetVisibilityResponseApplicationJson._(); + const ReferenceApiTouchProviderResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory ProfileApiSetVisibilityResponseApplicationJson.fromJson(final Map json) => + factory ReferenceApiTouchProviderResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8305,56 +9459,63 @@ abstract class ProfileApiSetVisibilityResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$profileApiSetVisibilityResponseApplicationJsonSerializer; + static Serializer get serializer => + _$referenceApiTouchProviderResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class ReferenceInterface { - String get richObjectType; - BuiltMap get richObject; - OpenGraphObject get openGraphObject; - bool get accessible; +abstract interface class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterface { + String get id; + String get name; + String get description; } -abstract class Reference implements ReferenceInterface, Built { - factory Reference([final void Function(ReferenceBuilder)? b]) = _$Reference; +abstract class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types + implements + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterface, + Built { + factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types([ + final void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder)? b, + ]) = _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types; // coverage:ignore-start - const Reference._(); + const TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types._(); // coverage:ignore-end // coverage:ignore-start - factory Reference.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$referenceSerializer; + static Serializer get serializer => + _$textProcessingApiTaskTypesResponseApplicationJsonOcsDataTypesSerializer; } @BuiltValue(instantiable: false) -abstract interface class ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterface { - BuiltMap get references; +abstract interface class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterface { + BuiltList get types; } -abstract class ReferenceApiResolveOneResponseApplicationJson_Ocs_Data +abstract class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data implements - ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterface, - Built { - factory ReferenceApiResolveOneResponseApplicationJson_Ocs_Data([ - final void Function(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data; + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterface, + Built { + factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data([ + final void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const ReferenceApiResolveOneResponseApplicationJson_Ocs_Data._(); + const TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiResolveOneResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8362,31 +9523,31 @@ abstract class ReferenceApiResolveOneResponseApplicationJson_Ocs_Data Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$referenceApiResolveOneResponseApplicationJsonOcsDataSerializer; + static Serializer get serializer => + _$textProcessingApiTaskTypesResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class ReferenceApiResolveOneResponseApplicationJson_OcsInterface { +abstract interface class TextProcessingApiTaskTypesResponseApplicationJson_OcsInterface { OCSMeta get meta; - ReferenceApiResolveOneResponseApplicationJson_Ocs_Data get data; + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data get data; } -abstract class ReferenceApiResolveOneResponseApplicationJson_Ocs +abstract class TextProcessingApiTaskTypesResponseApplicationJson_Ocs implements - ReferenceApiResolveOneResponseApplicationJson_OcsInterface, - Built { - factory ReferenceApiResolveOneResponseApplicationJson_Ocs([ - final void Function(ReferenceApiResolveOneResponseApplicationJson_OcsBuilder)? b, - ]) = _$ReferenceApiResolveOneResponseApplicationJson_Ocs; + TextProcessingApiTaskTypesResponseApplicationJson_OcsInterface, + Built { + factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs([ + final void Function(TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder)? b, + ]) = _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs; // coverage:ignore-start - const ReferenceApiResolveOneResponseApplicationJson_Ocs._(); + const TextProcessingApiTaskTypesResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiResolveOneResponseApplicationJson_Ocs.fromJson(final Map json) => + factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8394,29 +9555,30 @@ abstract class ReferenceApiResolveOneResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$referenceApiResolveOneResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$textProcessingApiTaskTypesResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class ReferenceApiResolveOneResponseApplicationJsonInterface { - ReferenceApiResolveOneResponseApplicationJson_Ocs get ocs; +abstract interface class TextProcessingApiTaskTypesResponseApplicationJsonInterface { + TextProcessingApiTaskTypesResponseApplicationJson_Ocs get ocs; } -abstract class ReferenceApiResolveOneResponseApplicationJson +abstract class TextProcessingApiTaskTypesResponseApplicationJson implements - ReferenceApiResolveOneResponseApplicationJsonInterface, - Built { - factory ReferenceApiResolveOneResponseApplicationJson([ - final void Function(ReferenceApiResolveOneResponseApplicationJsonBuilder)? b, - ]) = _$ReferenceApiResolveOneResponseApplicationJson; + TextProcessingApiTaskTypesResponseApplicationJsonInterface, + Built { + factory TextProcessingApiTaskTypesResponseApplicationJson([ + final void Function(TextProcessingApiTaskTypesResponseApplicationJsonBuilder)? b, + ]) = _$TextProcessingApiTaskTypesResponseApplicationJson; // coverage:ignore-start - const ReferenceApiResolveOneResponseApplicationJson._(); + const TextProcessingApiTaskTypesResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiResolveOneResponseApplicationJson.fromJson(final Map json) => + factory TextProcessingApiTaskTypesResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8424,30 +9586,32 @@ abstract class ReferenceApiResolveOneResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$referenceApiResolveOneResponseApplicationJsonSerializer; + static Serializer get serializer => + _$textProcessingApiTaskTypesResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class ReferenceApiResolveResponseApplicationJson_Ocs_DataInterface { - BuiltMap get references; +abstract interface class TextProcessingTaskInterface { + int? get id; + String get type; + int get status; + String? get userId; + String get appId; + String get input; + String? get output; + String get identifier; } -abstract class ReferenceApiResolveResponseApplicationJson_Ocs_Data - implements - ReferenceApiResolveResponseApplicationJson_Ocs_DataInterface, - Built { - factory ReferenceApiResolveResponseApplicationJson_Ocs_Data([ - final void Function(ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$ReferenceApiResolveResponseApplicationJson_Ocs_Data; +abstract class TextProcessingTask + implements TextProcessingTaskInterface, Built { + factory TextProcessingTask([final void Function(TextProcessingTaskBuilder)? b]) = _$TextProcessingTask; // coverage:ignore-start - const ReferenceApiResolveResponseApplicationJson_Ocs_Data._(); + const TextProcessingTask._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiResolveResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory TextProcessingTask.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8455,30 +9619,29 @@ abstract class ReferenceApiResolveResponseApplicationJson_Ocs_Data Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$referenceApiResolveResponseApplicationJsonOcsDataSerializer; + static Serializer get serializer => _$textProcessingTaskSerializer; } @BuiltValue(instantiable: false) -abstract interface class ReferenceApiResolveResponseApplicationJson_OcsInterface { - OCSMeta get meta; - ReferenceApiResolveResponseApplicationJson_Ocs_Data get data; +abstract interface class TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterface { + TextProcessingTask get task; } -abstract class ReferenceApiResolveResponseApplicationJson_Ocs +abstract class TextProcessingApiScheduleResponseApplicationJson_Ocs_Data implements - ReferenceApiResolveResponseApplicationJson_OcsInterface, - Built { - factory ReferenceApiResolveResponseApplicationJson_Ocs([ - final void Function(ReferenceApiResolveResponseApplicationJson_OcsBuilder)? b, - ]) = _$ReferenceApiResolveResponseApplicationJson_Ocs; + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterface, + Built { + factory TextProcessingApiScheduleResponseApplicationJson_Ocs_Data([ + final void Function(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const ReferenceApiResolveResponseApplicationJson_Ocs._(); + const TextProcessingApiScheduleResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiResolveResponseApplicationJson_Ocs.fromJson(final Map json) => + factory TextProcessingApiScheduleResponseApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8486,29 +9649,31 @@ abstract class ReferenceApiResolveResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$referenceApiResolveResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$textProcessingApiScheduleResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class ReferenceApiResolveResponseApplicationJsonInterface { - ReferenceApiResolveResponseApplicationJson_Ocs get ocs; +abstract interface class TextProcessingApiScheduleResponseApplicationJson_OcsInterface { + OCSMeta get meta; + TextProcessingApiScheduleResponseApplicationJson_Ocs_Data get data; } -abstract class ReferenceApiResolveResponseApplicationJson +abstract class TextProcessingApiScheduleResponseApplicationJson_Ocs implements - ReferenceApiResolveResponseApplicationJsonInterface, - Built { - factory ReferenceApiResolveResponseApplicationJson([ - final void Function(ReferenceApiResolveResponseApplicationJsonBuilder)? b, - ]) = _$ReferenceApiResolveResponseApplicationJson; + TextProcessingApiScheduleResponseApplicationJson_OcsInterface, + Built { + factory TextProcessingApiScheduleResponseApplicationJson_Ocs([ + final void Function(TextProcessingApiScheduleResponseApplicationJson_OcsBuilder)? b, + ]) = _$TextProcessingApiScheduleResponseApplicationJson_Ocs; // coverage:ignore-start - const ReferenceApiResolveResponseApplicationJson._(); + const TextProcessingApiScheduleResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiResolveResponseApplicationJson.fromJson(final Map json) => + factory TextProcessingApiScheduleResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8516,30 +9681,30 @@ abstract class ReferenceApiResolveResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$referenceApiResolveResponseApplicationJsonSerializer; + static Serializer get serializer => + _$textProcessingApiScheduleResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class ReferenceApiExtractResponseApplicationJson_Ocs_DataInterface { - BuiltMap get references; +abstract interface class TextProcessingApiScheduleResponseApplicationJsonInterface { + TextProcessingApiScheduleResponseApplicationJson_Ocs get ocs; } -abstract class ReferenceApiExtractResponseApplicationJson_Ocs_Data +abstract class TextProcessingApiScheduleResponseApplicationJson implements - ReferenceApiExtractResponseApplicationJson_Ocs_DataInterface, - Built { - factory ReferenceApiExtractResponseApplicationJson_Ocs_Data([ - final void Function(ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$ReferenceApiExtractResponseApplicationJson_Ocs_Data; + TextProcessingApiScheduleResponseApplicationJsonInterface, + Built { + factory TextProcessingApiScheduleResponseApplicationJson([ + final void Function(TextProcessingApiScheduleResponseApplicationJsonBuilder)? b, + ]) = _$TextProcessingApiScheduleResponseApplicationJson; // coverage:ignore-start - const ReferenceApiExtractResponseApplicationJson_Ocs_Data._(); + const TextProcessingApiScheduleResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiExtractResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory TextProcessingApiScheduleResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8547,30 +9712,30 @@ abstract class ReferenceApiExtractResponseApplicationJson_Ocs_Data Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$referenceApiExtractResponseApplicationJsonOcsDataSerializer; + static Serializer get serializer => + _$textProcessingApiScheduleResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class ReferenceApiExtractResponseApplicationJson_OcsInterface { - OCSMeta get meta; - ReferenceApiExtractResponseApplicationJson_Ocs_Data get data; +abstract interface class TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterface { + TextProcessingTask get task; } -abstract class ReferenceApiExtractResponseApplicationJson_Ocs +abstract class TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data implements - ReferenceApiExtractResponseApplicationJson_OcsInterface, - Built { - factory ReferenceApiExtractResponseApplicationJson_Ocs([ - final void Function(ReferenceApiExtractResponseApplicationJson_OcsBuilder)? b, - ]) = _$ReferenceApiExtractResponseApplicationJson_Ocs; + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterface, + Built { + factory TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data([ + final void Function(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const ReferenceApiExtractResponseApplicationJson_Ocs._(); + const TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiExtractResponseApplicationJson_Ocs.fromJson(final Map json) => + factory TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8578,29 +9743,31 @@ abstract class ReferenceApiExtractResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$referenceApiExtractResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$textProcessingApiGetTaskResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class ReferenceApiExtractResponseApplicationJsonInterface { - ReferenceApiExtractResponseApplicationJson_Ocs get ocs; +abstract interface class TextProcessingApiGetTaskResponseApplicationJson_OcsInterface { + OCSMeta get meta; + TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data get data; } -abstract class ReferenceApiExtractResponseApplicationJson +abstract class TextProcessingApiGetTaskResponseApplicationJson_Ocs implements - ReferenceApiExtractResponseApplicationJsonInterface, - Built { - factory ReferenceApiExtractResponseApplicationJson([ - final void Function(ReferenceApiExtractResponseApplicationJsonBuilder)? b, - ]) = _$ReferenceApiExtractResponseApplicationJson; + TextProcessingApiGetTaskResponseApplicationJson_OcsInterface, + Built { + factory TextProcessingApiGetTaskResponseApplicationJson_Ocs([ + final void Function(TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder)? b, + ]) = _$TextProcessingApiGetTaskResponseApplicationJson_Ocs; // coverage:ignore-start - const ReferenceApiExtractResponseApplicationJson._(); + const TextProcessingApiGetTaskResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiExtractResponseApplicationJson.fromJson(final Map json) => + factory TextProcessingApiGetTaskResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8608,31 +9775,29 @@ abstract class ReferenceApiExtractResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$referenceApiExtractResponseApplicationJsonSerializer; + static Serializer get serializer => + _$textProcessingApiGetTaskResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class ReferenceProviderInterface { - String get id; - String get title; - @BuiltValueField(wireName: 'icon_url') - String get iconUrl; - int get order; - @BuiltValueField(wireName: 'search_providers_ids') - BuiltList? get searchProvidersIds; +abstract interface class TextProcessingApiGetTaskResponseApplicationJsonInterface { + TextProcessingApiGetTaskResponseApplicationJson_Ocs get ocs; } -abstract class ReferenceProvider - implements ReferenceProviderInterface, Built { - factory ReferenceProvider([final void Function(ReferenceProviderBuilder)? b]) = _$ReferenceProvider; +abstract class TextProcessingApiGetTaskResponseApplicationJson + implements + TextProcessingApiGetTaskResponseApplicationJsonInterface, + Built { + factory TextProcessingApiGetTaskResponseApplicationJson([ + final void Function(TextProcessingApiGetTaskResponseApplicationJsonBuilder)? b, + ]) = _$TextProcessingApiGetTaskResponseApplicationJson; // coverage:ignore-start - const ReferenceProvider._(); + const TextProcessingApiGetTaskResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceProvider.fromJson(final Map json) => + factory TextProcessingApiGetTaskResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8640,30 +9805,30 @@ abstract class ReferenceProvider Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$referenceProviderSerializer; + static Serializer get serializer => + _$textProcessingApiGetTaskResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterface { - OCSMeta get meta; - BuiltList get data; +abstract interface class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterface { + TextProcessingTask get task; } -abstract class ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs +abstract class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data implements - ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterface, - Built { - factory ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs([ - final void Function(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder)? b, - ]) = _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs; + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterface, + Built { + factory TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data([ + final void Function(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs._(); + const TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs.fromJson(final Map json) => + factory TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8671,30 +9836,31 @@ abstract class ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$referenceApiGetProvidersInfoResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$textProcessingApiDeleteTaskResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class ReferenceApiGetProvidersInfoResponseApplicationJsonInterface { - ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs get ocs; +abstract interface class TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterface { + OCSMeta get meta; + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data get data; } -abstract class ReferenceApiGetProvidersInfoResponseApplicationJson +abstract class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs implements - ReferenceApiGetProvidersInfoResponseApplicationJsonInterface, - Built { - factory ReferenceApiGetProvidersInfoResponseApplicationJson([ - final void Function(ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder)? b, - ]) = _$ReferenceApiGetProvidersInfoResponseApplicationJson; + TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterface, + Built { + factory TextProcessingApiDeleteTaskResponseApplicationJson_Ocs([ + final void Function(TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder)? b, + ]) = _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs; // coverage:ignore-start - const ReferenceApiGetProvidersInfoResponseApplicationJson._(); + const TextProcessingApiDeleteTaskResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiGetProvidersInfoResponseApplicationJson.fromJson(final Map json) => + factory TextProcessingApiDeleteTaskResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8702,30 +9868,30 @@ abstract class ReferenceApiGetProvidersInfoResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$referenceApiGetProvidersInfoResponseApplicationJsonSerializer; + static Serializer get serializer => + _$textProcessingApiDeleteTaskResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterface { - bool get success; +abstract interface class TextProcessingApiDeleteTaskResponseApplicationJsonInterface { + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs get ocs; } -abstract class ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data +abstract class TextProcessingApiDeleteTaskResponseApplicationJson implements - ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterface, - Built { - factory ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data([ - final void Function(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data; + TextProcessingApiDeleteTaskResponseApplicationJsonInterface, + Built { + factory TextProcessingApiDeleteTaskResponseApplicationJson([ + final void Function(TextProcessingApiDeleteTaskResponseApplicationJsonBuilder)? b, + ]) = _$TextProcessingApiDeleteTaskResponseApplicationJson; // coverage:ignore-start - const ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data._(); + const TextProcessingApiDeleteTaskResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory TextProcessingApiDeleteTaskResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8733,31 +9899,30 @@ abstract class ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$referenceApiTouchProviderResponseApplicationJsonOcsDataSerializer; + static Serializer get serializer => + _$textProcessingApiDeleteTaskResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class ReferenceApiTouchProviderResponseApplicationJson_OcsInterface { - OCSMeta get meta; - ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data get data; +abstract interface class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterface { + BuiltList get tasks; } -abstract class ReferenceApiTouchProviderResponseApplicationJson_Ocs +abstract class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data implements - ReferenceApiTouchProviderResponseApplicationJson_OcsInterface, - Built { - factory ReferenceApiTouchProviderResponseApplicationJson_Ocs([ - final void Function(ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder)? b, - ]) = _$ReferenceApiTouchProviderResponseApplicationJson_Ocs; + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterface, + Built { + factory TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data([ + final void Function(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const ReferenceApiTouchProviderResponseApplicationJson_Ocs._(); + const TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiTouchProviderResponseApplicationJson_Ocs.fromJson(final Map json) => + factory TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8765,30 +9930,31 @@ abstract class ReferenceApiTouchProviderResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$referenceApiTouchProviderResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$textProcessingApiListTasksByAppResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class ReferenceApiTouchProviderResponseApplicationJsonInterface { - ReferenceApiTouchProviderResponseApplicationJson_Ocs get ocs; +abstract interface class TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterface { + OCSMeta get meta; + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data get data; } -abstract class ReferenceApiTouchProviderResponseApplicationJson +abstract class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs implements - ReferenceApiTouchProviderResponseApplicationJsonInterface, - Built { - factory ReferenceApiTouchProviderResponseApplicationJson([ - final void Function(ReferenceApiTouchProviderResponseApplicationJsonBuilder)? b, - ]) = _$ReferenceApiTouchProviderResponseApplicationJson; + TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterface, + Built { + factory TextProcessingApiListTasksByAppResponseApplicationJson_Ocs([ + final void Function(TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder)? b, + ]) = _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs; // coverage:ignore-start - const ReferenceApiTouchProviderResponseApplicationJson._(); + const TextProcessingApiListTasksByAppResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiTouchProviderResponseApplicationJson.fromJson(final Map json) => + factory TextProcessingApiListTasksByAppResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8796,32 +9962,30 @@ abstract class ReferenceApiTouchProviderResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$referenceApiTouchProviderResponseApplicationJsonSerializer; + static Serializer get serializer => + _$textProcessingApiListTasksByAppResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterface { - String get id; - String get name; - String get description; +abstract interface class TextProcessingApiListTasksByAppResponseApplicationJsonInterface { + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs get ocs; } -abstract class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types +abstract class TextProcessingApiListTasksByAppResponseApplicationJson implements - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterface, - Built { - factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types([ - final void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder)? b, - ]) = _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types; + TextProcessingApiListTasksByAppResponseApplicationJsonInterface, + Built { + factory TextProcessingApiListTasksByAppResponseApplicationJson([ + final void Function(TextProcessingApiListTasksByAppResponseApplicationJsonBuilder)? b, + ]) = _$TextProcessingApiListTasksByAppResponseApplicationJson; // coverage:ignore-start - const TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types._(); + const TextProcessingApiListTasksByAppResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types.fromJson(final Map json) => + factory TextProcessingApiListTasksByAppResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8829,30 +9993,30 @@ abstract class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$textProcessingApiTaskTypesResponseApplicationJsonOcsDataTypesSerializer; + static Serializer get serializer => + _$textProcessingApiListTasksByAppResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterface { - BuiltList get types; +abstract interface class TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataInterface { + bool get isAvailable; } -abstract class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data +abstract class TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data implements - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterface, - Built { - factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data([ - final void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data; + TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataInterface, + Built { + factory TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data([ + final void Function(TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data._(); + const TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8860,31 +10024,31 @@ abstract class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$textProcessingApiTaskTypesResponseApplicationJsonOcsDataSerializer; + static Serializer get serializer => + _$textToImageApiIsAvailableResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class TextProcessingApiTaskTypesResponseApplicationJson_OcsInterface { +abstract interface class TextToImageApiIsAvailableResponseApplicationJson_OcsInterface { OCSMeta get meta; - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data get data; + TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data get data; } -abstract class TextProcessingApiTaskTypesResponseApplicationJson_Ocs +abstract class TextToImageApiIsAvailableResponseApplicationJson_Ocs implements - TextProcessingApiTaskTypesResponseApplicationJson_OcsInterface, - Built { - factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs([ - final void Function(TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder)? b, - ]) = _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs; + TextToImageApiIsAvailableResponseApplicationJson_OcsInterface, + Built { + factory TextToImageApiIsAvailableResponseApplicationJson_Ocs([ + final void Function(TextToImageApiIsAvailableResponseApplicationJson_OcsBuilder)? b, + ]) = _$TextToImageApiIsAvailableResponseApplicationJson_Ocs; // coverage:ignore-start - const TextProcessingApiTaskTypesResponseApplicationJson_Ocs._(); + const TextToImageApiIsAvailableResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs.fromJson(final Map json) => + factory TextToImageApiIsAvailableResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8892,30 +10056,30 @@ abstract class TextProcessingApiTaskTypesResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$textProcessingApiTaskTypesResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$textToImageApiIsAvailableResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class TextProcessingApiTaskTypesResponseApplicationJsonInterface { - TextProcessingApiTaskTypesResponseApplicationJson_Ocs get ocs; +abstract interface class TextToImageApiIsAvailableResponseApplicationJsonInterface { + TextToImageApiIsAvailableResponseApplicationJson_Ocs get ocs; } -abstract class TextProcessingApiTaskTypesResponseApplicationJson +abstract class TextToImageApiIsAvailableResponseApplicationJson implements - TextProcessingApiTaskTypesResponseApplicationJsonInterface, - Built { - factory TextProcessingApiTaskTypesResponseApplicationJson([ - final void Function(TextProcessingApiTaskTypesResponseApplicationJsonBuilder)? b, - ]) = _$TextProcessingApiTaskTypesResponseApplicationJson; + TextToImageApiIsAvailableResponseApplicationJsonInterface, + Built { + factory TextToImageApiIsAvailableResponseApplicationJson([ + final void Function(TextToImageApiIsAvailableResponseApplicationJsonBuilder)? b, + ]) = _$TextToImageApiIsAvailableResponseApplicationJson; // coverage:ignore-start - const TextProcessingApiTaskTypesResponseApplicationJson._(); + const TextToImageApiIsAvailableResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiTaskTypesResponseApplicationJson.fromJson(final Map json) => + factory TextToImageApiIsAvailableResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8923,32 +10087,31 @@ abstract class TextProcessingApiTaskTypesResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$textProcessingApiTaskTypesResponseApplicationJsonSerializer; + static Serializer get serializer => + _$textToImageApiIsAvailableResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class TextProcessingTaskInterface { +abstract interface class TextToImageTaskInterface { int? get id; - String get type; int get status; String? get userId; String get appId; String get input; - String? get output; - String get identifier; + String? get identifier; + int get numberOfImages; + int? get completionExpectedAt; } -abstract class TextProcessingTask - implements TextProcessingTaskInterface, Built { - factory TextProcessingTask([final void Function(TextProcessingTaskBuilder)? b]) = _$TextProcessingTask; +abstract class TextToImageTask implements TextToImageTaskInterface, Built { + factory TextToImageTask([final void Function(TextToImageTaskBuilder)? b]) = _$TextToImageTask; // coverage:ignore-start - const TextProcessingTask._(); + const TextToImageTask._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingTask.fromJson(final Map json) => + factory TextToImageTask.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8956,29 +10119,29 @@ abstract class TextProcessingTask Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$textProcessingTaskSerializer; + static Serializer get serializer => _$textToImageTaskSerializer; } @BuiltValue(instantiable: false) -abstract interface class TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterface { - TextProcessingTask get task; +abstract interface class TextToImageApiScheduleResponseApplicationJson_Ocs_DataInterface { + TextToImageTask get task; } -abstract class TextProcessingApiScheduleResponseApplicationJson_Ocs_Data +abstract class TextToImageApiScheduleResponseApplicationJson_Ocs_Data implements - TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterface, - Built { - factory TextProcessingApiScheduleResponseApplicationJson_Ocs_Data([ - final void Function(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data; + TextToImageApiScheduleResponseApplicationJson_Ocs_DataInterface, + Built { + factory TextToImageApiScheduleResponseApplicationJson_Ocs_Data([ + final void Function(TextToImageApiScheduleResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$TextToImageApiScheduleResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const TextProcessingApiScheduleResponseApplicationJson_Ocs_Data._(); + const TextToImageApiScheduleResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiScheduleResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory TextToImageApiScheduleResponseApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8986,31 +10149,31 @@ abstract class TextProcessingApiScheduleResponseApplicationJson_Ocs_Data Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$textProcessingApiScheduleResponseApplicationJsonOcsDataSerializer; + static Serializer get serializer => + _$textToImageApiScheduleResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class TextProcessingApiScheduleResponseApplicationJson_OcsInterface { +abstract interface class TextToImageApiScheduleResponseApplicationJson_OcsInterface { OCSMeta get meta; - TextProcessingApiScheduleResponseApplicationJson_Ocs_Data get data; + TextToImageApiScheduleResponseApplicationJson_Ocs_Data get data; } -abstract class TextProcessingApiScheduleResponseApplicationJson_Ocs +abstract class TextToImageApiScheduleResponseApplicationJson_Ocs implements - TextProcessingApiScheduleResponseApplicationJson_OcsInterface, - Built { - factory TextProcessingApiScheduleResponseApplicationJson_Ocs([ - final void Function(TextProcessingApiScheduleResponseApplicationJson_OcsBuilder)? b, - ]) = _$TextProcessingApiScheduleResponseApplicationJson_Ocs; + TextToImageApiScheduleResponseApplicationJson_OcsInterface, + Built { + factory TextToImageApiScheduleResponseApplicationJson_Ocs([ + final void Function(TextToImageApiScheduleResponseApplicationJson_OcsBuilder)? b, + ]) = _$TextToImageApiScheduleResponseApplicationJson_Ocs; // coverage:ignore-start - const TextProcessingApiScheduleResponseApplicationJson_Ocs._(); + const TextToImageApiScheduleResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiScheduleResponseApplicationJson_Ocs.fromJson(final Map json) => + factory TextToImageApiScheduleResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9018,30 +10181,29 @@ abstract class TextProcessingApiScheduleResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$textProcessingApiScheduleResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$textToImageApiScheduleResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class TextProcessingApiScheduleResponseApplicationJsonInterface { - TextProcessingApiScheduleResponseApplicationJson_Ocs get ocs; +abstract interface class TextToImageApiScheduleResponseApplicationJsonInterface { + TextToImageApiScheduleResponseApplicationJson_Ocs get ocs; } -abstract class TextProcessingApiScheduleResponseApplicationJson +abstract class TextToImageApiScheduleResponseApplicationJson implements - TextProcessingApiScheduleResponseApplicationJsonInterface, - Built { - factory TextProcessingApiScheduleResponseApplicationJson([ - final void Function(TextProcessingApiScheduleResponseApplicationJsonBuilder)? b, - ]) = _$TextProcessingApiScheduleResponseApplicationJson; + TextToImageApiScheduleResponseApplicationJsonInterface, + Built { + factory TextToImageApiScheduleResponseApplicationJson([ + final void Function(TextToImageApiScheduleResponseApplicationJsonBuilder)? b, + ]) = _$TextToImageApiScheduleResponseApplicationJson; // coverage:ignore-start - const TextProcessingApiScheduleResponseApplicationJson._(); + const TextToImageApiScheduleResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiScheduleResponseApplicationJson.fromJson(final Map json) => + factory TextToImageApiScheduleResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9049,30 +10211,30 @@ abstract class TextProcessingApiScheduleResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$textProcessingApiScheduleResponseApplicationJsonSerializer; + static Serializer get serializer => + _$textToImageApiScheduleResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterface { - TextProcessingTask get task; +abstract interface class TextToImageApiGetTaskResponseApplicationJson_Ocs_DataInterface { + TextToImageTask get task; } -abstract class TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data +abstract class TextToImageApiGetTaskResponseApplicationJson_Ocs_Data implements - TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterface, - Built { - factory TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data([ - final void Function(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data; + TextToImageApiGetTaskResponseApplicationJson_Ocs_DataInterface, + Built { + factory TextToImageApiGetTaskResponseApplicationJson_Ocs_Data([ + final void Function(TextToImageApiGetTaskResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$TextToImageApiGetTaskResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data._(); + const TextToImageApiGetTaskResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory TextToImageApiGetTaskResponseApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9080,31 +10242,31 @@ abstract class TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$textProcessingApiGetTaskResponseApplicationJsonOcsDataSerializer; + static Serializer get serializer => + _$textToImageApiGetTaskResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class TextProcessingApiGetTaskResponseApplicationJson_OcsInterface { +abstract interface class TextToImageApiGetTaskResponseApplicationJson_OcsInterface { OCSMeta get meta; - TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data get data; + TextToImageApiGetTaskResponseApplicationJson_Ocs_Data get data; } -abstract class TextProcessingApiGetTaskResponseApplicationJson_Ocs +abstract class TextToImageApiGetTaskResponseApplicationJson_Ocs implements - TextProcessingApiGetTaskResponseApplicationJson_OcsInterface, - Built { - factory TextProcessingApiGetTaskResponseApplicationJson_Ocs([ - final void Function(TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder)? b, - ]) = _$TextProcessingApiGetTaskResponseApplicationJson_Ocs; + TextToImageApiGetTaskResponseApplicationJson_OcsInterface, + Built { + factory TextToImageApiGetTaskResponseApplicationJson_Ocs([ + final void Function(TextToImageApiGetTaskResponseApplicationJson_OcsBuilder)? b, + ]) = _$TextToImageApiGetTaskResponseApplicationJson_Ocs; // coverage:ignore-start - const TextProcessingApiGetTaskResponseApplicationJson_Ocs._(); + const TextToImageApiGetTaskResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiGetTaskResponseApplicationJson_Ocs.fromJson(final Map json) => + factory TextToImageApiGetTaskResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9112,29 +10274,29 @@ abstract class TextProcessingApiGetTaskResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$textProcessingApiGetTaskResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$textToImageApiGetTaskResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class TextProcessingApiGetTaskResponseApplicationJsonInterface { - TextProcessingApiGetTaskResponseApplicationJson_Ocs get ocs; +abstract interface class TextToImageApiGetTaskResponseApplicationJsonInterface { + TextToImageApiGetTaskResponseApplicationJson_Ocs get ocs; } -abstract class TextProcessingApiGetTaskResponseApplicationJson +abstract class TextToImageApiGetTaskResponseApplicationJson implements - TextProcessingApiGetTaskResponseApplicationJsonInterface, - Built { - factory TextProcessingApiGetTaskResponseApplicationJson([ - final void Function(TextProcessingApiGetTaskResponseApplicationJsonBuilder)? b, - ]) = _$TextProcessingApiGetTaskResponseApplicationJson; + TextToImageApiGetTaskResponseApplicationJsonInterface, + Built { + factory TextToImageApiGetTaskResponseApplicationJson([ + final void Function(TextToImageApiGetTaskResponseApplicationJsonBuilder)? b, + ]) = _$TextToImageApiGetTaskResponseApplicationJson; // coverage:ignore-start - const TextProcessingApiGetTaskResponseApplicationJson._(); + const TextToImageApiGetTaskResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiGetTaskResponseApplicationJson.fromJson(final Map json) => + factory TextToImageApiGetTaskResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9142,30 +10304,30 @@ abstract class TextProcessingApiGetTaskResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$textProcessingApiGetTaskResponseApplicationJsonSerializer; + static Serializer get serializer => + _$textToImageApiGetTaskResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterface { - TextProcessingTask get task; +abstract interface class TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataInterface { + TextToImageTask get task; } -abstract class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data +abstract class TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data implements - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterface, - Built { - factory TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data([ - final void Function(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data; + TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataInterface, + Built { + factory TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data([ + final void Function(TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data._(); + const TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9173,31 +10335,31 @@ abstract class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$textProcessingApiDeleteTaskResponseApplicationJsonOcsDataSerializer; + static Serializer get serializer => + _$textToImageApiDeleteTaskResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterface { +abstract interface class TextToImageApiDeleteTaskResponseApplicationJson_OcsInterface { OCSMeta get meta; - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data get data; + TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data get data; } -abstract class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs +abstract class TextToImageApiDeleteTaskResponseApplicationJson_Ocs implements - TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterface, - Built { - factory TextProcessingApiDeleteTaskResponseApplicationJson_Ocs([ - final void Function(TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder)? b, - ]) = _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs; + TextToImageApiDeleteTaskResponseApplicationJson_OcsInterface, + Built { + factory TextToImageApiDeleteTaskResponseApplicationJson_Ocs([ + final void Function(TextToImageApiDeleteTaskResponseApplicationJson_OcsBuilder)? b, + ]) = _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs; // coverage:ignore-start - const TextProcessingApiDeleteTaskResponseApplicationJson_Ocs._(); + const TextToImageApiDeleteTaskResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiDeleteTaskResponseApplicationJson_Ocs.fromJson(final Map json) => + factory TextToImageApiDeleteTaskResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9205,30 +10367,29 @@ abstract class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$textProcessingApiDeleteTaskResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$textToImageApiDeleteTaskResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class TextProcessingApiDeleteTaskResponseApplicationJsonInterface { - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs get ocs; +abstract interface class TextToImageApiDeleteTaskResponseApplicationJsonInterface { + TextToImageApiDeleteTaskResponseApplicationJson_Ocs get ocs; } -abstract class TextProcessingApiDeleteTaskResponseApplicationJson +abstract class TextToImageApiDeleteTaskResponseApplicationJson implements - TextProcessingApiDeleteTaskResponseApplicationJsonInterface, - Built { - factory TextProcessingApiDeleteTaskResponseApplicationJson([ - final void Function(TextProcessingApiDeleteTaskResponseApplicationJsonBuilder)? b, - ]) = _$TextProcessingApiDeleteTaskResponseApplicationJson; + TextToImageApiDeleteTaskResponseApplicationJsonInterface, + Built { + factory TextToImageApiDeleteTaskResponseApplicationJson([ + final void Function(TextToImageApiDeleteTaskResponseApplicationJsonBuilder)? b, + ]) = _$TextToImageApiDeleteTaskResponseApplicationJson; // coverage:ignore-start - const TextProcessingApiDeleteTaskResponseApplicationJson._(); + const TextToImageApiDeleteTaskResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiDeleteTaskResponseApplicationJson.fromJson(final Map json) => + factory TextToImageApiDeleteTaskResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9236,30 +10397,30 @@ abstract class TextProcessingApiDeleteTaskResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$textProcessingApiDeleteTaskResponseApplicationJsonSerializer; + static Serializer get serializer => + _$textToImageApiDeleteTaskResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterface { - BuiltList get tasks; +abstract interface class TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataInterface { + BuiltList get tasks; } -abstract class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data +abstract class TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data implements - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterface, - Built { - factory TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data([ - final void Function(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data; + TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataInterface, + Built { + factory TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data([ + final void Function(TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data._(); + const TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9267,31 +10428,31 @@ abstract class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$textProcessingApiListTasksByAppResponseApplicationJsonOcsDataSerializer; + static Serializer get serializer => + _$textToImageApiListTasksByAppResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterface { +abstract interface class TextToImageApiListTasksByAppResponseApplicationJson_OcsInterface { OCSMeta get meta; - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data get data; + TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data get data; } -abstract class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs +abstract class TextToImageApiListTasksByAppResponseApplicationJson_Ocs implements - TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterface, - Built { - factory TextProcessingApiListTasksByAppResponseApplicationJson_Ocs([ - final void Function(TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder)? b, - ]) = _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs; + TextToImageApiListTasksByAppResponseApplicationJson_OcsInterface, + Built { + factory TextToImageApiListTasksByAppResponseApplicationJson_Ocs([ + final void Function(TextToImageApiListTasksByAppResponseApplicationJson_OcsBuilder)? b, + ]) = _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs; // coverage:ignore-start - const TextProcessingApiListTasksByAppResponseApplicationJson_Ocs._(); + const TextToImageApiListTasksByAppResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiListTasksByAppResponseApplicationJson_Ocs.fromJson(final Map json) => + factory TextToImageApiListTasksByAppResponseApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9299,30 +10460,30 @@ abstract class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$textProcessingApiListTasksByAppResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$textToImageApiListTasksByAppResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class TextProcessingApiListTasksByAppResponseApplicationJsonInterface { - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs get ocs; +abstract interface class TextToImageApiListTasksByAppResponseApplicationJsonInterface { + TextToImageApiListTasksByAppResponseApplicationJson_Ocs get ocs; } -abstract class TextProcessingApiListTasksByAppResponseApplicationJson +abstract class TextToImageApiListTasksByAppResponseApplicationJson implements - TextProcessingApiListTasksByAppResponseApplicationJsonInterface, - Built { - factory TextProcessingApiListTasksByAppResponseApplicationJson([ - final void Function(TextProcessingApiListTasksByAppResponseApplicationJsonBuilder)? b, - ]) = _$TextProcessingApiListTasksByAppResponseApplicationJson; + TextToImageApiListTasksByAppResponseApplicationJsonInterface, + Built { + factory TextToImageApiListTasksByAppResponseApplicationJson([ + final void Function(TextToImageApiListTasksByAppResponseApplicationJsonBuilder)? b, + ]) = _$TextToImageApiListTasksByAppResponseApplicationJson; // coverage:ignore-start - const TextProcessingApiListTasksByAppResponseApplicationJson._(); + const TextToImageApiListTasksByAppResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiListTasksByAppResponseApplicationJson.fromJson(final Map json) => + factory TextToImageApiListTasksByAppResponseApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9330,8 +10491,8 @@ abstract class TextProcessingApiListTasksByAppResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$textProcessingApiListTasksByAppResponseApplicationJsonSerializer; + static Serializer get serializer => + _$textToImageApiListTasksByAppResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) @@ -10500,31 +11661,33 @@ final Serializers _serializers = (Serializers().toBuilder() ..add(ProvisioningApiCapabilities_ProvisioningApi.serializer) ..addBuilderFactory(const FullType(SharebymailCapabilities), SharebymailCapabilities.new) ..add(SharebymailCapabilities.serializer) + ..addBuilderFactory(const FullType(SharebymailCapabilities0), SharebymailCapabilities0.new) + ..add(SharebymailCapabilities0.serializer) ..addBuilderFactory( - const FullType(SharebymailCapabilities_FilesSharing), - SharebymailCapabilities_FilesSharing.new, + const FullType(SharebymailCapabilities0_FilesSharing), + SharebymailCapabilities0_FilesSharing.new, ) - ..add(SharebymailCapabilities_FilesSharing.serializer) + ..add(SharebymailCapabilities0_FilesSharing.serializer) ..addBuilderFactory( - const FullType(SharebymailCapabilities_FilesSharing_Sharebymail), - SharebymailCapabilities_FilesSharing_Sharebymail.new, + const FullType(SharebymailCapabilities0_FilesSharing_Sharebymail), + SharebymailCapabilities0_FilesSharing_Sharebymail.new, ) - ..add(SharebymailCapabilities_FilesSharing_Sharebymail.serializer) + ..add(SharebymailCapabilities0_FilesSharing_Sharebymail.serializer) ..addBuilderFactory( - const FullType(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop), - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop.new, + const FullType(SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop), + SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop.new, ) - ..add(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop.serializer) + ..add(SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop.serializer) ..addBuilderFactory( - const FullType(SharebymailCapabilities_FilesSharing_Sharebymail_Password), - SharebymailCapabilities_FilesSharing_Sharebymail_Password.new, + const FullType(SharebymailCapabilities0_FilesSharing_Sharebymail_Password), + SharebymailCapabilities0_FilesSharing_Sharebymail_Password.new, ) - ..add(SharebymailCapabilities_FilesSharing_Sharebymail_Password.serializer) + ..add(SharebymailCapabilities0_FilesSharing_Sharebymail_Password.serializer) ..addBuilderFactory( - const FullType(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate), - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate.new, + const FullType(SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate), + SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate.new, ) - ..add(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate.serializer) + ..add(SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate.serializer) ..addBuilderFactory(const FullType(SpreedPublicCapabilities), SpreedPublicCapabilities.new) ..add(SpreedPublicCapabilities.serializer) ..addBuilderFactory(const FullType(SpreedPublicCapabilities0), SpreedPublicCapabilities0.new) @@ -10760,6 +11923,84 @@ final Serializers _serializers = (Serializers().toBuilder() const FullType(BuiltList, [FullType(TextProcessingTask)]), ListBuilder.new, ) + ..addBuilderFactory( + const FullType(TextToImageApiIsAvailableResponseApplicationJson), + TextToImageApiIsAvailableResponseApplicationJson.new, + ) + ..add(TextToImageApiIsAvailableResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(TextToImageApiIsAvailableResponseApplicationJson_Ocs), + TextToImageApiIsAvailableResponseApplicationJson_Ocs.new, + ) + ..add(TextToImageApiIsAvailableResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data), + TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data.new, + ) + ..add(TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(TextToImageApiScheduleResponseApplicationJson), + TextToImageApiScheduleResponseApplicationJson.new, + ) + ..add(TextToImageApiScheduleResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(TextToImageApiScheduleResponseApplicationJson_Ocs), + TextToImageApiScheduleResponseApplicationJson_Ocs.new, + ) + ..add(TextToImageApiScheduleResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(TextToImageApiScheduleResponseApplicationJson_Ocs_Data), + TextToImageApiScheduleResponseApplicationJson_Ocs_Data.new, + ) + ..add(TextToImageApiScheduleResponseApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory(const FullType(TextToImageTask), TextToImageTask.new) + ..add(TextToImageTask.serializer) + ..addBuilderFactory( + const FullType(TextToImageApiGetTaskResponseApplicationJson), + TextToImageApiGetTaskResponseApplicationJson.new, + ) + ..add(TextToImageApiGetTaskResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(TextToImageApiGetTaskResponseApplicationJson_Ocs), + TextToImageApiGetTaskResponseApplicationJson_Ocs.new, + ) + ..add(TextToImageApiGetTaskResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(TextToImageApiGetTaskResponseApplicationJson_Ocs_Data), + TextToImageApiGetTaskResponseApplicationJson_Ocs_Data.new, + ) + ..add(TextToImageApiGetTaskResponseApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(TextToImageApiDeleteTaskResponseApplicationJson), + TextToImageApiDeleteTaskResponseApplicationJson.new, + ) + ..add(TextToImageApiDeleteTaskResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(TextToImageApiDeleteTaskResponseApplicationJson_Ocs), + TextToImageApiDeleteTaskResponseApplicationJson_Ocs.new, + ) + ..add(TextToImageApiDeleteTaskResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data), + TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data.new, + ) + ..add(TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(TextToImageApiListTasksByAppResponseApplicationJson), + TextToImageApiListTasksByAppResponseApplicationJson.new, + ) + ..add(TextToImageApiListTasksByAppResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(TextToImageApiListTasksByAppResponseApplicationJson_Ocs), + TextToImageApiListTasksByAppResponseApplicationJson_Ocs.new, + ) + ..add(TextToImageApiListTasksByAppResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data), + TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data.new, + ) + ..add(TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(TextToImageTask)]), ListBuilder.new) ..addBuilderFactory( const FullType(TranslationApiLanguagesResponseApplicationJson), TranslationApiLanguagesResponseApplicationJson.new, diff --git a/packages/nextcloud/lib/src/api/core.openapi.g.dart b/packages/nextcloud/lib/src/api/core.openapi.g.dart index c4b6e78b..61285052 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/core.openapi.g.dart @@ -179,21 +179,21 @@ Serializer _$provisioningApiCapabil _$ProvisioningApiCapabilities_ProvisioningApiSerializer(); Serializer _$provisioningApiCapabilitiesSerializer = _$ProvisioningApiCapabilitiesSerializer(); -Serializer - _$sharebymailCapabilitiesFilesSharingSharebymailUploadFilesDropSerializer = - _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropSerializer(); -Serializer - _$sharebymailCapabilitiesFilesSharingSharebymailPasswordSerializer = - _$SharebymailCapabilities_FilesSharing_Sharebymail_PasswordSerializer(); -Serializer - _$sharebymailCapabilitiesFilesSharingSharebymailExpireDateSerializer = - _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateSerializer(); -Serializer - _$sharebymailCapabilitiesFilesSharingSharebymailSerializer = - _$SharebymailCapabilities_FilesSharing_SharebymailSerializer(); -Serializer _$sharebymailCapabilitiesFilesSharingSerializer = - _$SharebymailCapabilities_FilesSharingSerializer(); -Serializer _$sharebymailCapabilitiesSerializer = _$SharebymailCapabilitiesSerializer(); +Serializer + _$sharebymailCapabilities0FilesSharingSharebymailUploadFilesDropSerializer = + _$SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropSerializer(); +Serializer + _$sharebymailCapabilities0FilesSharingSharebymailPasswordSerializer = + _$SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordSerializer(); +Serializer + _$sharebymailCapabilities0FilesSharingSharebymailExpireDateSerializer = + _$SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateSerializer(); +Serializer + _$sharebymailCapabilities0FilesSharingSharebymailSerializer = + _$SharebymailCapabilities0_FilesSharing_SharebymailSerializer(); +Serializer _$sharebymailCapabilities0FilesSharingSerializer = + _$SharebymailCapabilities0_FilesSharingSerializer(); +Serializer _$sharebymailCapabilities0Serializer = _$SharebymailCapabilities0Serializer(); Serializer _$spreedPublicCapabilities0SpreedConfigAttachmentsSerializer = _$SpreedPublicCapabilities0_Spreed_Config_AttachmentsSerializer(); @@ -323,6 +323,50 @@ Serializer Serializer _$textProcessingApiListTasksByAppResponseApplicationJsonSerializer = _$TextProcessingApiListTasksByAppResponseApplicationJsonSerializer(); +Serializer + _$textToImageApiIsAvailableResponseApplicationJsonOcsDataSerializer = + _$TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataSerializer(); +Serializer + _$textToImageApiIsAvailableResponseApplicationJsonOcsSerializer = + _$TextToImageApiIsAvailableResponseApplicationJson_OcsSerializer(); +Serializer + _$textToImageApiIsAvailableResponseApplicationJsonSerializer = + _$TextToImageApiIsAvailableResponseApplicationJsonSerializer(); +Serializer _$textToImageTaskSerializer = _$TextToImageTaskSerializer(); +Serializer + _$textToImageApiScheduleResponseApplicationJsonOcsDataSerializer = + _$TextToImageApiScheduleResponseApplicationJson_Ocs_DataSerializer(); +Serializer + _$textToImageApiScheduleResponseApplicationJsonOcsSerializer = + _$TextToImageApiScheduleResponseApplicationJson_OcsSerializer(); +Serializer _$textToImageApiScheduleResponseApplicationJsonSerializer = + _$TextToImageApiScheduleResponseApplicationJsonSerializer(); +Serializer + _$textToImageApiGetTaskResponseApplicationJsonOcsDataSerializer = + _$TextToImageApiGetTaskResponseApplicationJson_Ocs_DataSerializer(); +Serializer + _$textToImageApiGetTaskResponseApplicationJsonOcsSerializer = + _$TextToImageApiGetTaskResponseApplicationJson_OcsSerializer(); +Serializer _$textToImageApiGetTaskResponseApplicationJsonSerializer = + _$TextToImageApiGetTaskResponseApplicationJsonSerializer(); +Serializer + _$textToImageApiDeleteTaskResponseApplicationJsonOcsDataSerializer = + _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataSerializer(); +Serializer + _$textToImageApiDeleteTaskResponseApplicationJsonOcsSerializer = + _$TextToImageApiDeleteTaskResponseApplicationJson_OcsSerializer(); +Serializer + _$textToImageApiDeleteTaskResponseApplicationJsonSerializer = + _$TextToImageApiDeleteTaskResponseApplicationJsonSerializer(); +Serializer + _$textToImageApiListTasksByAppResponseApplicationJsonOcsDataSerializer = + _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataSerializer(); +Serializer + _$textToImageApiListTasksByAppResponseApplicationJsonOcsSerializer = + _$TextToImageApiListTasksByAppResponseApplicationJson_OcsSerializer(); +Serializer + _$textToImageApiListTasksByAppResponseApplicationJsonSerializer = + _$TextToImageApiListTasksByAppResponseApplicationJsonSerializer(); Serializer _$translationApiLanguagesResponseApplicationJsonOcsDataLanguagesSerializer = _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesSerializer(); @@ -4432,19 +4476,19 @@ class _$ProvisioningApiCapabilitiesSerializer implements StructuredSerializer { +class _$SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropSerializer + implements StructuredSerializer { @override final Iterable types = const [ - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop, - _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop + SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop, + _$SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop ]; @override - final String wireName = 'SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop'; + final String wireName = 'SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop'; @override Iterable serialize( - Serializers serializers, SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop object, + Serializers serializers, SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -4455,10 +4499,10 @@ class _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropSerializ } @override - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop deserialize( + SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); + final result = SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4476,18 +4520,19 @@ class _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropSerializ } } -class _$SharebymailCapabilities_FilesSharing_Sharebymail_PasswordSerializer - implements StructuredSerializer { +class _$SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordSerializer + implements StructuredSerializer { @override final Iterable types = const [ - SharebymailCapabilities_FilesSharing_Sharebymail_Password, - _$SharebymailCapabilities_FilesSharing_Sharebymail_Password + SharebymailCapabilities0_FilesSharing_Sharebymail_Password, + _$SharebymailCapabilities0_FilesSharing_Sharebymail_Password ]; @override - final String wireName = 'SharebymailCapabilities_FilesSharing_Sharebymail_Password'; + final String wireName = 'SharebymailCapabilities0_FilesSharing_Sharebymail_Password'; @override - Iterable serialize(Serializers serializers, SharebymailCapabilities_FilesSharing_Sharebymail_Password object, + Iterable serialize( + Serializers serializers, SharebymailCapabilities0_FilesSharing_Sharebymail_Password object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -4500,10 +4545,10 @@ class _$SharebymailCapabilities_FilesSharing_Sharebymail_PasswordSerializer } @override - SharebymailCapabilities_FilesSharing_Sharebymail_Password deserialize( + SharebymailCapabilities0_FilesSharing_Sharebymail_Password deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder(); + final result = SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4524,19 +4569,19 @@ class _$SharebymailCapabilities_FilesSharing_Sharebymail_PasswordSerializer } } -class _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateSerializer - implements StructuredSerializer { +class _$SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateSerializer + implements StructuredSerializer { @override final Iterable types = const [ - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate, - _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate + SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate, + _$SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate ]; @override - final String wireName = 'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate'; + final String wireName = 'SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate'; @override Iterable serialize( - Serializers serializers, SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate object, + Serializers serializers, SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -4549,10 +4594,10 @@ class _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateSerializer } @override - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate deserialize( + SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); + final result = SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4573,18 +4618,18 @@ class _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateSerializer } } -class _$SharebymailCapabilities_FilesSharing_SharebymailSerializer - implements StructuredSerializer { +class _$SharebymailCapabilities0_FilesSharing_SharebymailSerializer + implements StructuredSerializer { @override final Iterable types = const [ - SharebymailCapabilities_FilesSharing_Sharebymail, - _$SharebymailCapabilities_FilesSharing_Sharebymail + SharebymailCapabilities0_FilesSharing_Sharebymail, + _$SharebymailCapabilities0_FilesSharing_Sharebymail ]; @override - final String wireName = 'SharebymailCapabilities_FilesSharing_Sharebymail'; + final String wireName = 'SharebymailCapabilities0_FilesSharing_Sharebymail'; @override - Iterable serialize(Serializers serializers, SharebymailCapabilities_FilesSharing_Sharebymail object, + Iterable serialize(Serializers serializers, SharebymailCapabilities0_FilesSharing_Sharebymail object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -4593,22 +4638,22 @@ class _$SharebymailCapabilities_FilesSharing_SharebymailSerializer serializers.serialize(object.sendPasswordByMail, specifiedType: const FullType(bool)), 'upload_files_drop', serializers.serialize(object.uploadFilesDrop, - specifiedType: const FullType(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop)), + specifiedType: const FullType(SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop)), 'password', serializers.serialize(object.password, - specifiedType: const FullType(SharebymailCapabilities_FilesSharing_Sharebymail_Password)), + specifiedType: const FullType(SharebymailCapabilities0_FilesSharing_Sharebymail_Password)), 'expire_date', serializers.serialize(object.expireDate, - specifiedType: const FullType(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate)), + specifiedType: const FullType(SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate)), ]; return result; } @override - SharebymailCapabilities_FilesSharing_Sharebymail deserialize(Serializers serializers, Iterable serialized, + SharebymailCapabilities0_FilesSharing_Sharebymail deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = SharebymailCapabilities_FilesSharing_SharebymailBuilder(); + final result = SharebymailCapabilities0_FilesSharing_SharebymailBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4624,18 +4669,18 @@ class _$SharebymailCapabilities_FilesSharing_SharebymailSerializer break; case 'upload_files_drop': result.uploadFilesDrop.replace(serializers.deserialize(value, - specifiedType: const FullType(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop))! - as SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop); + specifiedType: const FullType(SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop))! + as SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop); break; case 'password': result.password.replace(serializers.deserialize(value, - specifiedType: const FullType(SharebymailCapabilities_FilesSharing_Sharebymail_Password))! - as SharebymailCapabilities_FilesSharing_Sharebymail_Password); + specifiedType: const FullType(SharebymailCapabilities0_FilesSharing_Sharebymail_Password))! + as SharebymailCapabilities0_FilesSharing_Sharebymail_Password); break; case 'expire_date': result.expireDate.replace(serializers.deserialize(value, - specifiedType: const FullType(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate))! - as SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate); + specifiedType: const FullType(SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate))! + as SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate); break; } } @@ -4644,29 +4689,29 @@ class _$SharebymailCapabilities_FilesSharing_SharebymailSerializer } } -class _$SharebymailCapabilities_FilesSharingSerializer - implements StructuredSerializer { +class _$SharebymailCapabilities0_FilesSharingSerializer + implements StructuredSerializer { @override - final Iterable types = const [SharebymailCapabilities_FilesSharing, _$SharebymailCapabilities_FilesSharing]; + final Iterable types = const [SharebymailCapabilities0_FilesSharing, _$SharebymailCapabilities0_FilesSharing]; @override - final String wireName = 'SharebymailCapabilities_FilesSharing'; + final String wireName = 'SharebymailCapabilities0_FilesSharing'; @override - Iterable serialize(Serializers serializers, SharebymailCapabilities_FilesSharing object, + Iterable serialize(Serializers serializers, SharebymailCapabilities0_FilesSharing object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'sharebymail', serializers.serialize(object.sharebymail, - specifiedType: const FullType(SharebymailCapabilities_FilesSharing_Sharebymail)), + specifiedType: const FullType(SharebymailCapabilities0_FilesSharing_Sharebymail)), ]; return result; } @override - SharebymailCapabilities_FilesSharing deserialize(Serializers serializers, Iterable serialized, + SharebymailCapabilities0_FilesSharing deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = SharebymailCapabilities_FilesSharingBuilder(); + final result = SharebymailCapabilities0_FilesSharingBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4676,8 +4721,8 @@ class _$SharebymailCapabilities_FilesSharingSerializer switch (key) { case 'sharebymail': result.sharebymail.replace(serializers.deserialize(value, - specifiedType: const FullType(SharebymailCapabilities_FilesSharing_Sharebymail))! - as SharebymailCapabilities_FilesSharing_Sharebymail); + specifiedType: const FullType(SharebymailCapabilities0_FilesSharing_Sharebymail))! + as SharebymailCapabilities0_FilesSharing_Sharebymail); break; } } @@ -4686,27 +4731,27 @@ class _$SharebymailCapabilities_FilesSharingSerializer } } -class _$SharebymailCapabilitiesSerializer implements StructuredSerializer { +class _$SharebymailCapabilities0Serializer implements StructuredSerializer { @override - final Iterable types = const [SharebymailCapabilities, _$SharebymailCapabilities]; + final Iterable types = const [SharebymailCapabilities0, _$SharebymailCapabilities0]; @override - final String wireName = 'SharebymailCapabilities'; + final String wireName = 'SharebymailCapabilities0'; @override - Iterable serialize(Serializers serializers, SharebymailCapabilities object, + Iterable serialize(Serializers serializers, SharebymailCapabilities0 object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'files_sharing', - serializers.serialize(object.filesSharing, specifiedType: const FullType(SharebymailCapabilities_FilesSharing)), + serializers.serialize(object.filesSharing, specifiedType: const FullType(SharebymailCapabilities0_FilesSharing)), ]; return result; } @override - SharebymailCapabilities deserialize(Serializers serializers, Iterable serialized, + SharebymailCapabilities0 deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = SharebymailCapabilitiesBuilder(); + final result = SharebymailCapabilities0Builder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4716,8 +4761,8 @@ class _$SharebymailCapabilitiesSerializer implements StructuredSerializer { +class _$TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages, - _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages + TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data, + _$TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages'; + final String wireName = 'TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data'; @override - Iterable serialize( - Serializers serializers, TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages object, + Iterable serialize(Serializers serializers, TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data 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)), + 'isAvailable', + serializers.serialize(object.isAvailable, specifiedType: const FullType(bool)), ]; return result; } @override - TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages deserialize( + TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder(); + final result = TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7468,17 +7506,8 @@ class _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesSeriali 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; + case 'isAvailable': + result.isAvailable = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -7487,36 +7516,35 @@ class _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesSeriali } } -class _$TranslationApiLanguagesResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$TextToImageApiIsAvailableResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TranslationApiLanguagesResponseApplicationJson_Ocs_Data, - _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data + TextToImageApiIsAvailableResponseApplicationJson_Ocs, + _$TextToImageApiIsAvailableResponseApplicationJson_Ocs ]; @override - final String wireName = 'TranslationApiLanguagesResponseApplicationJson_Ocs_Data'; + final String wireName = 'TextToImageApiIsAvailableResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, TranslationApiLanguagesResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, TextToImageApiIsAvailableResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'languages', - serializers.serialize(object.languages, - specifiedType: - const FullType(BuiltList, [FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages)])), - 'languageDetection', - serializers.serialize(object.languageDetection, specifiedType: const FullType(bool)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data)), ]; return result; } @override - TranslationApiLanguagesResponseApplicationJson_Ocs_Data deserialize( + TextToImageApiIsAvailableResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder(); + final result = TextToImageApiIsAvailableResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7524,14 +7552,13 @@ class _$TranslationApiLanguagesResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'languages': - result.languages.replace(serializers.deserialize(value, - specifiedType: const FullType( - BuiltList, [FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages)]))! - as BuiltList); + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; - case 'languageDetection': - result.languageDetection = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data))! + as TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data); break; } } @@ -7540,34 +7567,32 @@ class _$TranslationApiLanguagesResponseApplicationJson_Ocs_DataSerializer } } -class _$TranslationApiLanguagesResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$TextToImageApiIsAvailableResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TranslationApiLanguagesResponseApplicationJson_Ocs, - _$TranslationApiLanguagesResponseApplicationJson_Ocs + TextToImageApiIsAvailableResponseApplicationJson, + _$TextToImageApiIsAvailableResponseApplicationJson ]; @override - final String wireName = 'TranslationApiLanguagesResponseApplicationJson_Ocs'; + final String wireName = 'TextToImageApiIsAvailableResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, TranslationApiLanguagesResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, TextToImageApiIsAvailableResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(TextToImageApiIsAvailableResponseApplicationJson_Ocs)), ]; return result; } @override - TranslationApiLanguagesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + TextToImageApiIsAvailableResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiLanguagesResponseApplicationJson_OcsBuilder(); + final result = TextToImageApiIsAvailableResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7575,13 +7600,10 @@ class _$TranslationApiLanguagesResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data))! - as TranslationApiLanguagesResponseApplicationJson_Ocs_Data); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(TextToImageApiIsAvailableResponseApplicationJson_Ocs))! + as TextToImageApiIsAvailableResponseApplicationJson_Ocs); break; } } @@ -7590,32 +7612,57 @@ class _$TranslationApiLanguagesResponseApplicationJson_OcsSerializer } } -class _$TranslationApiLanguagesResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$TextToImageTaskSerializer implements StructuredSerializer { @override - final Iterable types = const [ - TranslationApiLanguagesResponseApplicationJson, - _$TranslationApiLanguagesResponseApplicationJson - ]; + final Iterable types = const [TextToImageTask, _$TextToImageTask]; @override - final String wireName = 'TranslationApiLanguagesResponseApplicationJson'; + final String wireName = 'TextToImageTask'; @override - Iterable serialize(Serializers serializers, TranslationApiLanguagesResponseApplicationJson object, + Iterable serialize(Serializers serializers, TextToImageTask object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs)), + '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)), + 'numberOfImages', + serializers.serialize(object.numberOfImages, specifiedType: const FullType(int)), ]; - + 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.identifier; + if (value != null) { + result + ..add('identifier') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.completionExpectedAt; + if (value != null) { + result + ..add('completionExpectedAt') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } return result; } @override - TranslationApiLanguagesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + TextToImageTask deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiLanguagesResponseApplicationJsonBuilder(); + final result = TextToImageTaskBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7623,10 +7670,29 @@ class _$TranslationApiLanguagesResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs))! - as TranslationApiLanguagesResponseApplicationJson_Ocs); + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + 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 'identifier': + result.identifier = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'numberOfImages': + result.numberOfImages = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'completionExpectedAt': + result.completionExpectedAt = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; break; } } @@ -7635,38 +7701,32 @@ class _$TranslationApiLanguagesResponseApplicationJsonSerializer } } -class _$TranslationApiTranslateResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$TextToImageApiScheduleResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TranslationApiTranslateResponseApplicationJson_Ocs_Data, - _$TranslationApiTranslateResponseApplicationJson_Ocs_Data + TextToImageApiScheduleResponseApplicationJson_Ocs_Data, + _$TextToImageApiScheduleResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'TranslationApiTranslateResponseApplicationJson_Ocs_Data'; + final String wireName = 'TextToImageApiScheduleResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, TranslationApiTranslateResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, TextToImageApiScheduleResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'text', - serializers.serialize(object.text, specifiedType: const FullType(String)), + 'task', + serializers.serialize(object.task, specifiedType: const FullType(TextToImageTask)), ]; - Object? value; - value = object.from; - if (value != null) { - result - ..add('from') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + return result; } @override - TranslationApiTranslateResponseApplicationJson_Ocs_Data deserialize( + TextToImageApiScheduleResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder(); + final result = TextToImageApiScheduleResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7674,11 +7734,9 @@ class _$TranslationApiTranslateResponseApplicationJson_Ocs_DataSerializer 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?; + case 'task': + result.task.replace( + serializers.deserialize(value, specifiedType: const FullType(TextToImageTask))! as TextToImageTask); break; } } @@ -7687,34 +7745,34 @@ class _$TranslationApiTranslateResponseApplicationJson_Ocs_DataSerializer } } -class _$TranslationApiTranslateResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$TextToImageApiScheduleResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TranslationApiTranslateResponseApplicationJson_Ocs, - _$TranslationApiTranslateResponseApplicationJson_Ocs + TextToImageApiScheduleResponseApplicationJson_Ocs, + _$TextToImageApiScheduleResponseApplicationJson_Ocs ]; @override - final String wireName = 'TranslationApiTranslateResponseApplicationJson_Ocs'; + final String wireName = 'TextToImageApiScheduleResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, TranslationApiTranslateResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, TextToImageApiScheduleResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs_Data)), + specifiedType: const FullType(TextToImageApiScheduleResponseApplicationJson_Ocs_Data)), ]; return result; } @override - TranslationApiTranslateResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + TextToImageApiScheduleResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiTranslateResponseApplicationJson_OcsBuilder(); + final result = TextToImageApiScheduleResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7727,8 +7785,8 @@ class _$TranslationApiTranslateResponseApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs_Data))! - as TranslationApiTranslateResponseApplicationJson_Ocs_Data); + specifiedType: const FullType(TextToImageApiScheduleResponseApplicationJson_Ocs_Data))! + as TextToImageApiScheduleResponseApplicationJson_Ocs_Data); break; } } @@ -7737,32 +7795,32 @@ class _$TranslationApiTranslateResponseApplicationJson_OcsSerializer } } -class _$TranslationApiTranslateResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$TextToImageApiScheduleResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TranslationApiTranslateResponseApplicationJson, - _$TranslationApiTranslateResponseApplicationJson + TextToImageApiScheduleResponseApplicationJson, + _$TextToImageApiScheduleResponseApplicationJson ]; @override - final String wireName = 'TranslationApiTranslateResponseApplicationJson'; + final String wireName = 'TextToImageApiScheduleResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, TranslationApiTranslateResponseApplicationJson object, + Iterable serialize(Serializers serializers, TextToImageApiScheduleResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs)), + specifiedType: const FullType(TextToImageApiScheduleResponseApplicationJson_Ocs)), ]; return result; } @override - TranslationApiTranslateResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + TextToImageApiScheduleResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiTranslateResponseApplicationJsonBuilder(); + final result = TextToImageApiScheduleResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7772,8 +7830,8 @@ class _$TranslationApiTranslateResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs))! - as TranslationApiTranslateResponseApplicationJson_Ocs); + specifiedType: const FullType(TextToImageApiScheduleResponseApplicationJson_Ocs))! + as TextToImageApiScheduleResponseApplicationJson_Ocs); break; } } @@ -7782,31 +7840,32 @@ class _$TranslationApiTranslateResponseApplicationJsonSerializer } } -class _$UnifiedSearchProviderSerializer implements StructuredSerializer { +class _$TextToImageApiGetTaskResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [UnifiedSearchProvider, _$UnifiedSearchProvider]; + final Iterable types = const [ + TextToImageApiGetTaskResponseApplicationJson_Ocs_Data, + _$TextToImageApiGetTaskResponseApplicationJson_Ocs_Data + ]; @override - final String wireName = 'UnifiedSearchProvider'; + final String wireName = 'TextToImageApiGetTaskResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, UnifiedSearchProvider object, + Iterable serialize(Serializers serializers, TextToImageApiGetTaskResponseApplicationJson_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)), + 'task', + serializers.serialize(object.task, specifiedType: const FullType(TextToImageTask)), ]; return result; } @override - UnifiedSearchProvider deserialize(Serializers serializers, Iterable serialized, + TextToImageApiGetTaskResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchProviderBuilder(); + final result = TextToImageApiGetTaskResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7814,14 +7873,9 @@ class _$UnifiedSearchProviderSerializer implements StructuredSerializer { +class _$TextToImageApiGetTaskResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - UnifiedSearchGetProvidersResponseApplicationJson_Ocs, - _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs + TextToImageApiGetTaskResponseApplicationJson_Ocs, + _$TextToImageApiGetTaskResponseApplicationJson_Ocs ]; @override - final String wireName = 'UnifiedSearchGetProvidersResponseApplicationJson_Ocs'; + final String wireName = 'TextToImageApiGetTaskResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, UnifiedSearchGetProvidersResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, TextToImageApiGetTaskResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(UnifiedSearchProvider)])), + serializers.serialize(object.data, + specifiedType: const FullType(TextToImageApiGetTaskResponseApplicationJson_Ocs_Data)), ]; return result; } @override - UnifiedSearchGetProvidersResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + TextToImageApiGetTaskResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder(); + final result = TextToImageApiGetTaskResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7870,7 +7924,8 @@ class _$UnifiedSearchGetProvidersResponseApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(UnifiedSearchProvider)]))! as BuiltList); + specifiedType: const FullType(TextToImageApiGetTaskResponseApplicationJson_Ocs_Data))! + as TextToImageApiGetTaskResponseApplicationJson_Ocs_Data); break; } } @@ -7879,32 +7934,32 @@ class _$UnifiedSearchGetProvidersResponseApplicationJson_OcsSerializer } } -class _$UnifiedSearchGetProvidersResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$TextToImageApiGetTaskResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - UnifiedSearchGetProvidersResponseApplicationJson, - _$UnifiedSearchGetProvidersResponseApplicationJson + TextToImageApiGetTaskResponseApplicationJson, + _$TextToImageApiGetTaskResponseApplicationJson ]; @override - final String wireName = 'UnifiedSearchGetProvidersResponseApplicationJson'; + final String wireName = 'TextToImageApiGetTaskResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, UnifiedSearchGetProvidersResponseApplicationJson object, + Iterable serialize(Serializers serializers, TextToImageApiGetTaskResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(UnifiedSearchGetProvidersResponseApplicationJson_Ocs)), + specifiedType: const FullType(TextToImageApiGetTaskResponseApplicationJson_Ocs)), ]; return result; } @override - UnifiedSearchGetProvidersResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + TextToImageApiGetTaskResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchGetProvidersResponseApplicationJsonBuilder(); + final result = TextToImageApiGetTaskResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7914,8 +7969,8 @@ class _$UnifiedSearchGetProvidersResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(UnifiedSearchGetProvidersResponseApplicationJson_Ocs))! - as UnifiedSearchGetProvidersResponseApplicationJson_Ocs); + specifiedType: const FullType(TextToImageApiGetTaskResponseApplicationJson_Ocs))! + as TextToImageApiGetTaskResponseApplicationJson_Ocs); break; } } @@ -7924,39 +7979,32 @@ class _$UnifiedSearchGetProvidersResponseApplicationJsonSerializer } } -class _$UnifiedSearchResultEntrySerializer implements StructuredSerializer { +class _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [UnifiedSearchResultEntry, _$UnifiedSearchResultEntry]; + final Iterable types = const [ + TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data, + _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data + ]; @override - final String wireName = 'UnifiedSearchResultEntry'; + final String wireName = 'TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, UnifiedSearchResultEntry object, + Iterable serialize(Serializers serializers, TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data 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)])), + 'task', + serializers.serialize(object.task, specifiedType: const FullType(TextToImageTask)), ]; return result; } @override - UnifiedSearchResultEntry deserialize(Serializers serializers, Iterable serialized, + TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchResultEntryBuilder(); + final result = TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7964,27 +8012,9 @@ class _$UnifiedSearchResultEntrySerializer implements StructuredSerializer); + case 'task': + result.task.replace( + serializers.deserialize(value, specifiedType: const FullType(TextToImageTask))! as TextToImageTask); break; } } @@ -7993,38 +8023,34 @@ class _$UnifiedSearchResultEntrySerializer implements StructuredSerializer { +class _$TextToImageApiDeleteTaskResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [UnifiedSearchResult, _$UnifiedSearchResult]; + final Iterable types = const [ + TextToImageApiDeleteTaskResponseApplicationJson_Ocs, + _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs + ]; @override - final String wireName = 'UnifiedSearchResult'; + final String wireName = 'TextToImageApiDeleteTaskResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, UnifiedSearchResult object, + Iterable serialize(Serializers serializers, TextToImageApiDeleteTaskResponseApplicationJson_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(UnifiedSearchResultEntry)])), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data)), ]; - Object? value; - value = object.cursor; - if (value != null) { - result - ..add('cursor') - ..add(serializers.serialize(value, specifiedType: const FullType(UnifiedSearchResult_Cursor))); - } + return result; } @override - UnifiedSearchResult deserialize(Serializers serializers, Iterable serialized, + TextToImageApiDeleteTaskResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchResultBuilder(); + final result = TextToImageApiDeleteTaskResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8032,19 +8058,13 @@ class _$UnifiedSearchResultSerializer implements StructuredSerializer); + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; - case 'cursor': - result.cursor.replace(serializers.deserialize(value, - specifiedType: const FullType(UnifiedSearchResult_Cursor))! as UnifiedSearchResult_Cursor); + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data))! + as TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data); break; } } @@ -8053,33 +8073,32 @@ class _$UnifiedSearchResultSerializer implements StructuredSerializer { +class _$TextToImageApiDeleteTaskResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - UnifiedSearchSearchResponseApplicationJson_Ocs, - _$UnifiedSearchSearchResponseApplicationJson_Ocs + TextToImageApiDeleteTaskResponseApplicationJson, + _$TextToImageApiDeleteTaskResponseApplicationJson ]; @override - final String wireName = 'UnifiedSearchSearchResponseApplicationJson_Ocs'; + final String wireName = 'TextToImageApiDeleteTaskResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, UnifiedSearchSearchResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, TextToImageApiDeleteTaskResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(UnifiedSearchResult)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(TextToImageApiDeleteTaskResponseApplicationJson_Ocs)), ]; return result; } @override - UnifiedSearchSearchResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + TextToImageApiDeleteTaskResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchSearchResponseApplicationJson_OcsBuilder(); + final result = TextToImageApiDeleteTaskResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8087,12 +8106,10 @@ class _$UnifiedSearchSearchResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(UnifiedSearchResult))! - as UnifiedSearchResult); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(TextToImageApiDeleteTaskResponseApplicationJson_Ocs))! + as TextToImageApiDeleteTaskResponseApplicationJson_Ocs); break; } } @@ -8101,31 +8118,33 @@ class _$UnifiedSearchSearchResponseApplicationJson_OcsSerializer } } -class _$UnifiedSearchSearchResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - UnifiedSearchSearchResponseApplicationJson, - _$UnifiedSearchSearchResponseApplicationJson + TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data, + _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'UnifiedSearchSearchResponseApplicationJson'; + final String wireName = 'TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, UnifiedSearchSearchResponseApplicationJson object, + Iterable serialize( + Serializers serializers, TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(UnifiedSearchSearchResponseApplicationJson_Ocs)), + 'tasks', + serializers.serialize(object.tasks, specifiedType: const FullType(BuiltList, [FullType(TextToImageTask)])), ]; return result; } @override - UnifiedSearchSearchResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchSearchResponseApplicationJsonBuilder(); + final result = TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8133,10 +8152,9 @@ class _$UnifiedSearchSearchResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(UnifiedSearchSearchResponseApplicationJson_Ocs))! - as UnifiedSearchSearchResponseApplicationJson_Ocs); + case 'tasks': + result.tasks.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(TextToImageTask)]))! as BuiltList); break; } } @@ -8145,34 +8163,35 @@ class _$UnifiedSearchSearchResponseApplicationJsonSerializer } } -class _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewSerializer - implements StructuredSerializer { +class _$TextToImageApiListTasksByAppResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew, - _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew + TextToImageApiListTasksByAppResponseApplicationJson_Ocs, + _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs ]; @override - final String wireName = 'WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew'; + final String wireName = 'TextToImageApiListTasksByAppResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew object, + Iterable serialize(Serializers serializers, TextToImageApiListTasksByAppResponseApplicationJson_Ocs 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)])), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data)), ]; return result; } @override - WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew deserialize( + TextToImageApiListTasksByAppResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder(); + final result = TextToImageApiListTasksByAppResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8180,13 +8199,13 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewSerializer 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); + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; - case 'admin': - result.admin.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data))! + as TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data); break; } } @@ -8195,42 +8214,32 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewSerializer } } -class _$WhatsNewGetResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$TextToImageApiListTasksByAppResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - WhatsNewGetResponseApplicationJson_Ocs_Data, - _$WhatsNewGetResponseApplicationJson_Ocs_Data + TextToImageApiListTasksByAppResponseApplicationJson, + _$TextToImageApiListTasksByAppResponseApplicationJson ]; @override - final String wireName = 'WhatsNewGetResponseApplicationJson_Ocs_Data'; + final String wireName = 'TextToImageApiListTasksByAppResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, TextToImageApiListTasksByAppResponseApplicationJson 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)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(TextToImageApiListTasksByAppResponseApplicationJson_Ocs)), ]; - Object? value; - value = object.whatsNew; - if (value != null) { - result - ..add('whatsNew') - ..add(serializers.serialize(value, - specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew))); - } + return result; } @override - WhatsNewGetResponseApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + TextToImageApiListTasksByAppResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WhatsNewGetResponseApplicationJson_Ocs_DataBuilder(); + final result = TextToImageApiListTasksByAppResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8238,19 +8247,10 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_DataSerializer 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(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew))! - as WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(TextToImageApiListTasksByAppResponseApplicationJson_Ocs))! + as TextToImageApiListTasksByAppResponseApplicationJson_Ocs); break; } } @@ -8259,30 +8259,39 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_DataSerializer } } -class _$WhatsNewGetResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesSerializer + implements StructuredSerializer { @override - final Iterable types = const [WhatsNewGetResponseApplicationJson_Ocs, _$WhatsNewGetResponseApplicationJson_Ocs]; + final Iterable types = const [ + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages, + _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages + ]; @override - final String wireName = 'WhatsNewGetResponseApplicationJson_Ocs'; + final String wireName = 'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages'; @override - Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson_Ocs object, + Iterable serialize( + Serializers serializers, TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data)), + '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 - WhatsNewGetResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WhatsNewGetResponseApplicationJson_OcsBuilder(); + final result = TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8290,13 +8299,17 @@ class _$WhatsNewGetResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'from': + result.from = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data))! - as WhatsNewGetResponseApplicationJson_Ocs_Data); + 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; } } @@ -8305,28 +8318,36 @@ class _$WhatsNewGetResponseApplicationJson_OcsSerializer } } -class _$WhatsNewGetResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$TranslationApiLanguagesResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [WhatsNewGetResponseApplicationJson, _$WhatsNewGetResponseApplicationJson]; + final Iterable types = const [ + TranslationApiLanguagesResponseApplicationJson_Ocs_Data, + _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data + ]; @override - final String wireName = 'WhatsNewGetResponseApplicationJson'; + final String wireName = 'TranslationApiLanguagesResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson object, + Iterable serialize(Serializers serializers, TranslationApiLanguagesResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs)), + 'languages', + serializers.serialize(object.languages, + specifiedType: + const FullType(BuiltList, [FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages)])), + 'languageDetection', + serializers.serialize(object.languageDetection, specifiedType: const FullType(bool)), ]; return result; } @override - WhatsNewGetResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + TranslationApiLanguagesResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WhatsNewGetResponseApplicationJsonBuilder(); + final result = TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8334,10 +8355,14 @@ class _$WhatsNewGetResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs))! - as WhatsNewGetResponseApplicationJson_Ocs); + case 'languages': + result.languages.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, [FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages)]))! + as BuiltList); + break; + case 'languageDetection': + result.languageDetection = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -8346,33 +8371,34 @@ class _$WhatsNewGetResponseApplicationJsonSerializer } } -class _$WhatsNewDismissResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$TranslationApiLanguagesResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - WhatsNewDismissResponseApplicationJson_Ocs, - _$WhatsNewDismissResponseApplicationJson_Ocs + TranslationApiLanguagesResponseApplicationJson_Ocs, + _$TranslationApiLanguagesResponseApplicationJson_Ocs ]; @override - final String wireName = 'WhatsNewDismissResponseApplicationJson_Ocs'; + final String wireName = 'TranslationApiLanguagesResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, WhatsNewDismissResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, TranslationApiLanguagesResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + serializers.serialize(object.data, + specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data)), ]; return result; } @override - WhatsNewDismissResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + TranslationApiLanguagesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WhatsNewDismissResponseApplicationJson_OcsBuilder(); + final result = TranslationApiLanguagesResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8384,7 +8410,9 @@ class _$WhatsNewDismissResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data))! + as TranslationApiLanguagesResponseApplicationJson_Ocs_Data); break; } } @@ -8393,28 +8421,32 @@ class _$WhatsNewDismissResponseApplicationJson_OcsSerializer } } -class _$WhatsNewDismissResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$TranslationApiLanguagesResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [WhatsNewDismissResponseApplicationJson, _$WhatsNewDismissResponseApplicationJson]; + final Iterable types = const [ + TranslationApiLanguagesResponseApplicationJson, + _$TranslationApiLanguagesResponseApplicationJson + ]; @override - final String wireName = 'WhatsNewDismissResponseApplicationJson'; + final String wireName = 'TranslationApiLanguagesResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, WhatsNewDismissResponseApplicationJson object, + Iterable serialize(Serializers serializers, TranslationApiLanguagesResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(WhatsNewDismissResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs)), ]; return result; } @override - WhatsNewDismissResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + TranslationApiLanguagesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WhatsNewDismissResponseApplicationJsonBuilder(); + final result = TranslationApiLanguagesResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8423,9 +8455,9 @@ class _$WhatsNewDismissResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(WhatsNewDismissResponseApplicationJson_Ocs))! - as WhatsNewDismissResponseApplicationJson_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs))! + as TranslationApiLanguagesResponseApplicationJson_Ocs); break; } } @@ -8434,28 +8466,38 @@ class _$WhatsNewDismissResponseApplicationJsonSerializer } } -class _$WipeCheckWipeResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$TranslationApiTranslateResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [WipeCheckWipeResponseApplicationJson, _$WipeCheckWipeResponseApplicationJson]; + final Iterable types = const [ + TranslationApiTranslateResponseApplicationJson_Ocs_Data, + _$TranslationApiTranslateResponseApplicationJson_Ocs_Data + ]; @override - final String wireName = 'WipeCheckWipeResponseApplicationJson'; + final String wireName = 'TranslationApiTranslateResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, WipeCheckWipeResponseApplicationJson object, + Iterable serialize(Serializers serializers, TranslationApiTranslateResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'wipe', - serializers.serialize(object.wipe, specifiedType: const FullType(bool)), + '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 - WipeCheckWipeResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + TranslationApiTranslateResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WipeCheckWipeResponseApplicationJsonBuilder(); + final result = TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8463,8 +8505,11 @@ class _$WipeCheckWipeResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'wipe': - result.wipe = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + 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; } } @@ -8473,87 +8518,873 @@ class _$WipeCheckWipeResponseApplicationJsonSerializer } } -abstract mixin class StatusInterfaceBuilder { - void replace(StatusInterface other); - void update(void Function(StatusInterfaceBuilder) updates); - bool? get installed; - set installed(bool? installed); - - bool? get maintenance; - set maintenance(bool? maintenance); - - bool? get needsDbUpgrade; - set needsDbUpgrade(bool? needsDbUpgrade); +class _$TranslationApiTranslateResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + TranslationApiTranslateResponseApplicationJson_Ocs, + _$TranslationApiTranslateResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'TranslationApiTranslateResponseApplicationJson_Ocs'; - String? get version; - set version(String? version); + @override + Iterable serialize(Serializers serializers, TranslationApiTranslateResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs_Data)), + ]; - String? get versionstring; - set versionstring(String? versionstring); + return result; + } - String? get edition; - set edition(String? edition); + @override + TranslationApiTranslateResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = TranslationApiTranslateResponseApplicationJson_OcsBuilder(); - String? get productname; - set productname(String? productname); + 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(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs_Data))! + as TranslationApiTranslateResponseApplicationJson_Ocs_Data); + break; + } + } - bool? get extendedSupport; - set extendedSupport(bool? extendedSupport); + return result.build(); + } } -class _$Status extends Status { - @override - final bool installed; - @override - final bool maintenance; - @override - final bool needsDbUpgrade; - @override - final String version; +class _$TranslationApiTranslateResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final String versionstring; + final Iterable types = const [ + TranslationApiTranslateResponseApplicationJson, + _$TranslationApiTranslateResponseApplicationJson + ]; @override - final String edition; + final String wireName = 'TranslationApiTranslateResponseApplicationJson'; + @override - final String productname; + Iterable serialize(Serializers serializers, TranslationApiTranslateResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs)), + ]; + + return result; + } + @override - final bool extendedSupport; + TranslationApiTranslateResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = TranslationApiTranslateResponseApplicationJsonBuilder(); - factory _$Status([void Function(StatusBuilder)? updates]) => (StatusBuilder()..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(TranslationApiTranslateResponseApplicationJson_Ocs))! + as TranslationApiTranslateResponseApplicationJson_Ocs); + break; + } + } - _$Status._( - {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'Status', 'installed'); - BuiltValueNullFieldError.checkNotNull(maintenance, r'Status', 'maintenance'); - BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'Status', 'needsDbUpgrade'); - BuiltValueNullFieldError.checkNotNull(version, r'Status', 'version'); - BuiltValueNullFieldError.checkNotNull(versionstring, r'Status', 'versionstring'); - BuiltValueNullFieldError.checkNotNull(edition, r'Status', 'edition'); - BuiltValueNullFieldError.checkNotNull(productname, r'Status', 'productname'); - BuiltValueNullFieldError.checkNotNull(extendedSupport, r'Status', 'extendedSupport'); + return result.build(); } +} +class _$UnifiedSearchProviderSerializer implements StructuredSerializer { @override - Status rebuild(void Function(StatusBuilder) updates) => (toBuilder()..update(updates)).build(); + final Iterable types = const [UnifiedSearchProvider, _$UnifiedSearchProvider]; + @override + final String wireName = 'UnifiedSearchProvider'; @override - StatusBuilder toBuilder() => StatusBuilder()..replace(this); + Iterable serialize(Serializers serializers, UnifiedSearchProvider 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 - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is Status && - installed == other.installed && - maintenance == other.maintenance && - needsDbUpgrade == other.needsDbUpgrade && + UnifiedSearchProvider deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UnifiedSearchProviderBuilder(); + + 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 _$UnifiedSearchGetProvidersResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + UnifiedSearchGetProvidersResponseApplicationJson_Ocs, + _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'UnifiedSearchGetProvidersResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, UnifiedSearchGetProvidersResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(UnifiedSearchProvider)])), + ]; + + return result; + } + + @override + UnifiedSearchGetProvidersResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UnifiedSearchGetProvidersResponseApplicationJson_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(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(UnifiedSearchProvider)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$UnifiedSearchGetProvidersResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + UnifiedSearchGetProvidersResponseApplicationJson, + _$UnifiedSearchGetProvidersResponseApplicationJson + ]; + @override + final String wireName = 'UnifiedSearchGetProvidersResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, UnifiedSearchGetProvidersResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(UnifiedSearchGetProvidersResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + UnifiedSearchGetProvidersResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UnifiedSearchGetProvidersResponseApplicationJsonBuilder(); + + 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(UnifiedSearchGetProvidersResponseApplicationJson_Ocs))! + as UnifiedSearchGetProvidersResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$UnifiedSearchResultEntrySerializer implements StructuredSerializer { + @override + final Iterable types = const [UnifiedSearchResultEntry, _$UnifiedSearchResultEntry]; + @override + final String wireName = 'UnifiedSearchResultEntry'; + + @override + Iterable serialize(Serializers serializers, UnifiedSearchResultEntry 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 + UnifiedSearchResultEntry deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UnifiedSearchResultEntryBuilder(); + + 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 _$UnifiedSearchResultSerializer implements StructuredSerializer { + @override + final Iterable types = const [UnifiedSearchResult, _$UnifiedSearchResult]; + @override + final String wireName = 'UnifiedSearchResult'; + + @override + Iterable serialize(Serializers serializers, UnifiedSearchResult 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(UnifiedSearchResultEntry)])), + ]; + Object? value; + value = object.cursor; + if (value != null) { + result + ..add('cursor') + ..add(serializers.serialize(value, specifiedType: const FullType(UnifiedSearchResult_Cursor))); + } + return result; + } + + @override + UnifiedSearchResult deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UnifiedSearchResultBuilder(); + + 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(UnifiedSearchResultEntry)]))! as BuiltList); + break; + case 'cursor': + result.cursor.replace(serializers.deserialize(value, + specifiedType: const FullType(UnifiedSearchResult_Cursor))! as UnifiedSearchResult_Cursor); + break; + } + } + + return result.build(); + } +} + +class _$UnifiedSearchSearchResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + UnifiedSearchSearchResponseApplicationJson_Ocs, + _$UnifiedSearchSearchResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'UnifiedSearchSearchResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, UnifiedSearchSearchResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(UnifiedSearchResult)), + ]; + + return result; + } + + @override + UnifiedSearchSearchResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UnifiedSearchSearchResponseApplicationJson_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(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(UnifiedSearchResult))! + as UnifiedSearchResult); + break; + } + } + + return result.build(); + } +} + +class _$UnifiedSearchSearchResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + UnifiedSearchSearchResponseApplicationJson, + _$UnifiedSearchSearchResponseApplicationJson + ]; + @override + final String wireName = 'UnifiedSearchSearchResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, UnifiedSearchSearchResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(UnifiedSearchSearchResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + UnifiedSearchSearchResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UnifiedSearchSearchResponseApplicationJsonBuilder(); + + 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(UnifiedSearchSearchResponseApplicationJson_Ocs))! + as UnifiedSearchSearchResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew, + _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew + ]; + @override + final String wireName = 'WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew'; + + @override + Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson_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 + WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = WhatsNewGetResponseApplicationJson_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 _$WhatsNewGetResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + WhatsNewGetResponseApplicationJson_Ocs_Data, + _$WhatsNewGetResponseApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'WhatsNewGetResponseApplicationJson_Ocs_Data'; + + @override + Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson_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(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew))); + } + return result; + } + + @override + WhatsNewGetResponseApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = WhatsNewGetResponseApplicationJson_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(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew))! + as WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew); + break; + } + } + + return result.build(); + } +} + +class _$WhatsNewGetResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [WhatsNewGetResponseApplicationJson_Ocs, _$WhatsNewGetResponseApplicationJson_Ocs]; + @override + final String wireName = 'WhatsNewGetResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + WhatsNewGetResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = WhatsNewGetResponseApplicationJson_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(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data))! + as WhatsNewGetResponseApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$WhatsNewGetResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [WhatsNewGetResponseApplicationJson, _$WhatsNewGetResponseApplicationJson]; + @override + final String wireName = 'WhatsNewGetResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + WhatsNewGetResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = WhatsNewGetResponseApplicationJsonBuilder(); + + 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(WhatsNewGetResponseApplicationJson_Ocs))! + as WhatsNewGetResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$WhatsNewDismissResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + WhatsNewDismissResponseApplicationJson_Ocs, + _$WhatsNewDismissResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'WhatsNewDismissResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, WhatsNewDismissResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + WhatsNewDismissResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = WhatsNewDismissResponseApplicationJson_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(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$WhatsNewDismissResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [WhatsNewDismissResponseApplicationJson, _$WhatsNewDismissResponseApplicationJson]; + @override + final String wireName = 'WhatsNewDismissResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, WhatsNewDismissResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(WhatsNewDismissResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + WhatsNewDismissResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = WhatsNewDismissResponseApplicationJsonBuilder(); + + 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(WhatsNewDismissResponseApplicationJson_Ocs))! + as WhatsNewDismissResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$WipeCheckWipeResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [WipeCheckWipeResponseApplicationJson, _$WipeCheckWipeResponseApplicationJson]; + @override + final String wireName = 'WipeCheckWipeResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, WipeCheckWipeResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'wipe', + serializers.serialize(object.wipe, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + WipeCheckWipeResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = WipeCheckWipeResponseApplicationJsonBuilder(); + + 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(); + } +} + +abstract mixin class StatusInterfaceBuilder { + void replace(StatusInterface other); + void update(void Function(StatusInterfaceBuilder) updates); + bool? get installed; + set installed(bool? installed); + + bool? get maintenance; + set maintenance(bool? maintenance); + + bool? get needsDbUpgrade; + set needsDbUpgrade(bool? needsDbUpgrade); + + String? get version; + set version(String? version); + + String? get versionstring; + set versionstring(String? versionstring); + + String? get edition; + set edition(String? edition); + + String? get productname; + set productname(String? productname); + + bool? get extendedSupport; + set extendedSupport(bool? extendedSupport); +} + +class _$Status extends Status { + @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 _$Status([void Function(StatusBuilder)? updates]) => (StatusBuilder()..update(updates))._build(); + + _$Status._( + {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'Status', 'installed'); + BuiltValueNullFieldError.checkNotNull(maintenance, r'Status', 'maintenance'); + BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'Status', 'needsDbUpgrade'); + BuiltValueNullFieldError.checkNotNull(version, r'Status', 'version'); + BuiltValueNullFieldError.checkNotNull(versionstring, r'Status', 'versionstring'); + BuiltValueNullFieldError.checkNotNull(edition, r'Status', 'edition'); + BuiltValueNullFieldError.checkNotNull(productname, r'Status', 'productname'); + BuiltValueNullFieldError.checkNotNull(extendedSupport, r'Status', 'extendedSupport'); + } + + @override + Status rebuild(void Function(StatusBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + StatusBuilder toBuilder() => StatusBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is Status && + installed == other.installed && + maintenance == other.maintenance && + needsDbUpgrade == other.needsDbUpgrade && version == other.version && versionstring == other.versionstring && edition == other.edition && @@ -8564,475 +9395,2635 @@ class _$Status extends Status { @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'Status') + ..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 StatusBuilder implements Builder, StatusInterfaceBuilder { + _$Status? _$v; + + bool? _installed; + bool? get installed => _$this._installed; + set installed(covariant bool? installed) => _$this._installed = installed; + + bool? _maintenance; + bool? get maintenance => _$this._maintenance; + set maintenance(covariant bool? maintenance) => _$this._maintenance = maintenance; + + bool? _needsDbUpgrade; + bool? get needsDbUpgrade => _$this._needsDbUpgrade; + set needsDbUpgrade(covariant bool? needsDbUpgrade) => _$this._needsDbUpgrade = needsDbUpgrade; + + String? _version; + String? get version => _$this._version; + set version(covariant String? version) => _$this._version = version; + + String? _versionstring; + String? get versionstring => _$this._versionstring; + set versionstring(covariant String? versionstring) => _$this._versionstring = versionstring; + + String? _edition; + String? get edition => _$this._edition; + set edition(covariant String? edition) => _$this._edition = edition; + + String? _productname; + String? get productname => _$this._productname; + set productname(covariant String? productname) => _$this._productname = productname; + + bool? _extendedSupport; + bool? get extendedSupport => _$this._extendedSupport; + set extendedSupport(covariant bool? extendedSupport) => _$this._extendedSupport = extendedSupport; + + StatusBuilder(); + + StatusBuilder 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(covariant Status other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$Status; + } + + @override + void update(void Function(StatusBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + Status build() => _build(); + + _$Status _build() { + final _$result = _$v ?? + _$Status._( + installed: BuiltValueNullFieldError.checkNotNull(installed, r'Status', 'installed'), + maintenance: BuiltValueNullFieldError.checkNotNull(maintenance, r'Status', 'maintenance'), + needsDbUpgrade: BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'Status', 'needsDbUpgrade'), + version: BuiltValueNullFieldError.checkNotNull(version, r'Status', 'version'), + versionstring: BuiltValueNullFieldError.checkNotNull(versionstring, r'Status', 'versionstring'), + edition: BuiltValueNullFieldError.checkNotNull(edition, r'Status', 'edition'), + productname: BuiltValueNullFieldError.checkNotNull(productname, r'Status', 'productname'), + extendedSupport: BuiltValueNullFieldError.checkNotNull(extendedSupport, r'Status', 'extendedSupport')); + replace(_$result); + return _$result; + } +} + +abstract mixin class OCSMetaInterfaceBuilder { + void replace(OCSMetaInterface other); + void update(void Function(OCSMetaInterfaceBuilder) updates); + String? get status; + set status(String? status); + + int? get statuscode; + set statuscode(int? statuscode); + + String? get message; + set message(String? message); + + String? get totalitems; + set totalitems(String? totalitems); + + String? get itemsperpage; + set itemsperpage(String? itemsperpage); +} + +class _$OCSMeta extends OCSMeta { + @override + final String status; + @override + final int statuscode; + @override + final String? message; + @override + final String? totalitems; + @override + final String? itemsperpage; + + factory _$OCSMeta([void Function(OCSMetaBuilder)? updates]) => (OCSMetaBuilder()..update(updates))._build(); + + _$OCSMeta._({required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) + : super._() { + BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'); + BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'); + } + + @override + OCSMeta rebuild(void Function(OCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + OCSMetaBuilder toBuilder() => OCSMetaBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is OCSMeta && + 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'OCSMeta') + ..add('status', status) + ..add('statuscode', statuscode) + ..add('message', message) + ..add('totalitems', totalitems) + ..add('itemsperpage', itemsperpage)) + .toString(); + } +} + +class OCSMetaBuilder implements Builder, OCSMetaInterfaceBuilder { + _$OCSMeta? _$v; + + String? _status; + String? get status => _$this._status; + set status(covariant String? status) => _$this._status = status; + + int? _statuscode; + int? get statuscode => _$this._statuscode; + set statuscode(covariant int? statuscode) => _$this._statuscode = statuscode; + + String? _message; + String? get message => _$this._message; + set message(covariant String? message) => _$this._message = message; + + String? _totalitems; + String? get totalitems => _$this._totalitems; + set totalitems(covariant String? totalitems) => _$this._totalitems = totalitems; + + String? _itemsperpage; + String? get itemsperpage => _$this._itemsperpage; + set itemsperpage(covariant String? itemsperpage) => _$this._itemsperpage = itemsperpage; + + OCSMetaBuilder(); + + OCSMetaBuilder 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(covariant OCSMeta other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$OCSMeta; + } + + @override + void update(void Function(OCSMetaBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + OCSMeta build() => _build(); + + _$OCSMeta _build() { + final _$result = _$v ?? + _$OCSMeta._( + status: BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'), + statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'), + message: message, + totalitems: totalitems, + itemsperpage: itemsperpage); + replace(_$result); + return _$result; + } +} + +abstract mixin class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + String? get apppassword; + set apppassword(String? apppassword); +} + +class _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data + extends AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data { + @override + final String apppassword; + + factory _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data( + [void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { + BuiltValueNullFieldError.checkNotNull( + apppassword, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword'); + } + + @override + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data rebuild( + void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder toBuilder() => + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AppPasswordGetAppPasswordResponseApplicationJson_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'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data') + ..add('apppassword', apppassword)) + .toString(); + } +} + +class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder + implements + Builder, + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data? _$v; + + String? _apppassword; + String? get apppassword => _$this._apppassword; + set apppassword(covariant String? apppassword) => _$this._apppassword = apppassword; + + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder(); + + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _apppassword = $v.apppassword; + _$v = null; + } + return this; + } + + @override + void replace(covariant AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data; + } + + @override + void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data build() => _build(); + + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data._( + apppassword: BuiltValueNullFieldError.checkNotNull( + apppassword, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword')); + replace(_$result); + return _$result; + } +} + +abstract mixin class AppPasswordGetAppPasswordResponseApplicationJson_OcsInterfaceBuilder { + void replace(AppPasswordGetAppPasswordResponseApplicationJson_OcsInterface other); + void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder get data; + set data(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder? data); +} + +class _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs + extends AppPasswordGetAppPasswordResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data data; + + factory _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs( + [void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder)? updates]) => + (AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs', 'data'); + } + + @override + AppPasswordGetAppPasswordResponseApplicationJson_Ocs rebuild( + void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder toBuilder() => + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AppPasswordGetAppPasswordResponseApplicationJson_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'AppPasswordGetAppPasswordResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder + implements + Builder, + AppPasswordGetAppPasswordResponseApplicationJson_OcsInterfaceBuilder { + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder? _data; + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder(); + + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant AppPasswordGetAppPasswordResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs; + } + + @override + void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AppPasswordGetAppPasswordResponseApplicationJson_Ocs build() => _build(); + + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs _build() { + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$AppPasswordGetAppPasswordResponseApplicationJson_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'AppPasswordGetAppPasswordResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AppPasswordGetAppPasswordResponseApplicationJsonInterfaceBuilder { + void replace(AppPasswordGetAppPasswordResponseApplicationJsonInterface other); + void update(void Function(AppPasswordGetAppPasswordResponseApplicationJsonInterfaceBuilder) updates); + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder get ocs; + set ocs(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder? ocs); +} + +class _$AppPasswordGetAppPasswordResponseApplicationJson extends AppPasswordGetAppPasswordResponseApplicationJson { + @override + final AppPasswordGetAppPasswordResponseApplicationJson_Ocs ocs; + + factory _$AppPasswordGetAppPasswordResponseApplicationJson( + [void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder)? updates]) => + (AppPasswordGetAppPasswordResponseApplicationJsonBuilder()..update(updates))._build(); + + _$AppPasswordGetAppPasswordResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'AppPasswordGetAppPasswordResponseApplicationJson', 'ocs'); + } + + @override + AppPasswordGetAppPasswordResponseApplicationJson rebuild( + void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AppPasswordGetAppPasswordResponseApplicationJsonBuilder toBuilder() => + AppPasswordGetAppPasswordResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AppPasswordGetAppPasswordResponseApplicationJson && 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'AppPasswordGetAppPasswordResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class AppPasswordGetAppPasswordResponseApplicationJsonBuilder + implements + Builder, + AppPasswordGetAppPasswordResponseApplicationJsonInterfaceBuilder { + _$AppPasswordGetAppPasswordResponseApplicationJson? _$v; + + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder? _ocs; + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder(); + set ocs(covariant AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + AppPasswordGetAppPasswordResponseApplicationJsonBuilder(); + + AppPasswordGetAppPasswordResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant AppPasswordGetAppPasswordResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AppPasswordGetAppPasswordResponseApplicationJson; + } + + @override + void update(void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AppPasswordGetAppPasswordResponseApplicationJson build() => _build(); + + _$AppPasswordGetAppPasswordResponseApplicationJson _build() { + _$AppPasswordGetAppPasswordResponseApplicationJson _$result; + try { + _$result = _$v ?? _$AppPasswordGetAppPasswordResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'AppPasswordGetAppPasswordResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + String? get apppassword; + set apppassword(String? apppassword); +} + +class _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data + extends AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data { + @override + final String apppassword; + + factory _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data( + [void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { + BuiltValueNullFieldError.checkNotNull( + apppassword, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword'); + } + + @override + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data rebuild( + void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder toBuilder() => + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AppPasswordRotateAppPasswordResponseApplicationJson_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'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data') + ..add('apppassword', apppassword)) + .toString(); + } +} + +class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder + implements + Builder, + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data? _$v; + + String? _apppassword; + String? get apppassword => _$this._apppassword; + set apppassword(covariant String? apppassword) => _$this._apppassword = apppassword; + + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder(); + + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _apppassword = $v.apppassword; + _$v = null; + } + return this; + } + + @override + void replace(covariant AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data; + } + + @override + void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data build() => _build(); + + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data._( + apppassword: BuiltValueNullFieldError.checkNotNull( + apppassword, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword')); + replace(_$result); + return _$result; + } +} + +abstract mixin class AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterfaceBuilder { + void replace(AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterface other); + void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder get data; + set data(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder? data); +} + +class _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs + extends AppPasswordRotateAppPasswordResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data data; + + factory _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs( + [void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder)? updates]) => + (AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs', 'data'); + } + + @override + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs rebuild( + void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder toBuilder() => + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AppPasswordRotateAppPasswordResponseApplicationJson_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'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder + implements + Builder, + AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterfaceBuilder { + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder? _data; + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder(); + + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant AppPasswordRotateAppPasswordResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs; + } + + @override + void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs build() => _build(); + + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs _build() { + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$AppPasswordRotateAppPasswordResponseApplicationJson_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'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AppPasswordRotateAppPasswordResponseApplicationJsonInterfaceBuilder { + void replace(AppPasswordRotateAppPasswordResponseApplicationJsonInterface other); + void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJsonInterfaceBuilder) updates); + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder get ocs; + set ocs(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder? ocs); +} + +class _$AppPasswordRotateAppPasswordResponseApplicationJson + extends AppPasswordRotateAppPasswordResponseApplicationJson { + @override + final AppPasswordRotateAppPasswordResponseApplicationJson_Ocs ocs; + + factory _$AppPasswordRotateAppPasswordResponseApplicationJson( + [void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder)? updates]) => + (AppPasswordRotateAppPasswordResponseApplicationJsonBuilder()..update(updates))._build(); + + _$AppPasswordRotateAppPasswordResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'AppPasswordRotateAppPasswordResponseApplicationJson', 'ocs'); + } + + @override + AppPasswordRotateAppPasswordResponseApplicationJson rebuild( + void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AppPasswordRotateAppPasswordResponseApplicationJsonBuilder toBuilder() => + AppPasswordRotateAppPasswordResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AppPasswordRotateAppPasswordResponseApplicationJson && 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'AppPasswordRotateAppPasswordResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class AppPasswordRotateAppPasswordResponseApplicationJsonBuilder + implements + Builder, + AppPasswordRotateAppPasswordResponseApplicationJsonInterfaceBuilder { + _$AppPasswordRotateAppPasswordResponseApplicationJson? _$v; + + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder? _ocs; + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder(); + set ocs(covariant AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + AppPasswordRotateAppPasswordResponseApplicationJsonBuilder(); + + AppPasswordRotateAppPasswordResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant AppPasswordRotateAppPasswordResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AppPasswordRotateAppPasswordResponseApplicationJson; + } + + @override + void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AppPasswordRotateAppPasswordResponseApplicationJson build() => _build(); + + _$AppPasswordRotateAppPasswordResponseApplicationJson _build() { + _$AppPasswordRotateAppPasswordResponseApplicationJson _$result; + try { + _$result = _$v ?? _$AppPasswordRotateAppPasswordResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'AppPasswordRotateAppPasswordResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterfaceBuilder { + void replace(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterface other); + void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs + extends AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs( + [void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder)? updates]) => + (AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', 'data'); + } + + @override + AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs rebuild( + void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder toBuilder() => + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AppPasswordDeleteAppPasswordResponseApplicationJson_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'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder + implements + Builder, + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterfaceBuilder { + _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder(); + + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs; + } + + @override + void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs build() => _build(); + + _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs _build() { + _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AppPasswordDeleteAppPasswordResponseApplicationJsonInterfaceBuilder { + void replace(AppPasswordDeleteAppPasswordResponseApplicationJsonInterface other); + void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonInterfaceBuilder) updates); + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder get ocs; + set ocs(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder? ocs); +} + +class _$AppPasswordDeleteAppPasswordResponseApplicationJson + extends AppPasswordDeleteAppPasswordResponseApplicationJson { + @override + final AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs ocs; + + factory _$AppPasswordDeleteAppPasswordResponseApplicationJson( + [void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder)? updates]) => + (AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder()..update(updates))._build(); + + _$AppPasswordDeleteAppPasswordResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'AppPasswordDeleteAppPasswordResponseApplicationJson', 'ocs'); + } + + @override + AppPasswordDeleteAppPasswordResponseApplicationJson rebuild( + void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder toBuilder() => + AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AppPasswordDeleteAppPasswordResponseApplicationJson && 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'AppPasswordDeleteAppPasswordResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder + implements + Builder, + AppPasswordDeleteAppPasswordResponseApplicationJsonInterfaceBuilder { + _$AppPasswordDeleteAppPasswordResponseApplicationJson? _$v; + + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder? _ocs; + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder(); + set ocs(covariant AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder(); + + AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant AppPasswordDeleteAppPasswordResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AppPasswordDeleteAppPasswordResponseApplicationJson; + } + + @override + void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AppPasswordDeleteAppPasswordResponseApplicationJson build() => _build(); + + _$AppPasswordDeleteAppPasswordResponseApplicationJson _build() { + _$AppPasswordDeleteAppPasswordResponseApplicationJson _$result; + try { + _$result = _$v ?? _$AppPasswordDeleteAppPasswordResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'AppPasswordDeleteAppPasswordResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AutocompleteResult_Status0InterfaceBuilder { + void replace(AutocompleteResult_Status0Interface other); + void update(void Function(AutocompleteResult_Status0InterfaceBuilder) updates); + String? get status; + set status(String? status); + + String? get message; + set message(String? message); + + String? get icon; + set icon(String? icon); + + int? get clearAt; + set clearAt(int? clearAt); +} + +class _$AutocompleteResult_Status0 extends AutocompleteResult_Status0 { + @override + final String status; + @override + final String? message; + @override + final String? icon; + @override + final int? clearAt; + + factory _$AutocompleteResult_Status0([void Function(AutocompleteResult_Status0Builder)? updates]) => + (AutocompleteResult_Status0Builder()..update(updates))._build(); + + _$AutocompleteResult_Status0._({required this.status, this.message, this.icon, this.clearAt}) : super._() { + BuiltValueNullFieldError.checkNotNull(status, r'AutocompleteResult_Status0', 'status'); + } + + @override + AutocompleteResult_Status0 rebuild(void Function(AutocompleteResult_Status0Builder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AutocompleteResult_Status0Builder toBuilder() => AutocompleteResult_Status0Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AutocompleteResult_Status0 && + status == other.status && + message == other.message && + icon == other.icon && + clearAt == other.clearAt; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, message.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, clearAt.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'AutocompleteResult_Status0') + ..add('status', status) + ..add('message', message) + ..add('icon', icon) + ..add('clearAt', clearAt)) + .toString(); + } +} + +class AutocompleteResult_Status0Builder + implements + Builder, + AutocompleteResult_Status0InterfaceBuilder { + _$AutocompleteResult_Status0? _$v; + + String? _status; + String? get status => _$this._status; + set status(covariant String? status) => _$this._status = status; + + String? _message; + String? get message => _$this._message; + set message(covariant String? message) => _$this._message = message; + + String? _icon; + String? get icon => _$this._icon; + set icon(covariant String? icon) => _$this._icon = icon; + + int? _clearAt; + int? get clearAt => _$this._clearAt; + set clearAt(covariant int? clearAt) => _$this._clearAt = clearAt; + + AutocompleteResult_Status0Builder(); + + AutocompleteResult_Status0Builder get _$this { + final $v = _$v; + if ($v != null) { + _status = $v.status; + _message = $v.message; + _icon = $v.icon; + _clearAt = $v.clearAt; + _$v = null; + } + return this; + } + + @override + void replace(covariant AutocompleteResult_Status0 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AutocompleteResult_Status0; + } + + @override + void update(void Function(AutocompleteResult_Status0Builder)? updates) { + if (updates != null) updates(this); + } + + @override + AutocompleteResult_Status0 build() => _build(); + + _$AutocompleteResult_Status0 _build() { + final _$result = _$v ?? + _$AutocompleteResult_Status0._( + status: BuiltValueNullFieldError.checkNotNull(status, r'AutocompleteResult_Status0', 'status'), + message: message, + icon: icon, + clearAt: clearAt); + replace(_$result); + return _$result; + } +} + +abstract mixin class AutocompleteResult_StatusInterfaceBuilder { + void replace(AutocompleteResult_StatusInterface other); + void update(void Function(AutocompleteResult_StatusInterfaceBuilder) updates); + AutocompleteResult_Status0Builder get autocompleteResultStatus0; + set autocompleteResultStatus0(AutocompleteResult_Status0Builder? autocompleteResultStatus0); + + String? get string; + set string(String? string); +} + +class _$AutocompleteResult_Status extends AutocompleteResult_Status { + @override + final JsonObject data; + @override + final AutocompleteResult_Status0? autocompleteResultStatus0; + @override + final String? string; + + factory _$AutocompleteResult_Status([void Function(AutocompleteResult_StatusBuilder)? updates]) => + (AutocompleteResult_StatusBuilder()..update(updates))._build(); + + _$AutocompleteResult_Status._({required this.data, this.autocompleteResultStatus0, this.string}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'AutocompleteResult_Status', 'data'); + } + + @override + AutocompleteResult_Status rebuild(void Function(AutocompleteResult_StatusBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AutocompleteResult_StatusBuilder toBuilder() => AutocompleteResult_StatusBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AutocompleteResult_Status && + data == other.data && + autocompleteResultStatus0 == other.autocompleteResultStatus0 && + string == other.string; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, autocompleteResultStatus0.hashCode); + _$hash = $jc(_$hash, string.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'AutocompleteResult_Status') + ..add('data', data) + ..add('autocompleteResultStatus0', autocompleteResultStatus0) + ..add('string', string)) + .toString(); + } +} + +class AutocompleteResult_StatusBuilder + implements + Builder, + AutocompleteResult_StatusInterfaceBuilder { + _$AutocompleteResult_Status? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + AutocompleteResult_Status0Builder? _autocompleteResultStatus0; + AutocompleteResult_Status0Builder get autocompleteResultStatus0 => + _$this._autocompleteResultStatus0 ??= AutocompleteResult_Status0Builder(); + set autocompleteResultStatus0(covariant AutocompleteResult_Status0Builder? autocompleteResultStatus0) => + _$this._autocompleteResultStatus0 = autocompleteResultStatus0; + + String? _string; + String? get string => _$this._string; + set string(covariant String? string) => _$this._string = string; + + AutocompleteResult_StatusBuilder(); + + AutocompleteResult_StatusBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _autocompleteResultStatus0 = $v.autocompleteResultStatus0?.toBuilder(); + _string = $v.string; + _$v = null; + } + return this; + } + + @override + void replace(covariant AutocompleteResult_Status other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AutocompleteResult_Status; + } + + @override + void update(void Function(AutocompleteResult_StatusBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AutocompleteResult_Status build() => _build(); + + _$AutocompleteResult_Status _build() { + AutocompleteResult_Status._validate(this); + _$AutocompleteResult_Status _$result; + try { + _$result = _$v ?? + _$AutocompleteResult_Status._( + data: BuiltValueNullFieldError.checkNotNull(data, r'AutocompleteResult_Status', 'data'), + autocompleteResultStatus0: _autocompleteResultStatus0?.build(), + string: string); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'autocompleteResultStatus0'; + _autocompleteResultStatus0?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'AutocompleteResult_Status', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AutocompleteResultInterfaceBuilder { + void replace(AutocompleteResultInterface other); + void update(void Function(AutocompleteResultInterfaceBuilder) updates); + String? get id; + set id(String? id); + + String? get label; + set label(String? label); + + String? get icon; + set icon(String? icon); + + String? get source; + set source(String? source); + + AutocompleteResult_StatusBuilder get status; + set status(AutocompleteResult_StatusBuilder? status); + + String? get subline; + set subline(String? subline); + + String? get shareWithDisplayNameUnique; + set shareWithDisplayNameUnique(String? shareWithDisplayNameUnique); +} + +class _$AutocompleteResult extends AutocompleteResult { + @override + final String id; + @override + final String label; + @override + final String icon; + @override + final String source; + @override + final AutocompleteResult_Status status; + @override + final String subline; + @override + final String shareWithDisplayNameUnique; + + factory _$AutocompleteResult([void Function(AutocompleteResultBuilder)? updates]) => + (AutocompleteResultBuilder()..update(updates))._build(); + + _$AutocompleteResult._( + {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'AutocompleteResult', 'id'); + BuiltValueNullFieldError.checkNotNull(label, r'AutocompleteResult', 'label'); + BuiltValueNullFieldError.checkNotNull(icon, r'AutocompleteResult', 'icon'); + BuiltValueNullFieldError.checkNotNull(source, r'AutocompleteResult', 'source'); + BuiltValueNullFieldError.checkNotNull(status, r'AutocompleteResult', 'status'); + BuiltValueNullFieldError.checkNotNull(subline, r'AutocompleteResult', 'subline'); + BuiltValueNullFieldError.checkNotNull( + shareWithDisplayNameUnique, r'AutocompleteResult', 'shareWithDisplayNameUnique'); + } + + @override + AutocompleteResult rebuild(void Function(AutocompleteResultBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AutocompleteResultBuilder toBuilder() => AutocompleteResultBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AutocompleteResult && + 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'AutocompleteResult') + ..add('id', id) + ..add('label', label) + ..add('icon', icon) + ..add('source', source) + ..add('status', status) + ..add('subline', subline) + ..add('shareWithDisplayNameUnique', shareWithDisplayNameUnique)) + .toString(); + } +} + +class AutocompleteResultBuilder + implements Builder, AutocompleteResultInterfaceBuilder { + _$AutocompleteResult? _$v; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _label; + String? get label => _$this._label; + set label(covariant String? label) => _$this._label = label; + + String? _icon; + String? get icon => _$this._icon; + set icon(covariant String? icon) => _$this._icon = icon; + + String? _source; + String? get source => _$this._source; + set source(covariant String? source) => _$this._source = source; + + AutocompleteResult_StatusBuilder? _status; + AutocompleteResult_StatusBuilder get status => _$this._status ??= AutocompleteResult_StatusBuilder(); + set status(covariant AutocompleteResult_StatusBuilder? status) => _$this._status = status; + + String? _subline; + String? get subline => _$this._subline; + set subline(covariant String? subline) => _$this._subline = subline; + + String? _shareWithDisplayNameUnique; + String? get shareWithDisplayNameUnique => _$this._shareWithDisplayNameUnique; + set shareWithDisplayNameUnique(covariant String? shareWithDisplayNameUnique) => + _$this._shareWithDisplayNameUnique = shareWithDisplayNameUnique; + + AutocompleteResultBuilder(); + + AutocompleteResultBuilder 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; + _$v = null; + } + return this; + } + + @override + void replace(covariant AutocompleteResult other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AutocompleteResult; + } + + @override + void update(void Function(AutocompleteResultBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AutocompleteResult build() => _build(); + + _$AutocompleteResult _build() { + _$AutocompleteResult _$result; + try { + _$result = _$v ?? + _$AutocompleteResult._( + id: BuiltValueNullFieldError.checkNotNull(id, r'AutocompleteResult', 'id'), + label: BuiltValueNullFieldError.checkNotNull(label, r'AutocompleteResult', 'label'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'AutocompleteResult', 'icon'), + source: BuiltValueNullFieldError.checkNotNull(source, r'AutocompleteResult', 'source'), + status: status.build(), + subline: BuiltValueNullFieldError.checkNotNull(subline, r'AutocompleteResult', 'subline'), + shareWithDisplayNameUnique: BuiltValueNullFieldError.checkNotNull( + shareWithDisplayNameUnique, r'AutocompleteResult', 'shareWithDisplayNameUnique')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'status'; + status.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'AutocompleteResult', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AutoCompleteGetResponseApplicationJson_OcsInterfaceBuilder { + void replace(AutoCompleteGetResponseApplicationJson_OcsInterface other); + void update(void Function(AutoCompleteGetResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$AutoCompleteGetResponseApplicationJson_Ocs extends AutoCompleteGetResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$AutoCompleteGetResponseApplicationJson_Ocs( + [void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder)? updates]) => + (AutoCompleteGetResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$AutoCompleteGetResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'AutoCompleteGetResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'AutoCompleteGetResponseApplicationJson_Ocs', 'data'); + } + + @override + AutoCompleteGetResponseApplicationJson_Ocs rebuild( + void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AutoCompleteGetResponseApplicationJson_OcsBuilder toBuilder() => + AutoCompleteGetResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AutoCompleteGetResponseApplicationJson_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'AutoCompleteGetResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class AutoCompleteGetResponseApplicationJson_OcsBuilder + implements + Builder, + AutoCompleteGetResponseApplicationJson_OcsInterfaceBuilder { + _$AutoCompleteGetResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + AutoCompleteGetResponseApplicationJson_OcsBuilder(); + + AutoCompleteGetResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant AutoCompleteGetResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AutoCompleteGetResponseApplicationJson_Ocs; + } + + @override + void update(void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AutoCompleteGetResponseApplicationJson_Ocs build() => _build(); + + _$AutoCompleteGetResponseApplicationJson_Ocs _build() { + _$AutoCompleteGetResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$AutoCompleteGetResponseApplicationJson_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'AutoCompleteGetResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AutoCompleteGetResponseApplicationJsonInterfaceBuilder { + void replace(AutoCompleteGetResponseApplicationJsonInterface other); + void update(void Function(AutoCompleteGetResponseApplicationJsonInterfaceBuilder) updates); + AutoCompleteGetResponseApplicationJson_OcsBuilder get ocs; + set ocs(AutoCompleteGetResponseApplicationJson_OcsBuilder? ocs); +} + +class _$AutoCompleteGetResponseApplicationJson extends AutoCompleteGetResponseApplicationJson { + @override + final AutoCompleteGetResponseApplicationJson_Ocs ocs; + + factory _$AutoCompleteGetResponseApplicationJson( + [void Function(AutoCompleteGetResponseApplicationJsonBuilder)? updates]) => + (AutoCompleteGetResponseApplicationJsonBuilder()..update(updates))._build(); + + _$AutoCompleteGetResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'AutoCompleteGetResponseApplicationJson', 'ocs'); + } + + @override + AutoCompleteGetResponseApplicationJson rebuild( + void Function(AutoCompleteGetResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AutoCompleteGetResponseApplicationJsonBuilder toBuilder() => + AutoCompleteGetResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AutoCompleteGetResponseApplicationJson && 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'AutoCompleteGetResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class AutoCompleteGetResponseApplicationJsonBuilder + implements + Builder, + AutoCompleteGetResponseApplicationJsonInterfaceBuilder { + _$AutoCompleteGetResponseApplicationJson? _$v; + + AutoCompleteGetResponseApplicationJson_OcsBuilder? _ocs; + AutoCompleteGetResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= AutoCompleteGetResponseApplicationJson_OcsBuilder(); + set ocs(covariant AutoCompleteGetResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + AutoCompleteGetResponseApplicationJsonBuilder(); + + AutoCompleteGetResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant AutoCompleteGetResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AutoCompleteGetResponseApplicationJson; + } + + @override + void update(void Function(AutoCompleteGetResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AutoCompleteGetResponseApplicationJson build() => _build(); + + _$AutoCompleteGetResponseApplicationJson _build() { + _$AutoCompleteGetResponseApplicationJson _$result; + try { + _$result = _$v ?? _$AutoCompleteGetResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'AutoCompleteGetResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AvatarAvatarGetAvatarDarkHeadersInterfaceBuilder { + void replace(AvatarAvatarGetAvatarDarkHeadersInterface other); + void update(void Function(AvatarAvatarGetAvatarDarkHeadersInterfaceBuilder) updates); + int? get xNcIscustomavatar; + set xNcIscustomavatar(int? xNcIscustomavatar); +} + +class _$AvatarAvatarGetAvatarDarkHeaders extends AvatarAvatarGetAvatarDarkHeaders { + @override + final int? xNcIscustomavatar; + + factory _$AvatarAvatarGetAvatarDarkHeaders([void Function(AvatarAvatarGetAvatarDarkHeadersBuilder)? updates]) => + (AvatarAvatarGetAvatarDarkHeadersBuilder()..update(updates))._build(); + + _$AvatarAvatarGetAvatarDarkHeaders._({this.xNcIscustomavatar}) : super._(); + + @override + AvatarAvatarGetAvatarDarkHeaders rebuild(void Function(AvatarAvatarGetAvatarDarkHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AvatarAvatarGetAvatarDarkHeadersBuilder toBuilder() => AvatarAvatarGetAvatarDarkHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AvatarAvatarGetAvatarDarkHeaders && 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'AvatarAvatarGetAvatarDarkHeaders') + ..add('xNcIscustomavatar', xNcIscustomavatar)) + .toString(); + } +} + +class AvatarAvatarGetAvatarDarkHeadersBuilder + implements + Builder, + AvatarAvatarGetAvatarDarkHeadersInterfaceBuilder { + _$AvatarAvatarGetAvatarDarkHeaders? _$v; + + int? _xNcIscustomavatar; + int? get xNcIscustomavatar => _$this._xNcIscustomavatar; + set xNcIscustomavatar(covariant int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; + + AvatarAvatarGetAvatarDarkHeadersBuilder(); + + AvatarAvatarGetAvatarDarkHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xNcIscustomavatar = $v.xNcIscustomavatar; + _$v = null; + } + return this; + } + + @override + void replace(covariant AvatarAvatarGetAvatarDarkHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AvatarAvatarGetAvatarDarkHeaders; + } + + @override + void update(void Function(AvatarAvatarGetAvatarDarkHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AvatarAvatarGetAvatarDarkHeaders build() => _build(); + + _$AvatarAvatarGetAvatarDarkHeaders _build() { + final _$result = _$v ?? _$AvatarAvatarGetAvatarDarkHeaders._(xNcIscustomavatar: xNcIscustomavatar); + replace(_$result); + return _$result; + } +} + +abstract mixin class AvatarAvatarGetAvatarHeadersInterfaceBuilder { + void replace(AvatarAvatarGetAvatarHeadersInterface other); + void update(void Function(AvatarAvatarGetAvatarHeadersInterfaceBuilder) updates); + int? get xNcIscustomavatar; + set xNcIscustomavatar(int? xNcIscustomavatar); +} + +class _$AvatarAvatarGetAvatarHeaders extends AvatarAvatarGetAvatarHeaders { + @override + final int? xNcIscustomavatar; + + factory _$AvatarAvatarGetAvatarHeaders([void Function(AvatarAvatarGetAvatarHeadersBuilder)? updates]) => + (AvatarAvatarGetAvatarHeadersBuilder()..update(updates))._build(); + + _$AvatarAvatarGetAvatarHeaders._({this.xNcIscustomavatar}) : super._(); + + @override + AvatarAvatarGetAvatarHeaders rebuild(void Function(AvatarAvatarGetAvatarHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AvatarAvatarGetAvatarHeadersBuilder toBuilder() => AvatarAvatarGetAvatarHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AvatarAvatarGetAvatarHeaders && 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'Status') - ..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'AvatarAvatarGetAvatarHeaders')..add('xNcIscustomavatar', xNcIscustomavatar)) .toString(); } } -class StatusBuilder implements Builder, StatusInterfaceBuilder { - _$Status? _$v; +class AvatarAvatarGetAvatarHeadersBuilder + implements + Builder, + AvatarAvatarGetAvatarHeadersInterfaceBuilder { + _$AvatarAvatarGetAvatarHeaders? _$v; - bool? _installed; - bool? get installed => _$this._installed; - set installed(covariant bool? installed) => _$this._installed = installed; + int? _xNcIscustomavatar; + int? get xNcIscustomavatar => _$this._xNcIscustomavatar; + set xNcIscustomavatar(covariant int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; - bool? _maintenance; - bool? get maintenance => _$this._maintenance; - set maintenance(covariant bool? maintenance) => _$this._maintenance = maintenance; + AvatarAvatarGetAvatarHeadersBuilder(); - bool? _needsDbUpgrade; - bool? get needsDbUpgrade => _$this._needsDbUpgrade; - set needsDbUpgrade(covariant bool? needsDbUpgrade) => _$this._needsDbUpgrade = needsDbUpgrade; + AvatarAvatarGetAvatarHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xNcIscustomavatar = $v.xNcIscustomavatar; + _$v = null; + } + return this; + } - String? _version; - String? get version => _$this._version; - set version(covariant String? version) => _$this._version = version; + @override + void replace(covariant AvatarAvatarGetAvatarHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AvatarAvatarGetAvatarHeaders; + } - String? _versionstring; - String? get versionstring => _$this._versionstring; - set versionstring(covariant String? versionstring) => _$this._versionstring = versionstring; + @override + void update(void Function(AvatarAvatarGetAvatarHeadersBuilder)? updates) { + if (updates != null) updates(this); + } - String? _edition; - String? get edition => _$this._edition; - set edition(covariant String? edition) => _$this._edition = edition; + @override + AvatarAvatarGetAvatarHeaders build() => _build(); + + _$AvatarAvatarGetAvatarHeaders _build() { + final _$result = _$v ?? _$AvatarAvatarGetAvatarHeaders._(xNcIscustomavatar: xNcIscustomavatar); + replace(_$result); + return _$result; + } +} + +abstract mixin class LoginFlowV2CredentialsInterfaceBuilder { + void replace(LoginFlowV2CredentialsInterface other); + void update(void Function(LoginFlowV2CredentialsInterfaceBuilder) updates); + String? get server; + set server(String? server); + + String? get loginName; + set loginName(String? loginName); + + String? get appPassword; + set appPassword(String? appPassword); +} + +class _$LoginFlowV2Credentials extends LoginFlowV2Credentials { + @override + final String server; + @override + final String loginName; + @override + final String appPassword; + + factory _$LoginFlowV2Credentials([void Function(LoginFlowV2CredentialsBuilder)? updates]) => + (LoginFlowV2CredentialsBuilder()..update(updates))._build(); + + _$LoginFlowV2Credentials._({required this.server, required this.loginName, required this.appPassword}) : super._() { + BuiltValueNullFieldError.checkNotNull(server, r'LoginFlowV2Credentials', 'server'); + BuiltValueNullFieldError.checkNotNull(loginName, r'LoginFlowV2Credentials', 'loginName'); + BuiltValueNullFieldError.checkNotNull(appPassword, r'LoginFlowV2Credentials', 'appPassword'); + } + + @override + LoginFlowV2Credentials rebuild(void Function(LoginFlowV2CredentialsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + LoginFlowV2CredentialsBuilder toBuilder() => LoginFlowV2CredentialsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is LoginFlowV2Credentials && + 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'LoginFlowV2Credentials') + ..add('server', server) + ..add('loginName', loginName) + ..add('appPassword', appPassword)) + .toString(); + } +} + +class LoginFlowV2CredentialsBuilder + implements Builder, LoginFlowV2CredentialsInterfaceBuilder { + _$LoginFlowV2Credentials? _$v; + + String? _server; + String? get server => _$this._server; + set server(covariant String? server) => _$this._server = server; + + String? _loginName; + String? get loginName => _$this._loginName; + set loginName(covariant String? loginName) => _$this._loginName = loginName; + + String? _appPassword; + String? get appPassword => _$this._appPassword; + set appPassword(covariant String? appPassword) => _$this._appPassword = appPassword; + + LoginFlowV2CredentialsBuilder(); + + LoginFlowV2CredentialsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _server = $v.server; + _loginName = $v.loginName; + _appPassword = $v.appPassword; + _$v = null; + } + return this; + } + + @override + void replace(covariant LoginFlowV2Credentials other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$LoginFlowV2Credentials; + } + + @override + void update(void Function(LoginFlowV2CredentialsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + LoginFlowV2Credentials build() => _build(); + + _$LoginFlowV2Credentials _build() { + final _$result = _$v ?? + _$LoginFlowV2Credentials._( + server: BuiltValueNullFieldError.checkNotNull(server, r'LoginFlowV2Credentials', 'server'), + loginName: BuiltValueNullFieldError.checkNotNull(loginName, r'LoginFlowV2Credentials', 'loginName'), + appPassword: BuiltValueNullFieldError.checkNotNull(appPassword, r'LoginFlowV2Credentials', 'appPassword')); + replace(_$result); + return _$result; + } +} + +abstract mixin class LoginFlowV2_PollInterfaceBuilder { + void replace(LoginFlowV2_PollInterface other); + void update(void Function(LoginFlowV2_PollInterfaceBuilder) updates); + String? get token; + set token(String? token); + + String? get endpoint; + set endpoint(String? endpoint); +} + +class _$LoginFlowV2_Poll extends LoginFlowV2_Poll { + @override + final String token; + @override + final String endpoint; + + factory _$LoginFlowV2_Poll([void Function(LoginFlowV2_PollBuilder)? updates]) => + (LoginFlowV2_PollBuilder()..update(updates))._build(); + + _$LoginFlowV2_Poll._({required this.token, required this.endpoint}) : super._() { + BuiltValueNullFieldError.checkNotNull(token, r'LoginFlowV2_Poll', 'token'); + BuiltValueNullFieldError.checkNotNull(endpoint, r'LoginFlowV2_Poll', 'endpoint'); + } + + @override + LoginFlowV2_Poll rebuild(void Function(LoginFlowV2_PollBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + LoginFlowV2_PollBuilder toBuilder() => LoginFlowV2_PollBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is LoginFlowV2_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'LoginFlowV2_Poll') + ..add('token', token) + ..add('endpoint', endpoint)) + .toString(); + } +} + +class LoginFlowV2_PollBuilder + implements Builder, LoginFlowV2_PollInterfaceBuilder { + _$LoginFlowV2_Poll? _$v; - String? _productname; - String? get productname => _$this._productname; - set productname(covariant String? productname) => _$this._productname = productname; + String? _token; + String? get token => _$this._token; + set token(covariant String? token) => _$this._token = token; - bool? _extendedSupport; - bool? get extendedSupport => _$this._extendedSupport; - set extendedSupport(covariant bool? extendedSupport) => _$this._extendedSupport = extendedSupport; + String? _endpoint; + String? get endpoint => _$this._endpoint; + set endpoint(covariant String? endpoint) => _$this._endpoint = endpoint; - StatusBuilder(); + LoginFlowV2_PollBuilder(); - StatusBuilder get _$this { + LoginFlowV2_PollBuilder 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; + _token = $v.token; + _endpoint = $v.endpoint; _$v = null; } return this; } @override - void replace(covariant Status other) { + void replace(covariant LoginFlowV2_Poll other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$Status; + _$v = other as _$LoginFlowV2_Poll; } @override - void update(void Function(StatusBuilder)? updates) { + void update(void Function(LoginFlowV2_PollBuilder)? updates) { if (updates != null) updates(this); } @override - Status build() => _build(); + LoginFlowV2_Poll build() => _build(); - _$Status _build() { + _$LoginFlowV2_Poll _build() { final _$result = _$v ?? - _$Status._( - installed: BuiltValueNullFieldError.checkNotNull(installed, r'Status', 'installed'), - maintenance: BuiltValueNullFieldError.checkNotNull(maintenance, r'Status', 'maintenance'), - needsDbUpgrade: BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'Status', 'needsDbUpgrade'), - version: BuiltValueNullFieldError.checkNotNull(version, r'Status', 'version'), - versionstring: BuiltValueNullFieldError.checkNotNull(versionstring, r'Status', 'versionstring'), - edition: BuiltValueNullFieldError.checkNotNull(edition, r'Status', 'edition'), - productname: BuiltValueNullFieldError.checkNotNull(productname, r'Status', 'productname'), - extendedSupport: BuiltValueNullFieldError.checkNotNull(extendedSupport, r'Status', 'extendedSupport')); + _$LoginFlowV2_Poll._( + token: BuiltValueNullFieldError.checkNotNull(token, r'LoginFlowV2_Poll', 'token'), + endpoint: BuiltValueNullFieldError.checkNotNull(endpoint, r'LoginFlowV2_Poll', 'endpoint')); replace(_$result); return _$result; } } -abstract mixin class OCSMetaInterfaceBuilder { - void replace(OCSMetaInterface other); - void update(void Function(OCSMetaInterfaceBuilder) updates); - String? get status; - set status(String? status); - - int? get statuscode; - set statuscode(int? statuscode); - - String? get message; - set message(String? message); - - String? get totalitems; - set totalitems(String? totalitems); +abstract mixin class LoginFlowV2InterfaceBuilder { + void replace(LoginFlowV2Interface other); + void update(void Function(LoginFlowV2InterfaceBuilder) updates); + LoginFlowV2_PollBuilder get poll; + set poll(LoginFlowV2_PollBuilder? poll); - String? get itemsperpage; - set itemsperpage(String? itemsperpage); + String? get login; + set login(String? login); } -class _$OCSMeta extends OCSMeta { - @override - final String status; - @override - final int statuscode; - @override - final String? message; +class _$LoginFlowV2 extends LoginFlowV2 { @override - final String? totalitems; + final LoginFlowV2_Poll poll; @override - final String? itemsperpage; + final String login; - factory _$OCSMeta([void Function(OCSMetaBuilder)? updates]) => (OCSMetaBuilder()..update(updates))._build(); + factory _$LoginFlowV2([void Function(LoginFlowV2Builder)? updates]) => + (LoginFlowV2Builder()..update(updates))._build(); - _$OCSMeta._({required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) - : super._() { - BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'); - BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'); + _$LoginFlowV2._({required this.poll, required this.login}) : super._() { + BuiltValueNullFieldError.checkNotNull(poll, r'LoginFlowV2', 'poll'); + BuiltValueNullFieldError.checkNotNull(login, r'LoginFlowV2', 'login'); } @override - OCSMeta rebuild(void Function(OCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); + LoginFlowV2 rebuild(void Function(LoginFlowV2Builder) updates) => (toBuilder()..update(updates)).build(); @override - OCSMetaBuilder toBuilder() => OCSMetaBuilder()..replace(this); + LoginFlowV2Builder toBuilder() => LoginFlowV2Builder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OCSMeta && - status == other.status && - statuscode == other.statuscode && - message == other.message && - totalitems == other.totalitems && - itemsperpage == other.itemsperpage; + return other is LoginFlowV2 && poll == other.poll && login == other.login; } @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, poll.hashCode); + _$hash = $jc(_$hash, login.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OCSMeta') - ..add('status', status) - ..add('statuscode', statuscode) - ..add('message', message) - ..add('totalitems', totalitems) - ..add('itemsperpage', itemsperpage)) + return (newBuiltValueToStringHelper(r'LoginFlowV2') + ..add('poll', poll) + ..add('login', login)) .toString(); } } -class OCSMetaBuilder implements Builder, OCSMetaInterfaceBuilder { - _$OCSMeta? _$v; - - String? _status; - String? get status => _$this._status; - set status(covariant String? status) => _$this._status = status; - - int? _statuscode; - int? get statuscode => _$this._statuscode; - set statuscode(covariant int? statuscode) => _$this._statuscode = statuscode; - - String? _message; - String? get message => _$this._message; - set message(covariant String? message) => _$this._message = message; +class LoginFlowV2Builder implements Builder, LoginFlowV2InterfaceBuilder { + _$LoginFlowV2? _$v; - String? _totalitems; - String? get totalitems => _$this._totalitems; - set totalitems(covariant String? totalitems) => _$this._totalitems = totalitems; + LoginFlowV2_PollBuilder? _poll; + LoginFlowV2_PollBuilder get poll => _$this._poll ??= LoginFlowV2_PollBuilder(); + set poll(covariant LoginFlowV2_PollBuilder? poll) => _$this._poll = poll; - String? _itemsperpage; - String? get itemsperpage => _$this._itemsperpage; - set itemsperpage(covariant String? itemsperpage) => _$this._itemsperpage = itemsperpage; + String? _login; + String? get login => _$this._login; + set login(covariant String? login) => _$this._login = login; - OCSMetaBuilder(); + LoginFlowV2Builder(); - OCSMetaBuilder get _$this { + LoginFlowV2Builder get _$this { final $v = _$v; if ($v != null) { - _status = $v.status; - _statuscode = $v.statuscode; - _message = $v.message; - _totalitems = $v.totalitems; - _itemsperpage = $v.itemsperpage; + _poll = $v.poll.toBuilder(); + _login = $v.login; _$v = null; } return this; } @override - void replace(covariant OCSMeta other) { + void replace(covariant LoginFlowV2 other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OCSMeta; + _$v = other as _$LoginFlowV2; } @override - void update(void Function(OCSMetaBuilder)? updates) { + void update(void Function(LoginFlowV2Builder)? updates) { if (updates != null) updates(this); } @override - OCSMeta build() => _build(); + LoginFlowV2 build() => _build(); - _$OCSMeta _build() { - final _$result = _$v ?? - _$OCSMeta._( - status: BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'), - statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'), - message: message, - totalitems: totalitems, - itemsperpage: itemsperpage); + _$LoginFlowV2 _build() { + _$LoginFlowV2 _$result; + try { + _$result = _$v ?? + _$LoginFlowV2._( + poll: poll.build(), login: BuiltValueNullFieldError.checkNotNull(login, r'LoginFlowV2', 'login')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'poll'; + poll.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'LoginFlowV2', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - String? get apppassword; - set apppassword(String? apppassword); +abstract mixin class OpenGraphObjectInterfaceBuilder { + void replace(OpenGraphObjectInterface other); + void update(void Function(OpenGraphObjectInterfaceBuilder) updates); + String? get id; + set id(String? id); + + String? get name; + set name(String? name); + + String? get description; + set description(String? description); + + String? get thumb; + set thumb(String? thumb); + + String? get link; + set link(String? link); } -class _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data - extends AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data { +class _$OpenGraphObject extends OpenGraphObject { @override - final String apppassword; + final String id; + @override + final String name; + @override + final String? description; + @override + final String? thumb; + @override + final String link; - factory _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data( - [void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$OpenGraphObject([void Function(OpenGraphObjectBuilder)? updates]) => + (OpenGraphObjectBuilder()..update(updates))._build(); - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { - BuiltValueNullFieldError.checkNotNull( - apppassword, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword'); + _$OpenGraphObject._({required this.id, required this.name, this.description, this.thumb, required this.link}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'OpenGraphObject', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'OpenGraphObject', 'name'); + BuiltValueNullFieldError.checkNotNull(link, r'OpenGraphObject', 'link'); } @override - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data rebuild( - void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder) updates) => - (toBuilder()..update(updates)).build(); + OpenGraphObject rebuild(void Function(OpenGraphObjectBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder toBuilder() => - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder()..replace(this); + OpenGraphObjectBuilder toBuilder() => OpenGraphObjectBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data && apppassword == other.apppassword; + return other is 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, apppassword.hashCode); + _$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'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data') - ..add('apppassword', apppassword)) + return (newBuiltValueToStringHelper(r'OpenGraphObject') + ..add('id', id) + ..add('name', name) + ..add('description', description) + ..add('thumb', thumb) + ..add('link', link)) .toString(); } } -class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder - implements - Builder, - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data? _$v; +class OpenGraphObjectBuilder + implements Builder, OpenGraphObjectInterfaceBuilder { + _$OpenGraphObject? _$v; - String? _apppassword; - String? get apppassword => _$this._apppassword; - set apppassword(covariant String? apppassword) => _$this._apppassword = apppassword; + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder(); + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder get _$this { + String? _description; + String? get description => _$this._description; + set description(covariant String? description) => _$this._description = description; + + String? _thumb; + String? get thumb => _$this._thumb; + set thumb(covariant String? thumb) => _$this._thumb = thumb; + + String? _link; + String? get link => _$this._link; + set link(covariant String? link) => _$this._link = link; + + OpenGraphObjectBuilder(); + + OpenGraphObjectBuilder get _$this { final $v = _$v; if ($v != null) { - _apppassword = $v.apppassword; + _id = $v.id; + _name = $v.name; + _description = $v.description; + _thumb = $v.thumb; + _link = $v.link; _$v = null; } return this; } @override - void replace(covariant AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data other) { + void replace(covariant OpenGraphObject other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data; + _$v = other as _$OpenGraphObject; } @override - void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(OpenGraphObjectBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data build() => _build(); + OpenGraphObject build() => _build(); - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data _build() { + _$OpenGraphObject _build() { final _$result = _$v ?? - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data._( - apppassword: BuiltValueNullFieldError.checkNotNull( - apppassword, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword')); + _$OpenGraphObject._( + id: BuiltValueNullFieldError.checkNotNull(id, r'OpenGraphObject', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'OpenGraphObject', 'name'), + description: description, + thumb: thumb, + link: BuiltValueNullFieldError.checkNotNull(link, r'OpenGraphObject', 'link')); replace(_$result); return _$result; } } -abstract mixin class AppPasswordGetAppPasswordResponseApplicationJson_OcsInterfaceBuilder { - void replace(AppPasswordGetAppPasswordResponseApplicationJson_OcsInterface other); - void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class ResourceInterfaceBuilder { + void replace(ResourceInterface other); + void update(void Function(ResourceInterfaceBuilder) updates); + String? get richObjectType; + set richObjectType(String? richObjectType); - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder get data; - set data(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder? data); + MapBuilder get richObject; + set richObject(MapBuilder? richObject); + + OpenGraphObjectBuilder get openGraphObject; + set openGraphObject(OpenGraphObjectBuilder? openGraphObject); + + bool? get accessible; + set accessible(bool? accessible); } -class _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs - extends AppPasswordGetAppPasswordResponseApplicationJson_Ocs { +class _$Resource extends Resource { @override - final OCSMeta meta; + final String richObjectType; @override - final AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data data; + final BuiltMap richObject; + @override + final OpenGraphObject openGraphObject; + @override + final bool accessible; - factory _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs( - [void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder)? updates]) => - (AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$Resource([void Function(ResourceBuilder)? updates]) => (ResourceBuilder()..update(updates))._build(); - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs', 'data'); + _$Resource._( + {required this.richObjectType, required this.richObject, required this.openGraphObject, required this.accessible}) + : super._() { + BuiltValueNullFieldError.checkNotNull(richObjectType, r'Resource', 'richObjectType'); + BuiltValueNullFieldError.checkNotNull(richObject, r'Resource', 'richObject'); + BuiltValueNullFieldError.checkNotNull(openGraphObject, r'Resource', 'openGraphObject'); + BuiltValueNullFieldError.checkNotNull(accessible, r'Resource', 'accessible'); } @override - AppPasswordGetAppPasswordResponseApplicationJson_Ocs rebuild( - void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder) updates) => - (toBuilder()..update(updates)).build(); + Resource rebuild(void Function(ResourceBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder toBuilder() => - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder()..replace(this); + ResourceBuilder toBuilder() => ResourceBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordGetAppPasswordResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is Resource && + richObjectType == other.richObjectType && + richObject == other.richObject && + openGraphObject == other.openGraphObject && + accessible == other.accessible; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.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'AppPasswordGetAppPasswordResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'Resource') + ..add('richObjectType', richObjectType) + ..add('richObject', richObject) + ..add('openGraphObject', openGraphObject) + ..add('accessible', accessible)) .toString(); } } -class AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder - implements - Builder, - AppPasswordGetAppPasswordResponseApplicationJson_OcsInterfaceBuilder { - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs? _$v; +class ResourceBuilder implements Builder, ResourceInterfaceBuilder { + _$Resource? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + String? _richObjectType; + String? get richObjectType => _$this._richObjectType; + set richObjectType(covariant String? richObjectType) => _$this._richObjectType = richObjectType; - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder? _data; - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + MapBuilder? _richObject; + MapBuilder get richObject => _$this._richObject ??= MapBuilder(); + set richObject(covariant MapBuilder? richObject) => _$this._richObject = richObject; - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder(); + OpenGraphObjectBuilder? _openGraphObject; + OpenGraphObjectBuilder get openGraphObject => _$this._openGraphObject ??= OpenGraphObjectBuilder(); + set openGraphObject(covariant OpenGraphObjectBuilder? openGraphObject) => _$this._openGraphObject = openGraphObject; - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder get _$this { + bool? _accessible; + bool? get accessible => _$this._accessible; + set accessible(covariant bool? accessible) => _$this._accessible = accessible; + + ResourceBuilder(); + + ResourceBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _richObjectType = $v.richObjectType; + _richObject = $v.richObject.toBuilder(); + _openGraphObject = $v.openGraphObject.toBuilder(); + _accessible = $v.accessible; _$v = null; } return this; } @override - void replace(covariant AppPasswordGetAppPasswordResponseApplicationJson_Ocs other) { + void replace(covariant Resource other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs; + _$v = other as _$Resource; } @override - void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(ResourceBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordGetAppPasswordResponseApplicationJson_Ocs build() => _build(); + Resource build() => _build(); - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs _build() { - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs _$result; + _$Resource _build() { + _$Resource _$result; try { - _$result = - _$v ?? _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + _$Resource._( + richObjectType: BuiltValueNullFieldError.checkNotNull(richObjectType, r'Resource', 'richObjectType'), + richObject: richObject.build(), + openGraphObject: openGraphObject.build(), + accessible: BuiltValueNullFieldError.checkNotNull(accessible, r'Resource', 'accessible')); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'richObject'; + richObject.build(); + _$failedField = 'openGraphObject'; + openGraphObject.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'Resource', _$failedField, e.toString()); } rethrow; } @@ -9041,104 +12032,124 @@ class AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder } } -abstract mixin class AppPasswordGetAppPasswordResponseApplicationJsonInterfaceBuilder { - void replace(AppPasswordGetAppPasswordResponseApplicationJsonInterface other); - void update(void Function(AppPasswordGetAppPasswordResponseApplicationJsonInterfaceBuilder) updates); - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder get ocs; - set ocs(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class CollectionInterfaceBuilder { + void replace(CollectionInterface other); + void update(void Function(CollectionInterfaceBuilder) updates); + int? get id; + set id(int? id); + + String? get name; + set name(String? name); + + ListBuilder get resources; + set resources(ListBuilder? resources); } -class _$AppPasswordGetAppPasswordResponseApplicationJson extends AppPasswordGetAppPasswordResponseApplicationJson { +class _$Collection extends Collection { @override - final AppPasswordGetAppPasswordResponseApplicationJson_Ocs ocs; + final int id; + @override + final String name; + @override + final BuiltList resources; - factory _$AppPasswordGetAppPasswordResponseApplicationJson( - [void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder)? updates]) => - (AppPasswordGetAppPasswordResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$Collection([void Function(CollectionBuilder)? updates]) => (CollectionBuilder()..update(updates))._build(); - _$AppPasswordGetAppPasswordResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'AppPasswordGetAppPasswordResponseApplicationJson', 'ocs'); + _$Collection._({required this.id, required this.name, required this.resources}) : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'Collection', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'Collection', 'name'); + BuiltValueNullFieldError.checkNotNull(resources, r'Collection', 'resources'); } @override - AppPasswordGetAppPasswordResponseApplicationJson rebuild( - void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder) updates) => - (toBuilder()..update(updates)).build(); + Collection rebuild(void Function(CollectionBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordGetAppPasswordResponseApplicationJsonBuilder toBuilder() => - AppPasswordGetAppPasswordResponseApplicationJsonBuilder()..replace(this); + CollectionBuilder toBuilder() => CollectionBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordGetAppPasswordResponseApplicationJson && ocs == other.ocs; + return other is Collection && id == other.id && name == other.name && resources == other.resources; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$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'AppPasswordGetAppPasswordResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'Collection') + ..add('id', id) + ..add('name', name) + ..add('resources', resources)) .toString(); } } -class AppPasswordGetAppPasswordResponseApplicationJsonBuilder - implements - Builder, - AppPasswordGetAppPasswordResponseApplicationJsonInterfaceBuilder { - _$AppPasswordGetAppPasswordResponseApplicationJson? _$v; +class CollectionBuilder implements Builder, CollectionInterfaceBuilder { + _$Collection? _$v; - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder? _ocs; - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder(); - set ocs(covariant AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + int? _id; + int? get id => _$this._id; + set id(covariant int? id) => _$this._id = id; - AppPasswordGetAppPasswordResponseApplicationJsonBuilder(); + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; - AppPasswordGetAppPasswordResponseApplicationJsonBuilder get _$this { + ListBuilder? _resources; + ListBuilder get resources => _$this._resources ??= ListBuilder(); + set resources(covariant ListBuilder? resources) => _$this._resources = resources; + + CollectionBuilder(); + + CollectionBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _id = $v.id; + _name = $v.name; + _resources = $v.resources.toBuilder(); _$v = null; } return this; } @override - void replace(covariant AppPasswordGetAppPasswordResponseApplicationJson other) { + void replace(covariant Collection other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordGetAppPasswordResponseApplicationJson; + _$v = other as _$Collection; } @override - void update(void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder)? updates) { + void update(void Function(CollectionBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordGetAppPasswordResponseApplicationJson build() => _build(); + Collection build() => _build(); - _$AppPasswordGetAppPasswordResponseApplicationJson _build() { - _$AppPasswordGetAppPasswordResponseApplicationJson _$result; + _$Collection _build() { + _$Collection _$result; try { - _$result = _$v ?? _$AppPasswordGetAppPasswordResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$Collection._( + id: BuiltValueNullFieldError.checkNotNull(id, r'Collection', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'Collection', 'name'), + resources: resources.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'resources'; + resources.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'AppPasswordGetAppPasswordResponseApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'Collection', _$failedField, e.toString()); } rethrow; } @@ -9147,220 +12158,238 @@ class AppPasswordGetAppPasswordResponseApplicationJsonBuilder } } -abstract mixin class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - String? get apppassword; - set apppassword(String? apppassword); +abstract mixin class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterfaceBuilder { + void replace(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterface other); + void update( + void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); } -class _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data - extends AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data { +class _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs + extends CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs { @override - final String apppassword; + final OCSMeta meta; + @override + final BuiltList data; - factory _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data( - [void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder)? updates]) => + (CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { + _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { BuiltValueNullFieldError.checkNotNull( - apppassword, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword'); + meta, r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs', 'data'); } @override - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data rebuild( - void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder) updates) => + CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs rebuild( + void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder toBuilder() => - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder()..replace(this); + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder toBuilder() => + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data && apppassword == other.apppassword; + return other is CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, apppassword.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data') - ..add('apppassword', apppassword)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder +class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder implements - Builder, - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data? _$v; + Builder, + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs? _$v; - String? _apppassword; - String? get apppassword => _$this._apppassword; - set apppassword(covariant String? apppassword) => _$this._apppassword = apppassword; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder(); + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder get _$this { + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder(); + + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _apppassword = $v.apppassword; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data other) { + void replace(covariant CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data; + _$v = other as _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs; } @override - void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data build() => _build(); + CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs build() => _build(); - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data _build() { - final _$result = _$v ?? - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data._( - apppassword: BuiltValueNullFieldError.checkNotNull( - apppassword, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword')); + _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs _build() { + _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CollaborationResourcesSearchCollectionsResponseApplicationJson_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'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterfaceBuilder { - void replace(AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterface other); - void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder get data; - set data(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder? data); +abstract mixin class CollaborationResourcesSearchCollectionsResponseApplicationJsonInterfaceBuilder { + void replace(CollaborationResourcesSearchCollectionsResponseApplicationJsonInterface other); + void update(void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonInterfaceBuilder) updates); + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder get ocs; + set ocs(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder? ocs); } -class _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs - extends AppPasswordRotateAppPasswordResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$CollaborationResourcesSearchCollectionsResponseApplicationJson + extends CollaborationResourcesSearchCollectionsResponseApplicationJson { @override - final AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data data; + final CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs ocs; - factory _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs( - [void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder)? updates]) => - (AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CollaborationResourcesSearchCollectionsResponseApplicationJson( + [void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder)? updates]) => + (CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder()..update(updates))._build(); - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs', 'data'); + _$CollaborationResourcesSearchCollectionsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CollaborationResourcesSearchCollectionsResponseApplicationJson', 'ocs'); } @override - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs rebuild( - void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder) updates) => + CollaborationResourcesSearchCollectionsResponseApplicationJson rebuild( + void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder toBuilder() => - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder()..replace(this); + CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder toBuilder() => + CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordRotateAppPasswordResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is CollaborationResourcesSearchCollectionsResponseApplicationJson && 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'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesSearchCollectionsResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder +class CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder implements - Builder, - AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterfaceBuilder { - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + CollaborationResourcesSearchCollectionsResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesSearchCollectionsResponseApplicationJson? _$v; - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder? _data; - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder? _ocs; + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder(); + set ocs(covariant CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder(); + CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder(); - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder get _$this { + CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder 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(covariant AppPasswordRotateAppPasswordResponseApplicationJson_Ocs other) { + void replace(covariant CollaborationResourcesSearchCollectionsResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs; + _$v = other as _$CollaborationResourcesSearchCollectionsResponseApplicationJson; } @override - void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs build() => _build(); + CollaborationResourcesSearchCollectionsResponseApplicationJson build() => _build(); - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs _build() { - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs _$result; + _$CollaborationResourcesSearchCollectionsResponseApplicationJson _build() { + _$CollaborationResourcesSearchCollectionsResponseApplicationJson _$result; try { - _$result = - _$v ?? _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? _$CollaborationResourcesSearchCollectionsResponseApplicationJson._(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'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'CollaborationResourcesSearchCollectionsResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -9369,105 +12398,126 @@ class AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder } } -abstract mixin class AppPasswordRotateAppPasswordResponseApplicationJsonInterfaceBuilder { - void replace(AppPasswordRotateAppPasswordResponseApplicationJsonInterface other); - void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJsonInterfaceBuilder) updates); - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder get ocs; - set ocs(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class CollaborationResourcesListCollectionResponseApplicationJson_OcsInterfaceBuilder { + void replace(CollaborationResourcesListCollectionResponseApplicationJson_OcsInterface other); + void update(void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + CollectionBuilder get data; + set data(CollectionBuilder? data); } -class _$AppPasswordRotateAppPasswordResponseApplicationJson - extends AppPasswordRotateAppPasswordResponseApplicationJson { +class _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs + extends CollaborationResourcesListCollectionResponseApplicationJson_Ocs { @override - final AppPasswordRotateAppPasswordResponseApplicationJson_Ocs ocs; + final OCSMeta meta; + @override + final Collection data; - factory _$AppPasswordRotateAppPasswordResponseApplicationJson( - [void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder)? updates]) => - (AppPasswordRotateAppPasswordResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder)? updates]) => + (CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$AppPasswordRotateAppPasswordResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'AppPasswordRotateAppPasswordResponseApplicationJson', 'ocs'); + _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs', 'data'); } @override - AppPasswordRotateAppPasswordResponseApplicationJson rebuild( - void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder) updates) => + CollaborationResourcesListCollectionResponseApplicationJson_Ocs rebuild( + void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordRotateAppPasswordResponseApplicationJsonBuilder toBuilder() => - AppPasswordRotateAppPasswordResponseApplicationJsonBuilder()..replace(this); + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder toBuilder() => + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordRotateAppPasswordResponseApplicationJson && ocs == other.ocs; + return other is CollaborationResourcesListCollectionResponseApplicationJson_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'AppPasswordRotateAppPasswordResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class AppPasswordRotateAppPasswordResponseApplicationJsonBuilder +class CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder implements - Builder, - AppPasswordRotateAppPasswordResponseApplicationJsonInterfaceBuilder { - _$AppPasswordRotateAppPasswordResponseApplicationJson? _$v; + Builder, + CollaborationResourcesListCollectionResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs? _$v; - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder? _ocs; - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder(); - set ocs(covariant AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - AppPasswordRotateAppPasswordResponseApplicationJsonBuilder(); + CollectionBuilder? _data; + CollectionBuilder get data => _$this._data ??= CollectionBuilder(); + set data(covariant CollectionBuilder? data) => _$this._data = data; - AppPasswordRotateAppPasswordResponseApplicationJsonBuilder get _$this { + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder(); + + CollaborationResourcesListCollectionResponseApplicationJson_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(covariant AppPasswordRotateAppPasswordResponseApplicationJson other) { + void replace(covariant CollaborationResourcesListCollectionResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordRotateAppPasswordResponseApplicationJson; + _$v = other as _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs; } @override - void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder)? updates) { + void update(void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordRotateAppPasswordResponseApplicationJson build() => _build(); + CollaborationResourcesListCollectionResponseApplicationJson_Ocs build() => _build(); - _$AppPasswordRotateAppPasswordResponseApplicationJson _build() { - _$AppPasswordRotateAppPasswordResponseApplicationJson _$result; + _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs _build() { + _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$AppPasswordRotateAppPasswordResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$CollaborationResourcesListCollectionResponseApplicationJson_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'AppPasswordRotateAppPasswordResponseApplicationJson', _$failedField, e.toString()); + r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -9476,122 +12526,106 @@ class AppPasswordRotateAppPasswordResponseApplicationJsonBuilder } } -abstract mixin class AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterfaceBuilder { - void replace(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterface other); - void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - JsonObject? get data; - set data(JsonObject? data); +abstract mixin class CollaborationResourcesListCollectionResponseApplicationJsonInterfaceBuilder { + void replace(CollaborationResourcesListCollectionResponseApplicationJsonInterface other); + void update(void Function(CollaborationResourcesListCollectionResponseApplicationJsonInterfaceBuilder) updates); + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder get ocs; + set ocs(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder? ocs); } -class _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs - extends AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$CollaborationResourcesListCollectionResponseApplicationJson + extends CollaborationResourcesListCollectionResponseApplicationJson { @override - final JsonObject data; + final CollaborationResourcesListCollectionResponseApplicationJson_Ocs ocs; - factory _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs( - [void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder)? updates]) => - (AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CollaborationResourcesListCollectionResponseApplicationJson( + [void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder)? updates]) => + (CollaborationResourcesListCollectionResponseApplicationJsonBuilder()..update(updates))._build(); - _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', 'data'); + _$CollaborationResourcesListCollectionResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesListCollectionResponseApplicationJson', 'ocs'); } @override - AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs rebuild( - void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder) updates) => + CollaborationResourcesListCollectionResponseApplicationJson rebuild( + void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder toBuilder() => - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder()..replace(this); + CollaborationResourcesListCollectionResponseApplicationJsonBuilder toBuilder() => + CollaborationResourcesListCollectionResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is CollaborationResourcesListCollectionResponseApplicationJson && 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'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesListCollectionResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder +class CollaborationResourcesListCollectionResponseApplicationJsonBuilder implements - Builder, - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterfaceBuilder { - _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + CollaborationResourcesListCollectionResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesListCollectionResponseApplicationJson? _$v; - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(covariant JsonObject? data) => _$this._data = data; + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder? _ocs; + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder(); + set ocs(covariant CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder(); + CollaborationResourcesListCollectionResponseApplicationJsonBuilder(); - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder get _$this { + CollaborationResourcesListCollectionResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs other) { + void replace(covariant CollaborationResourcesListCollectionResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs; + _$v = other as _$CollaborationResourcesListCollectionResponseApplicationJson; } @override - void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs build() => _build(); + CollaborationResourcesListCollectionResponseApplicationJson build() => _build(); - _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs _build() { - _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs _$result; + _$CollaborationResourcesListCollectionResponseApplicationJson _build() { + _$CollaborationResourcesListCollectionResponseApplicationJson _$result; try { - _$result = _$v ?? - _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs._( - meta: meta.build(), - data: BuiltValueNullFieldError.checkNotNull( - data, r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', 'data')); + _$result = _$v ?? _$CollaborationResourcesListCollectionResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'CollaborationResourcesListCollectionResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -9600,105 +12634,126 @@ class AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder } } -abstract mixin class AppPasswordDeleteAppPasswordResponseApplicationJsonInterfaceBuilder { - void replace(AppPasswordDeleteAppPasswordResponseApplicationJsonInterface other); - void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonInterfaceBuilder) updates); - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder get ocs; - set ocs(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterfaceBuilder { + void replace(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterface other); + void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + CollectionBuilder get data; + set data(CollectionBuilder? data); } -class _$AppPasswordDeleteAppPasswordResponseApplicationJson - extends AppPasswordDeleteAppPasswordResponseApplicationJson { +class _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs + extends CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs { @override - final AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs ocs; + final OCSMeta meta; + @override + final Collection data; - factory _$AppPasswordDeleteAppPasswordResponseApplicationJson( - [void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder)? updates]) => - (AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder)? updates]) => + (CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$AppPasswordDeleteAppPasswordResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'AppPasswordDeleteAppPasswordResponseApplicationJson', 'ocs'); + _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs', 'data'); } @override - AppPasswordDeleteAppPasswordResponseApplicationJson rebuild( - void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder) updates) => + CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs rebuild( + void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder toBuilder() => - AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder()..replace(this); + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder toBuilder() => + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordDeleteAppPasswordResponseApplicationJson && ocs == other.ocs; + return other is CollaborationResourcesRenameCollectionResponseApplicationJson_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'AppPasswordDeleteAppPasswordResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder +class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder implements - Builder, - AppPasswordDeleteAppPasswordResponseApplicationJsonInterfaceBuilder { - _$AppPasswordDeleteAppPasswordResponseApplicationJson? _$v; + Builder, + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs? _$v; - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder? _ocs; - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder(); - set ocs(covariant AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder(); + CollectionBuilder? _data; + CollectionBuilder get data => _$this._data ??= CollectionBuilder(); + set data(covariant CollectionBuilder? data) => _$this._data = data; - AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder get _$this { + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder(); + + CollaborationResourcesRenameCollectionResponseApplicationJson_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(covariant AppPasswordDeleteAppPasswordResponseApplicationJson other) { + void replace(covariant CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordDeleteAppPasswordResponseApplicationJson; + _$v = other as _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs; } @override - void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder)? updates) { + void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordDeleteAppPasswordResponseApplicationJson build() => _build(); + CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs build() => _build(); - _$AppPasswordDeleteAppPasswordResponseApplicationJson _build() { - _$AppPasswordDeleteAppPasswordResponseApplicationJson _$result; + _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs _build() { + _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$AppPasswordDeleteAppPasswordResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$CollaborationResourcesRenameCollectionResponseApplicationJson_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'AppPasswordDeleteAppPasswordResponseApplicationJson', _$failedField, e.toString()); + r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -9707,264 +12762,234 @@ class AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder } } -abstract mixin class AutocompleteResult_Status0InterfaceBuilder { - void replace(AutocompleteResult_Status0Interface other); - void update(void Function(AutocompleteResult_Status0InterfaceBuilder) updates); - String? get status; - set status(String? status); - - String? get message; - set message(String? message); - - String? get icon; - set icon(String? icon); - - int? get clearAt; - set clearAt(int? clearAt); +abstract mixin class CollaborationResourcesRenameCollectionResponseApplicationJsonInterfaceBuilder { + void replace(CollaborationResourcesRenameCollectionResponseApplicationJsonInterface other); + void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonInterfaceBuilder) updates); + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder get ocs; + set ocs(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder? ocs); } -class _$AutocompleteResult_Status0 extends AutocompleteResult_Status0 { - @override - final String status; - @override - final String? message; - @override - final String? icon; +class _$CollaborationResourcesRenameCollectionResponseApplicationJson + extends CollaborationResourcesRenameCollectionResponseApplicationJson { @override - final int? clearAt; + final CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs ocs; - factory _$AutocompleteResult_Status0([void Function(AutocompleteResult_Status0Builder)? updates]) => - (AutocompleteResult_Status0Builder()..update(updates))._build(); + factory _$CollaborationResourcesRenameCollectionResponseApplicationJson( + [void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder)? updates]) => + (CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder()..update(updates))._build(); - _$AutocompleteResult_Status0._({required this.status, this.message, this.icon, this.clearAt}) : super._() { - BuiltValueNullFieldError.checkNotNull(status, r'AutocompleteResult_Status0', 'status'); + _$CollaborationResourcesRenameCollectionResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesRenameCollectionResponseApplicationJson', 'ocs'); } @override - AutocompleteResult_Status0 rebuild(void Function(AutocompleteResult_Status0Builder) updates) => + CollaborationResourcesRenameCollectionResponseApplicationJson rebuild( + void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AutocompleteResult_Status0Builder toBuilder() => AutocompleteResult_Status0Builder()..replace(this); + CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder toBuilder() => + CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AutocompleteResult_Status0 && - status == other.status && - message == other.message && - icon == other.icon && - clearAt == other.clearAt; + return other is CollaborationResourcesRenameCollectionResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, status.hashCode); - _$hash = $jc(_$hash, message.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, clearAt.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AutocompleteResult_Status0') - ..add('status', status) - ..add('message', message) - ..add('icon', icon) - ..add('clearAt', clearAt)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesRenameCollectionResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class AutocompleteResult_Status0Builder +class CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder implements - Builder, - AutocompleteResult_Status0InterfaceBuilder { - _$AutocompleteResult_Status0? _$v; - - String? _status; - String? get status => _$this._status; - set status(covariant String? status) => _$this._status = status; - - String? _message; - String? get message => _$this._message; - set message(covariant String? message) => _$this._message = message; - - String? _icon; - String? get icon => _$this._icon; - set icon(covariant String? icon) => _$this._icon = icon; + Builder, + CollaborationResourcesRenameCollectionResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesRenameCollectionResponseApplicationJson? _$v; - int? _clearAt; - int? get clearAt => _$this._clearAt; - set clearAt(covariant int? clearAt) => _$this._clearAt = clearAt; + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder? _ocs; + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder(); + set ocs(covariant CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - AutocompleteResult_Status0Builder(); + CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder(); - AutocompleteResult_Status0Builder get _$this { + CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _status = $v.status; - _message = $v.message; - _icon = $v.icon; - _clearAt = $v.clearAt; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant AutocompleteResult_Status0 other) { + void replace(covariant CollaborationResourcesRenameCollectionResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AutocompleteResult_Status0; + _$v = other as _$CollaborationResourcesRenameCollectionResponseApplicationJson; } @override - void update(void Function(AutocompleteResult_Status0Builder)? updates) { + void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - AutocompleteResult_Status0 build() => _build(); + CollaborationResourcesRenameCollectionResponseApplicationJson build() => _build(); - _$AutocompleteResult_Status0 _build() { - final _$result = _$v ?? - _$AutocompleteResult_Status0._( - status: BuiltValueNullFieldError.checkNotNull(status, r'AutocompleteResult_Status0', 'status'), - message: message, - icon: icon, - clearAt: clearAt); + _$CollaborationResourcesRenameCollectionResponseApplicationJson _build() { + _$CollaborationResourcesRenameCollectionResponseApplicationJson _$result; + try { + _$result = _$v ?? _$CollaborationResourcesRenameCollectionResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CollaborationResourcesRenameCollectionResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class AutocompleteResult_StatusInterfaceBuilder { - void replace(AutocompleteResult_StatusInterface other); - void update(void Function(AutocompleteResult_StatusInterfaceBuilder) updates); - AutocompleteResult_Status0Builder get autocompleteResultStatus0; - set autocompleteResultStatus0(AutocompleteResult_Status0Builder? autocompleteResultStatus0); +abstract mixin class CollaborationResourcesAddResourceResponseApplicationJson_OcsInterfaceBuilder { + void replace(CollaborationResourcesAddResourceResponseApplicationJson_OcsInterface other); + void update(void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - String? get string; - set string(String? string); + CollectionBuilder get data; + set data(CollectionBuilder? data); } -class _$AutocompleteResult_Status extends AutocompleteResult_Status { - @override - final JsonObject data; +class _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs + extends CollaborationResourcesAddResourceResponseApplicationJson_Ocs { @override - final AutocompleteResult_Status0? autocompleteResultStatus0; + final OCSMeta meta; @override - final String? string; + final Collection data; - factory _$AutocompleteResult_Status([void Function(AutocompleteResult_StatusBuilder)? updates]) => - (AutocompleteResult_StatusBuilder()..update(updates))._build(); + factory _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder)? updates]) => + (CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$AutocompleteResult_Status._({required this.data, this.autocompleteResultStatus0, this.string}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'AutocompleteResult_Status', 'data'); + _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs', 'data'); } @override - AutocompleteResult_Status rebuild(void Function(AutocompleteResult_StatusBuilder) updates) => + CollaborationResourcesAddResourceResponseApplicationJson_Ocs rebuild( + void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AutocompleteResult_StatusBuilder toBuilder() => AutocompleteResult_StatusBuilder()..replace(this); + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder toBuilder() => + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AutocompleteResult_Status && - data == other.data && - autocompleteResultStatus0 == other.autocompleteResultStatus0 && - string == other.string; + return other is CollaborationResourcesAddResourceResponseApplicationJson_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, autocompleteResultStatus0.hashCode); - _$hash = $jc(_$hash, string.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AutocompleteResult_Status') - ..add('data', data) - ..add('autocompleteResultStatus0', autocompleteResultStatus0) - ..add('string', string)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class AutocompleteResult_StatusBuilder +class CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder implements - Builder, - AutocompleteResult_StatusInterfaceBuilder { - _$AutocompleteResult_Status? _$v; - - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(covariant JsonObject? data) => _$this._data = data; + Builder, + CollaborationResourcesAddResourceResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs? _$v; - AutocompleteResult_Status0Builder? _autocompleteResultStatus0; - AutocompleteResult_Status0Builder get autocompleteResultStatus0 => - _$this._autocompleteResultStatus0 ??= AutocompleteResult_Status0Builder(); - set autocompleteResultStatus0(covariant AutocompleteResult_Status0Builder? autocompleteResultStatus0) => - _$this._autocompleteResultStatus0 = autocompleteResultStatus0; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - String? _string; - String? get string => _$this._string; - set string(covariant String? string) => _$this._string = string; + CollectionBuilder? _data; + CollectionBuilder get data => _$this._data ??= CollectionBuilder(); + set data(covariant CollectionBuilder? data) => _$this._data = data; - AutocompleteResult_StatusBuilder(); + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder(); - AutocompleteResult_StatusBuilder get _$this { + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _autocompleteResultStatus0 = $v.autocompleteResultStatus0?.toBuilder(); - _string = $v.string; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant AutocompleteResult_Status other) { + void replace(covariant CollaborationResourcesAddResourceResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AutocompleteResult_Status; + _$v = other as _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs; } @override - void update(void Function(AutocompleteResult_StatusBuilder)? updates) { + void update(void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - AutocompleteResult_Status build() => _build(); + CollaborationResourcesAddResourceResponseApplicationJson_Ocs build() => _build(); - _$AutocompleteResult_Status _build() { - AutocompleteResult_Status._validate(this); - _$AutocompleteResult_Status _$result; + _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs _build() { + _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$AutocompleteResult_Status._( - data: BuiltValueNullFieldError.checkNotNull(data, r'AutocompleteResult_Status', 'data'), - autocompleteResultStatus0: _autocompleteResultStatus0?.build(), - string: string); + _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'autocompleteResultStatus0'; - _autocompleteResultStatus0?.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'AutocompleteResult_Status', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -9973,201 +12998,105 @@ class AutocompleteResult_StatusBuilder } } -abstract mixin class AutocompleteResultInterfaceBuilder { - void replace(AutocompleteResultInterface other); - void update(void Function(AutocompleteResultInterfaceBuilder) updates); - String? get id; - set id(String? id); - - String? get label; - set label(String? label); - - String? get icon; - set icon(String? icon); - - String? get source; - set source(String? source); - - AutocompleteResult_StatusBuilder get status; - set status(AutocompleteResult_StatusBuilder? status); - - String? get subline; - set subline(String? subline); - - String? get shareWithDisplayNameUnique; - set shareWithDisplayNameUnique(String? shareWithDisplayNameUnique); +abstract mixin class CollaborationResourcesAddResourceResponseApplicationJsonInterfaceBuilder { + void replace(CollaborationResourcesAddResourceResponseApplicationJsonInterface other); + void update(void Function(CollaborationResourcesAddResourceResponseApplicationJsonInterfaceBuilder) updates); + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder get ocs; + set ocs(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder? ocs); } -class _$AutocompleteResult extends AutocompleteResult { - @override - final String id; - @override - final String label; - @override - final String icon; - @override - final String source; - @override - final AutocompleteResult_Status status; - @override - final String subline; +class _$CollaborationResourcesAddResourceResponseApplicationJson + extends CollaborationResourcesAddResourceResponseApplicationJson { @override - final String shareWithDisplayNameUnique; + final CollaborationResourcesAddResourceResponseApplicationJson_Ocs ocs; - factory _$AutocompleteResult([void Function(AutocompleteResultBuilder)? updates]) => - (AutocompleteResultBuilder()..update(updates))._build(); + factory _$CollaborationResourcesAddResourceResponseApplicationJson( + [void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder)? updates]) => + (CollaborationResourcesAddResourceResponseApplicationJsonBuilder()..update(updates))._build(); - _$AutocompleteResult._( - {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'AutocompleteResult', 'id'); - BuiltValueNullFieldError.checkNotNull(label, r'AutocompleteResult', 'label'); - BuiltValueNullFieldError.checkNotNull(icon, r'AutocompleteResult', 'icon'); - BuiltValueNullFieldError.checkNotNull(source, r'AutocompleteResult', 'source'); - BuiltValueNullFieldError.checkNotNull(status, r'AutocompleteResult', 'status'); - BuiltValueNullFieldError.checkNotNull(subline, r'AutocompleteResult', 'subline'); - BuiltValueNullFieldError.checkNotNull( - shareWithDisplayNameUnique, r'AutocompleteResult', 'shareWithDisplayNameUnique'); + _$CollaborationResourcesAddResourceResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesAddResourceResponseApplicationJson', 'ocs'); } @override - AutocompleteResult rebuild(void Function(AutocompleteResultBuilder) updates) => + CollaborationResourcesAddResourceResponseApplicationJson rebuild( + void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AutocompleteResultBuilder toBuilder() => AutocompleteResultBuilder()..replace(this); + CollaborationResourcesAddResourceResponseApplicationJsonBuilder toBuilder() => + CollaborationResourcesAddResourceResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AutocompleteResult && - id == other.id && - label == other.label && - icon == other.icon && - source == other.source && - status == other.status && - subline == other.subline && - shareWithDisplayNameUnique == other.shareWithDisplayNameUnique; + return other is CollaborationResourcesAddResourceResponseApplicationJson && ocs == other.ocs; } @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, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AutocompleteResult') - ..add('id', id) - ..add('label', label) - ..add('icon', icon) - ..add('source', source) - ..add('status', status) - ..add('subline', subline) - ..add('shareWithDisplayNameUnique', shareWithDisplayNameUnique)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesAddResourceResponseApplicationJson')..add('ocs', ocs)) .toString(); } } -class AutocompleteResultBuilder - implements Builder, AutocompleteResultInterfaceBuilder { - _$AutocompleteResult? _$v; - - String? _id; - String? get id => _$this._id; - set id(covariant String? id) => _$this._id = id; - - String? _label; - String? get label => _$this._label; - set label(covariant String? label) => _$this._label = label; - - String? _icon; - String? get icon => _$this._icon; - set icon(covariant String? icon) => _$this._icon = icon; - - String? _source; - String? get source => _$this._source; - set source(covariant String? source) => _$this._source = source; - - AutocompleteResult_StatusBuilder? _status; - AutocompleteResult_StatusBuilder get status => _$this._status ??= AutocompleteResult_StatusBuilder(); - set status(covariant AutocompleteResult_StatusBuilder? status) => _$this._status = status; - - String? _subline; - String? get subline => _$this._subline; - set subline(covariant String? subline) => _$this._subline = subline; +class CollaborationResourcesAddResourceResponseApplicationJsonBuilder + implements + Builder, + CollaborationResourcesAddResourceResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesAddResourceResponseApplicationJson? _$v; - String? _shareWithDisplayNameUnique; - String? get shareWithDisplayNameUnique => _$this._shareWithDisplayNameUnique; - set shareWithDisplayNameUnique(covariant String? shareWithDisplayNameUnique) => - _$this._shareWithDisplayNameUnique = shareWithDisplayNameUnique; + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder? _ocs; + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder(); + set ocs(covariant CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - AutocompleteResultBuilder(); + CollaborationResourcesAddResourceResponseApplicationJsonBuilder(); - AutocompleteResultBuilder get _$this { + CollaborationResourcesAddResourceResponseApplicationJsonBuilder 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; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant AutocompleteResult other) { + void replace(covariant CollaborationResourcesAddResourceResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AutocompleteResult; + _$v = other as _$CollaborationResourcesAddResourceResponseApplicationJson; } @override - void update(void Function(AutocompleteResultBuilder)? updates) { + void update(void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - AutocompleteResult build() => _build(); + CollaborationResourcesAddResourceResponseApplicationJson build() => _build(); - _$AutocompleteResult _build() { - _$AutocompleteResult _$result; - try { - _$result = _$v ?? - _$AutocompleteResult._( - id: BuiltValueNullFieldError.checkNotNull(id, r'AutocompleteResult', 'id'), - label: BuiltValueNullFieldError.checkNotNull(label, r'AutocompleteResult', 'label'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'AutocompleteResult', 'icon'), - source: BuiltValueNullFieldError.checkNotNull(source, r'AutocompleteResult', 'source'), - status: status.build(), - subline: BuiltValueNullFieldError.checkNotNull(subline, r'AutocompleteResult', 'subline'), - shareWithDisplayNameUnique: BuiltValueNullFieldError.checkNotNull( - shareWithDisplayNameUnique, r'AutocompleteResult', 'shareWithDisplayNameUnique')); + _$CollaborationResourcesAddResourceResponseApplicationJson _build() { + _$CollaborationResourcesAddResourceResponseApplicationJson _$result; + try { + _$result = _$v ?? _$CollaborationResourcesAddResourceResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'status'; - status.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'AutocompleteResult', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CollaborationResourcesAddResourceResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -10176,44 +13105,50 @@ class AutocompleteResultBuilder } } -abstract mixin class AutoCompleteGetResponseApplicationJson_OcsInterfaceBuilder { - void replace(AutoCompleteGetResponseApplicationJson_OcsInterface other); - void update(void Function(AutoCompleteGetResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterfaceBuilder { + void replace(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterface other); + void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterfaceBuilder) updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - ListBuilder get data; - set data(ListBuilder? data); + CollectionBuilder get data; + set data(CollectionBuilder? data); } -class _$AutoCompleteGetResponseApplicationJson_Ocs extends AutoCompleteGetResponseApplicationJson_Ocs { +class _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs + extends CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final BuiltList data; + final Collection data; - factory _$AutoCompleteGetResponseApplicationJson_Ocs( - [void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder)? updates]) => - (AutoCompleteGetResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder)? updates]) => + (CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$AutoCompleteGetResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'AutoCompleteGetResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'AutoCompleteGetResponseApplicationJson_Ocs', 'data'); + _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs', 'data'); } @override - AutoCompleteGetResponseApplicationJson_Ocs rebuild( - void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder) updates) => + CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs rebuild( + void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AutoCompleteGetResponseApplicationJson_OcsBuilder toBuilder() => - AutoCompleteGetResponseApplicationJson_OcsBuilder()..replace(this); + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder toBuilder() => + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AutoCompleteGetResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -10227,30 +13162,31 @@ class _$AutoCompleteGetResponseApplicationJson_Ocs extends AutoCompleteGetRespon @override String toString() { - return (newBuiltValueToStringHelper(r'AutoCompleteGetResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class AutoCompleteGetResponseApplicationJson_OcsBuilder +class CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder implements - Builder, - AutoCompleteGetResponseApplicationJson_OcsInterfaceBuilder { - _$AutoCompleteGetResponseApplicationJson_Ocs? _$v; + Builder, + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(covariant ListBuilder? data) => _$this._data = data; + CollectionBuilder? _data; + CollectionBuilder get data => _$this._data ??= CollectionBuilder(); + set data(covariant CollectionBuilder? data) => _$this._data = data; - AutoCompleteGetResponseApplicationJson_OcsBuilder(); + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder(); - AutoCompleteGetResponseApplicationJson_OcsBuilder get _$this { + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -10261,23 +13197,24 @@ class AutoCompleteGetResponseApplicationJson_OcsBuilder } @override - void replace(covariant AutoCompleteGetResponseApplicationJson_Ocs other) { + void replace(covariant CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AutoCompleteGetResponseApplicationJson_Ocs; + _$v = other as _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs; } @override - void update(void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - AutoCompleteGetResponseApplicationJson_Ocs build() => _build(); + CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs build() => _build(); - _$AutoCompleteGetResponseApplicationJson_Ocs _build() { - _$AutoCompleteGetResponseApplicationJson_Ocs _$result; + _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs _build() { + _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$AutoCompleteGetResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -10286,7 +13223,8 @@ class AutoCompleteGetResponseApplicationJson_OcsBuilder _$failedField = 'data'; data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'AutoCompleteGetResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -10295,38 +13233,39 @@ class AutoCompleteGetResponseApplicationJson_OcsBuilder } } -abstract mixin class AutoCompleteGetResponseApplicationJsonInterfaceBuilder { - void replace(AutoCompleteGetResponseApplicationJsonInterface other); - void update(void Function(AutoCompleteGetResponseApplicationJsonInterfaceBuilder) updates); - AutoCompleteGetResponseApplicationJson_OcsBuilder get ocs; - set ocs(AutoCompleteGetResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class CollaborationResourcesRemoveResourceResponseApplicationJsonInterfaceBuilder { + void replace(CollaborationResourcesRemoveResourceResponseApplicationJsonInterface other); + void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonInterfaceBuilder) updates); + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder get ocs; + set ocs(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder? ocs); } -class _$AutoCompleteGetResponseApplicationJson extends AutoCompleteGetResponseApplicationJson { +class _$CollaborationResourcesRemoveResourceResponseApplicationJson + extends CollaborationResourcesRemoveResourceResponseApplicationJson { @override - final AutoCompleteGetResponseApplicationJson_Ocs ocs; + final CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs ocs; - factory _$AutoCompleteGetResponseApplicationJson( - [void Function(AutoCompleteGetResponseApplicationJsonBuilder)? updates]) => - (AutoCompleteGetResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$CollaborationResourcesRemoveResourceResponseApplicationJson( + [void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder)? updates]) => + (CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder()..update(updates))._build(); - _$AutoCompleteGetResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'AutoCompleteGetResponseApplicationJson', 'ocs'); + _$CollaborationResourcesRemoveResourceResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesRemoveResourceResponseApplicationJson', 'ocs'); } @override - AutoCompleteGetResponseApplicationJson rebuild( - void Function(AutoCompleteGetResponseApplicationJsonBuilder) updates) => + CollaborationResourcesRemoveResourceResponseApplicationJson rebuild( + void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AutoCompleteGetResponseApplicationJsonBuilder toBuilder() => - AutoCompleteGetResponseApplicationJsonBuilder()..replace(this); + CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder toBuilder() => + CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AutoCompleteGetResponseApplicationJson && ocs == other.ocs; + return other is CollaborationResourcesRemoveResourceResponseApplicationJson && ocs == other.ocs; } @override @@ -10339,24 +13278,27 @@ class _$AutoCompleteGetResponseApplicationJson extends AutoCompleteGetResponseAp @override String toString() { - return (newBuiltValueToStringHelper(r'AutoCompleteGetResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'CollaborationResourcesRemoveResourceResponseApplicationJson') + ..add('ocs', ocs)) + .toString(); } } -class AutoCompleteGetResponseApplicationJsonBuilder +class CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder implements - Builder, - AutoCompleteGetResponseApplicationJsonInterfaceBuilder { - _$AutoCompleteGetResponseApplicationJson? _$v; + Builder, + CollaborationResourcesRemoveResourceResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesRemoveResourceResponseApplicationJson? _$v; - AutoCompleteGetResponseApplicationJson_OcsBuilder? _ocs; - AutoCompleteGetResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= AutoCompleteGetResponseApplicationJson_OcsBuilder(); - set ocs(covariant AutoCompleteGetResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder? _ocs; + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder(); + set ocs(covariant CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - AutoCompleteGetResponseApplicationJsonBuilder(); + CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder(); - AutoCompleteGetResponseApplicationJsonBuilder get _$this { + CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -10366,30 +13308,31 @@ class AutoCompleteGetResponseApplicationJsonBuilder } @override - void replace(covariant AutoCompleteGetResponseApplicationJson other) { + void replace(covariant CollaborationResourcesRemoveResourceResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AutoCompleteGetResponseApplicationJson; + _$v = other as _$CollaborationResourcesRemoveResourceResponseApplicationJson; } @override - void update(void Function(AutoCompleteGetResponseApplicationJsonBuilder)? updates) { + void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - AutoCompleteGetResponseApplicationJson build() => _build(); + CollaborationResourcesRemoveResourceResponseApplicationJson build() => _build(); - _$AutoCompleteGetResponseApplicationJson _build() { - _$AutoCompleteGetResponseApplicationJson _$result; + _$CollaborationResourcesRemoveResourceResponseApplicationJson _build() { + _$CollaborationResourcesRemoveResourceResponseApplicationJson _$result; try { - _$result = _$v ?? _$AutoCompleteGetResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CollaborationResourcesRemoveResourceResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'AutoCompleteGetResponseApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CollaborationResourcesRemoveResourceResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -10398,801 +13341,884 @@ class AutoCompleteGetResponseApplicationJsonBuilder } } -abstract mixin class AvatarAvatarGetAvatarDarkHeadersInterfaceBuilder { - void replace(AvatarAvatarGetAvatarDarkHeadersInterface other); - void update(void Function(AvatarAvatarGetAvatarDarkHeadersInterfaceBuilder) updates); - int? get xNcIscustomavatar; - set xNcIscustomavatar(int? xNcIscustomavatar); +abstract mixin class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterfaceBuilder { + void replace(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterface other); + void update( + void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); } -class _$AvatarAvatarGetAvatarDarkHeaders extends AvatarAvatarGetAvatarDarkHeaders { +class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs + extends CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs { @override - final int? xNcIscustomavatar; + final OCSMeta meta; + @override + final BuiltList data; - factory _$AvatarAvatarGetAvatarDarkHeaders([void Function(AvatarAvatarGetAvatarDarkHeadersBuilder)? updates]) => - (AvatarAvatarGetAvatarDarkHeadersBuilder()..update(updates))._build(); + factory _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder)? updates]) => + (CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$AvatarAvatarGetAvatarDarkHeaders._({this.xNcIscustomavatar}) : super._(); + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs', 'data'); + } @override - AvatarAvatarGetAvatarDarkHeaders rebuild(void Function(AvatarAvatarGetAvatarDarkHeadersBuilder) updates) => + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs rebuild( + void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AvatarAvatarGetAvatarDarkHeadersBuilder toBuilder() => AvatarAvatarGetAvatarDarkHeadersBuilder()..replace(this); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder toBuilder() => + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AvatarAvatarGetAvatarDarkHeaders && xNcIscustomavatar == other.xNcIscustomavatar; + return other is CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, xNcIscustomavatar.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AvatarAvatarGetAvatarDarkHeaders') - ..add('xNcIscustomavatar', xNcIscustomavatar)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class AvatarAvatarGetAvatarDarkHeadersBuilder +class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder implements - Builder, - AvatarAvatarGetAvatarDarkHeadersInterfaceBuilder { - _$AvatarAvatarGetAvatarDarkHeaders? _$v; + Builder, + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs? _$v; - int? _xNcIscustomavatar; - int? get xNcIscustomavatar => _$this._xNcIscustomavatar; - set xNcIscustomavatar(covariant int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - AvatarAvatarGetAvatarDarkHeadersBuilder(); + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; - AvatarAvatarGetAvatarDarkHeadersBuilder get _$this { + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder(); + + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _xNcIscustomavatar = $v.xNcIscustomavatar; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant AvatarAvatarGetAvatarDarkHeaders other) { + void replace(covariant CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AvatarAvatarGetAvatarDarkHeaders; + _$v = other as _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs; } @override - void update(void Function(AvatarAvatarGetAvatarDarkHeadersBuilder)? updates) { + void update( + void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - AvatarAvatarGetAvatarDarkHeaders build() => _build(); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs build() => _build(); - _$AvatarAvatarGetAvatarDarkHeaders _build() { - final _$result = _$v ?? _$AvatarAvatarGetAvatarDarkHeaders._(xNcIscustomavatar: xNcIscustomavatar); + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs _build() { + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_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'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class AvatarAvatarGetAvatarHeadersInterfaceBuilder { - void replace(AvatarAvatarGetAvatarHeadersInterface other); - void update(void Function(AvatarAvatarGetAvatarHeadersInterfaceBuilder) updates); - int? get xNcIscustomavatar; - set xNcIscustomavatar(int? xNcIscustomavatar); +abstract mixin class CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterfaceBuilder { + void replace(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterface other); + void update( + void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterfaceBuilder) updates); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder get ocs; + set ocs(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder? ocs); } -class _$AvatarAvatarGetAvatarHeaders extends AvatarAvatarGetAvatarHeaders { +class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson + extends CollaborationResourcesGetCollectionsByResourceResponseApplicationJson { @override - final int? xNcIscustomavatar; + final CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs ocs; - factory _$AvatarAvatarGetAvatarHeaders([void Function(AvatarAvatarGetAvatarHeadersBuilder)? updates]) => - (AvatarAvatarGetAvatarHeadersBuilder()..update(updates))._build(); + factory _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson( + [void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder)? updates]) => + (CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder()..update(updates))._build(); - _$AvatarAvatarGetAvatarHeaders._({this.xNcIscustomavatar}) : super._(); + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson', 'ocs'); + } @override - AvatarAvatarGetAvatarHeaders rebuild(void Function(AvatarAvatarGetAvatarHeadersBuilder) updates) => + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson rebuild( + void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AvatarAvatarGetAvatarHeadersBuilder toBuilder() => AvatarAvatarGetAvatarHeadersBuilder()..replace(this); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder toBuilder() => + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AvatarAvatarGetAvatarHeaders && xNcIscustomavatar == other.xNcIscustomavatar; + return other is CollaborationResourcesGetCollectionsByResourceResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, xNcIscustomavatar.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AvatarAvatarGetAvatarHeaders')..add('xNcIscustomavatar', xNcIscustomavatar)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class AvatarAvatarGetAvatarHeadersBuilder +class CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder implements - Builder, - AvatarAvatarGetAvatarHeadersInterfaceBuilder { - _$AvatarAvatarGetAvatarHeaders? _$v; + Builder, + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson? _$v; - int? _xNcIscustomavatar; - int? get xNcIscustomavatar => _$this._xNcIscustomavatar; - set xNcIscustomavatar(covariant int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder? _ocs; + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder(); + set ocs(covariant CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; - AvatarAvatarGetAvatarHeadersBuilder(); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder(); - AvatarAvatarGetAvatarHeadersBuilder get _$this { + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _xNcIscustomavatar = $v.xNcIscustomavatar; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant AvatarAvatarGetAvatarHeaders other) { + void replace(covariant CollaborationResourcesGetCollectionsByResourceResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AvatarAvatarGetAvatarHeaders; + _$v = other as _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson; } @override - void update(void Function(AvatarAvatarGetAvatarHeadersBuilder)? updates) { + void update(void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - AvatarAvatarGetAvatarHeaders build() => _build(); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson build() => _build(); - _$AvatarAvatarGetAvatarHeaders _build() { - final _$result = _$v ?? _$AvatarAvatarGetAvatarHeaders._(xNcIscustomavatar: xNcIscustomavatar); + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson _build() { + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson _$result; + try { + _$result = _$v ?? _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class LoginFlowV2CredentialsInterfaceBuilder { - void replace(LoginFlowV2CredentialsInterface other); - void update(void Function(LoginFlowV2CredentialsInterfaceBuilder) updates); - String? get server; - set server(String? server); - - String? get loginName; - set loginName(String? loginName); +abstract mixin class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterfaceBuilder { + void replace(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterface other); + void update( + void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - String? get appPassword; - set appPassword(String? appPassword); + CollectionBuilder get data; + set data(CollectionBuilder? data); } -class _$LoginFlowV2Credentials extends LoginFlowV2Credentials { - @override - final String server; +class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs + extends CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs { @override - final String loginName; + final OCSMeta meta; @override - final String appPassword; + final Collection data; - factory _$LoginFlowV2Credentials([void Function(LoginFlowV2CredentialsBuilder)? updates]) => - (LoginFlowV2CredentialsBuilder()..update(updates))._build(); + factory _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder)? + updates]) => + (CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$LoginFlowV2Credentials._({required this.server, required this.loginName, required this.appPassword}) : super._() { - BuiltValueNullFieldError.checkNotNull(server, r'LoginFlowV2Credentials', 'server'); - BuiltValueNullFieldError.checkNotNull(loginName, r'LoginFlowV2Credentials', 'loginName'); - BuiltValueNullFieldError.checkNotNull(appPassword, r'LoginFlowV2Credentials', 'appPassword'); + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs', 'data'); } @override - LoginFlowV2Credentials rebuild(void Function(LoginFlowV2CredentialsBuilder) updates) => + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs rebuild( + void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - LoginFlowV2CredentialsBuilder toBuilder() => LoginFlowV2CredentialsBuilder()..replace(this); + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder toBuilder() => + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is LoginFlowV2Credentials && - server == other.server && - loginName == other.loginName && - appPassword == other.appPassword; + return other is CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @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, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'LoginFlowV2Credentials') - ..add('server', server) - ..add('loginName', loginName) - ..add('appPassword', appPassword)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class LoginFlowV2CredentialsBuilder - implements Builder, LoginFlowV2CredentialsInterfaceBuilder { - _$LoginFlowV2Credentials? _$v; - - String? _server; - String? get server => _$this._server; - set server(covariant String? server) => _$this._server = server; +class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder + implements + Builder, + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs? _$v; - String? _loginName; - String? get loginName => _$this._loginName; - set loginName(covariant String? loginName) => _$this._loginName = loginName; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - String? _appPassword; - String? get appPassword => _$this._appPassword; - set appPassword(covariant String? appPassword) => _$this._appPassword = appPassword; + CollectionBuilder? _data; + CollectionBuilder get data => _$this._data ??= CollectionBuilder(); + set data(covariant CollectionBuilder? data) => _$this._data = data; - LoginFlowV2CredentialsBuilder(); + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder(); - LoginFlowV2CredentialsBuilder get _$this { + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _server = $v.server; - _loginName = $v.loginName; - _appPassword = $v.appPassword; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant LoginFlowV2Credentials other) { + void replace(covariant CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$LoginFlowV2Credentials; + _$v = other as _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs; } @override - void update(void Function(LoginFlowV2CredentialsBuilder)? updates) { + void update( + void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - LoginFlowV2Credentials build() => _build(); + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs build() => _build(); - _$LoginFlowV2Credentials _build() { - final _$result = _$v ?? - _$LoginFlowV2Credentials._( - server: BuiltValueNullFieldError.checkNotNull(server, r'LoginFlowV2Credentials', 'server'), - loginName: BuiltValueNullFieldError.checkNotNull(loginName, r'LoginFlowV2Credentials', 'loginName'), - appPassword: BuiltValueNullFieldError.checkNotNull(appPassword, r'LoginFlowV2Credentials', 'appPassword')); + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs _build() { + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_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'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs', + _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class LoginFlowV2_PollInterfaceBuilder { - void replace(LoginFlowV2_PollInterface other); - void update(void Function(LoginFlowV2_PollInterfaceBuilder) updates); - String? get token; - set token(String? token); - - String? get endpoint; - set endpoint(String? endpoint); +abstract mixin class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterfaceBuilder { + void replace(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterface other); + void update( + void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterfaceBuilder) updates); + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder get ocs; + set ocs(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder? ocs); } -class _$LoginFlowV2_Poll extends LoginFlowV2_Poll { - @override - final String token; +class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson + extends CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson { @override - final String endpoint; + final CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs ocs; - factory _$LoginFlowV2_Poll([void Function(LoginFlowV2_PollBuilder)? updates]) => - (LoginFlowV2_PollBuilder()..update(updates))._build(); + factory _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson( + [void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder)? updates]) => + (CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder()..update(updates))._build(); - _$LoginFlowV2_Poll._({required this.token, required this.endpoint}) : super._() { - BuiltValueNullFieldError.checkNotNull(token, r'LoginFlowV2_Poll', 'token'); - BuiltValueNullFieldError.checkNotNull(endpoint, r'LoginFlowV2_Poll', 'endpoint'); + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson', 'ocs'); } @override - LoginFlowV2_Poll rebuild(void Function(LoginFlowV2_PollBuilder) updates) => (toBuilder()..update(updates)).build(); + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson rebuild( + void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - LoginFlowV2_PollBuilder toBuilder() => LoginFlowV2_PollBuilder()..replace(this); + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder toBuilder() => + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is LoginFlowV2_Poll && token == other.token && endpoint == other.endpoint; + return other is CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, token.hashCode); - _$hash = $jc(_$hash, endpoint.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'LoginFlowV2_Poll') - ..add('token', token) - ..add('endpoint', endpoint)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class LoginFlowV2_PollBuilder - implements Builder, LoginFlowV2_PollInterfaceBuilder { - _$LoginFlowV2_Poll? _$v; - - String? _token; - String? get token => _$this._token; - set token(covariant String? token) => _$this._token = token; +class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder + implements + Builder, + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson? _$v; - String? _endpoint; - String? get endpoint => _$this._endpoint; - set endpoint(covariant String? endpoint) => _$this._endpoint = endpoint; + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder? _ocs; + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder(); + set ocs(covariant CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; - LoginFlowV2_PollBuilder(); + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder(); - LoginFlowV2_PollBuilder get _$this { + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _token = $v.token; - _endpoint = $v.endpoint; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant LoginFlowV2_Poll other) { + void replace(covariant CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$LoginFlowV2_Poll; + _$v = other as _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson; } @override - void update(void Function(LoginFlowV2_PollBuilder)? updates) { + void update(void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - LoginFlowV2_Poll build() => _build(); + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson build() => _build(); - _$LoginFlowV2_Poll _build() { - final _$result = _$v ?? - _$LoginFlowV2_Poll._( - token: BuiltValueNullFieldError.checkNotNull(token, r'LoginFlowV2_Poll', 'token'), - endpoint: BuiltValueNullFieldError.checkNotNull(endpoint, r'LoginFlowV2_Poll', 'endpoint')); + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson _build() { + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson _$result; + try { + _$result = _$v ?? _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class LoginFlowV2InterfaceBuilder { - void replace(LoginFlowV2Interface other); - void update(void Function(LoginFlowV2InterfaceBuilder) updates); - LoginFlowV2_PollBuilder get poll; - set poll(LoginFlowV2_PollBuilder? poll); +abstract mixin class ContactsActionInterfaceBuilder { + void replace(ContactsActionInterface other); + void update(void Function(ContactsActionInterfaceBuilder) updates); + String? get title; + set title(String? title); - String? get login; - set login(String? login); + String? get icon; + set icon(String? icon); + + String? get hyperlink; + set hyperlink(String? hyperlink); + + String? get appId; + set appId(String? appId); } -class _$LoginFlowV2 extends LoginFlowV2 { +class _$ContactsAction extends ContactsAction { @override - final LoginFlowV2_Poll poll; + final String title; @override - final String login; + final String icon; + @override + final String hyperlink; + @override + final String appId; - factory _$LoginFlowV2([void Function(LoginFlowV2Builder)? updates]) => - (LoginFlowV2Builder()..update(updates))._build(); + factory _$ContactsAction([void Function(ContactsActionBuilder)? updates]) => + (ContactsActionBuilder()..update(updates))._build(); - _$LoginFlowV2._({required this.poll, required this.login}) : super._() { - BuiltValueNullFieldError.checkNotNull(poll, r'LoginFlowV2', 'poll'); - BuiltValueNullFieldError.checkNotNull(login, r'LoginFlowV2', 'login'); + _$ContactsAction._({required this.title, required this.icon, required this.hyperlink, required this.appId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(title, r'ContactsAction', 'title'); + BuiltValueNullFieldError.checkNotNull(icon, r'ContactsAction', 'icon'); + BuiltValueNullFieldError.checkNotNull(hyperlink, r'ContactsAction', 'hyperlink'); + BuiltValueNullFieldError.checkNotNull(appId, r'ContactsAction', 'appId'); } @override - LoginFlowV2 rebuild(void Function(LoginFlowV2Builder) updates) => (toBuilder()..update(updates)).build(); + ContactsAction rebuild(void Function(ContactsActionBuilder) updates) => (toBuilder()..update(updates)).build(); @override - LoginFlowV2Builder toBuilder() => LoginFlowV2Builder()..replace(this); + ContactsActionBuilder toBuilder() => ContactsActionBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is LoginFlowV2 && poll == other.poll && login == other.login; + return other is ContactsAction && + title == other.title && + icon == other.icon && + hyperlink == other.hyperlink && + appId == other.appId; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, poll.hashCode); - _$hash = $jc(_$hash, login.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'LoginFlowV2') - ..add('poll', poll) - ..add('login', login)) + return (newBuiltValueToStringHelper(r'ContactsAction') + ..add('title', title) + ..add('icon', icon) + ..add('hyperlink', hyperlink) + ..add('appId', appId)) .toString(); } } -class LoginFlowV2Builder implements Builder, LoginFlowV2InterfaceBuilder { - _$LoginFlowV2? _$v; +class ContactsActionBuilder implements Builder, ContactsActionInterfaceBuilder { + _$ContactsAction? _$v; - LoginFlowV2_PollBuilder? _poll; - LoginFlowV2_PollBuilder get poll => _$this._poll ??= LoginFlowV2_PollBuilder(); - set poll(covariant LoginFlowV2_PollBuilder? poll) => _$this._poll = poll; + String? _title; + String? get title => _$this._title; + set title(covariant String? title) => _$this._title = title; - String? _login; - String? get login => _$this._login; - set login(covariant String? login) => _$this._login = login; + String? _icon; + String? get icon => _$this._icon; + set icon(covariant String? icon) => _$this._icon = icon; - LoginFlowV2Builder(); + String? _hyperlink; + String? get hyperlink => _$this._hyperlink; + set hyperlink(covariant String? hyperlink) => _$this._hyperlink = hyperlink; - LoginFlowV2Builder get _$this { + String? _appId; + String? get appId => _$this._appId; + set appId(covariant String? appId) => _$this._appId = appId; + + ContactsActionBuilder(); + + ContactsActionBuilder get _$this { final $v = _$v; if ($v != null) { - _poll = $v.poll.toBuilder(); - _login = $v.login; + _title = $v.title; + _icon = $v.icon; + _hyperlink = $v.hyperlink; + _appId = $v.appId; _$v = null; } return this; } @override - void replace(covariant LoginFlowV2 other) { + void replace(covariant ContactsAction other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$LoginFlowV2; + _$v = other as _$ContactsAction; } @override - void update(void Function(LoginFlowV2Builder)? updates) { + void update(void Function(ContactsActionBuilder)? updates) { if (updates != null) updates(this); } @override - LoginFlowV2 build() => _build(); + ContactsAction build() => _build(); - _$LoginFlowV2 _build() { - _$LoginFlowV2 _$result; - try { - _$result = _$v ?? - _$LoginFlowV2._( - poll: poll.build(), login: BuiltValueNullFieldError.checkNotNull(login, r'LoginFlowV2', 'login')); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'poll'; - poll.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'LoginFlowV2', _$failedField, e.toString()); - } - rethrow; - } + _$ContactsAction _build() { + final _$result = _$v ?? + _$ContactsAction._( + title: BuiltValueNullFieldError.checkNotNull(title, r'ContactsAction', 'title'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'ContactsAction', 'icon'), + hyperlink: BuiltValueNullFieldError.checkNotNull(hyperlink, r'ContactsAction', 'hyperlink'), + appId: BuiltValueNullFieldError.checkNotNull(appId, r'ContactsAction', 'appId')); replace(_$result); return _$result; } } -abstract mixin class OpenGraphObjectInterfaceBuilder { - void replace(OpenGraphObjectInterface other); - void update(void Function(OpenGraphObjectInterfaceBuilder) updates); - String? get id; - set id(String? id); - - String? get name; - set name(String? name); - - String? get description; - set description(String? description); - - String? get thumb; - set thumb(String? thumb); +abstract mixin class HoverCardGetUserResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(HoverCardGetUserResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + String? get userId; + set userId(String? userId); - String? get link; - set link(String? link); -} + String? get displayName; + set displayName(String? displayName); -class _$OpenGraphObject extends OpenGraphObject { - @override - final String id; - @override - final String name; + ListBuilder get actions; + set actions(ListBuilder? actions); +} + +class _$HoverCardGetUserResponseApplicationJson_Ocs_Data extends HoverCardGetUserResponseApplicationJson_Ocs_Data { @override - final String? description; + final String userId; @override - final String? thumb; + final String displayName; @override - final String link; + final BuiltList actions; - factory _$OpenGraphObject([void Function(OpenGraphObjectBuilder)? updates]) => - (OpenGraphObjectBuilder()..update(updates))._build(); + factory _$HoverCardGetUserResponseApplicationJson_Ocs_Data( + [void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$OpenGraphObject._({required this.id, required this.name, this.description, this.thumb, required this.link}) + _$HoverCardGetUserResponseApplicationJson_Ocs_Data._( + {required this.userId, required this.displayName, required this.actions}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'OpenGraphObject', 'id'); - BuiltValueNullFieldError.checkNotNull(name, r'OpenGraphObject', 'name'); - BuiltValueNullFieldError.checkNotNull(link, r'OpenGraphObject', 'link'); + BuiltValueNullFieldError.checkNotNull(userId, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'userId'); + BuiltValueNullFieldError.checkNotNull( + displayName, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'displayName'); + BuiltValueNullFieldError.checkNotNull(actions, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'actions'); } @override - OpenGraphObject rebuild(void Function(OpenGraphObjectBuilder) updates) => (toBuilder()..update(updates)).build(); + HoverCardGetUserResponseApplicationJson_Ocs_Data rebuild( + void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - OpenGraphObjectBuilder toBuilder() => OpenGraphObjectBuilder()..replace(this); + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder toBuilder() => + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OpenGraphObject && - id == other.id && - name == other.name && - description == other.description && - thumb == other.thumb && - link == other.link; + return other is HoverCardGetUserResponseApplicationJson_Ocs_Data && + userId == other.userId && + displayName == other.displayName && + actions == other.actions; } @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 = $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'OpenGraphObject') - ..add('id', id) - ..add('name', name) - ..add('description', description) - ..add('thumb', thumb) - ..add('link', link)) + return (newBuiltValueToStringHelper(r'HoverCardGetUserResponseApplicationJson_Ocs_Data') + ..add('userId', userId) + ..add('displayName', displayName) + ..add('actions', actions)) .toString(); } } -class OpenGraphObjectBuilder - implements Builder, OpenGraphObjectInterfaceBuilder { - _$OpenGraphObject? _$v; - - String? _id; - String? get id => _$this._id; - set id(covariant String? id) => _$this._id = id; - - String? _name; - String? get name => _$this._name; - set name(covariant String? name) => _$this._name = name; +class HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder + implements + Builder, + HoverCardGetUserResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$HoverCardGetUserResponseApplicationJson_Ocs_Data? _$v; - String? _description; - String? get description => _$this._description; - set description(covariant String? description) => _$this._description = description; + String? _userId; + String? get userId => _$this._userId; + set userId(covariant String? userId) => _$this._userId = userId; - String? _thumb; - String? get thumb => _$this._thumb; - set thumb(covariant String? thumb) => _$this._thumb = thumb; + String? _displayName; + String? get displayName => _$this._displayName; + set displayName(covariant String? displayName) => _$this._displayName = displayName; - String? _link; - String? get link => _$this._link; - set link(covariant String? link) => _$this._link = link; + ListBuilder? _actions; + ListBuilder get actions => _$this._actions ??= ListBuilder(); + set actions(covariant ListBuilder? actions) => _$this._actions = actions; - OpenGraphObjectBuilder(); + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder(); - OpenGraphObjectBuilder get _$this { + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _name = $v.name; - _description = $v.description; - _thumb = $v.thumb; - _link = $v.link; + _userId = $v.userId; + _displayName = $v.displayName; + _actions = $v.actions.toBuilder(); _$v = null; } return this; } @override - void replace(covariant OpenGraphObject other) { + void replace(covariant HoverCardGetUserResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OpenGraphObject; + _$v = other as _$HoverCardGetUserResponseApplicationJson_Ocs_Data; } @override - void update(void Function(OpenGraphObjectBuilder)? updates) { + void update(void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - OpenGraphObject build() => _build(); + HoverCardGetUserResponseApplicationJson_Ocs_Data build() => _build(); - _$OpenGraphObject _build() { - final _$result = _$v ?? - _$OpenGraphObject._( - id: BuiltValueNullFieldError.checkNotNull(id, r'OpenGraphObject', 'id'), - name: BuiltValueNullFieldError.checkNotNull(name, r'OpenGraphObject', 'name'), - description: description, - thumb: thumb, - link: BuiltValueNullFieldError.checkNotNull(link, r'OpenGraphObject', 'link')); + _$HoverCardGetUserResponseApplicationJson_Ocs_Data _build() { + _$HoverCardGetUserResponseApplicationJson_Ocs_Data _$result; + try { + _$result = _$v ?? + _$HoverCardGetUserResponseApplicationJson_Ocs_Data._( + userId: BuiltValueNullFieldError.checkNotNull( + userId, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'userId'), + displayName: BuiltValueNullFieldError.checkNotNull( + displayName, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'displayName'), + actions: actions.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'actions'; + actions.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'HoverCardGetUserResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class ResourceInterfaceBuilder { - void replace(ResourceInterface other); - void update(void Function(ResourceInterfaceBuilder) updates); - String? get richObjectType; - set richObjectType(String? richObjectType); - - MapBuilder get richObject; - set richObject(MapBuilder? richObject); - - OpenGraphObjectBuilder get openGraphObject; - set openGraphObject(OpenGraphObjectBuilder? openGraphObject); +abstract mixin class HoverCardGetUserResponseApplicationJson_OcsInterfaceBuilder { + void replace(HoverCardGetUserResponseApplicationJson_OcsInterface other); + void update(void Function(HoverCardGetUserResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - bool? get accessible; - set accessible(bool? accessible); + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder get data; + set data(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder? data); } -class _$Resource extends Resource { - @override - final String richObjectType; - @override - final BuiltMap richObject; +class _$HoverCardGetUserResponseApplicationJson_Ocs extends HoverCardGetUserResponseApplicationJson_Ocs { @override - final OpenGraphObject openGraphObject; + final OCSMeta meta; @override - final bool accessible; + final HoverCardGetUserResponseApplicationJson_Ocs_Data data; - factory _$Resource([void Function(ResourceBuilder)? updates]) => (ResourceBuilder()..update(updates))._build(); + factory _$HoverCardGetUserResponseApplicationJson_Ocs( + [void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder)? updates]) => + (HoverCardGetUserResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$Resource._( - {required this.richObjectType, required this.richObject, required this.openGraphObject, required this.accessible}) - : super._() { - BuiltValueNullFieldError.checkNotNull(richObjectType, r'Resource', 'richObjectType'); - BuiltValueNullFieldError.checkNotNull(richObject, r'Resource', 'richObject'); - BuiltValueNullFieldError.checkNotNull(openGraphObject, r'Resource', 'openGraphObject'); - BuiltValueNullFieldError.checkNotNull(accessible, r'Resource', 'accessible'); + _$HoverCardGetUserResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'HoverCardGetUserResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'HoverCardGetUserResponseApplicationJson_Ocs', 'data'); } @override - Resource rebuild(void Function(ResourceBuilder) updates) => (toBuilder()..update(updates)).build(); + HoverCardGetUserResponseApplicationJson_Ocs rebuild( + void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - ResourceBuilder toBuilder() => ResourceBuilder()..replace(this); + HoverCardGetUserResponseApplicationJson_OcsBuilder toBuilder() => + HoverCardGetUserResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is Resource && - richObjectType == other.richObjectType && - richObject == other.richObject && - openGraphObject == other.openGraphObject && - accessible == other.accessible; + return other is HoverCardGetUserResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @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 = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'Resource') - ..add('richObjectType', richObjectType) - ..add('richObject', richObject) - ..add('openGraphObject', openGraphObject) - ..add('accessible', accessible)) + return (newBuiltValueToStringHelper(r'HoverCardGetUserResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class ResourceBuilder implements Builder, ResourceInterfaceBuilder { - _$Resource? _$v; - - String? _richObjectType; - String? get richObjectType => _$this._richObjectType; - set richObjectType(covariant String? richObjectType) => _$this._richObjectType = richObjectType; - - MapBuilder? _richObject; - MapBuilder get richObject => _$this._richObject ??= MapBuilder(); - set richObject(covariant MapBuilder? richObject) => _$this._richObject = richObject; +class HoverCardGetUserResponseApplicationJson_OcsBuilder + implements + Builder, + HoverCardGetUserResponseApplicationJson_OcsInterfaceBuilder { + _$HoverCardGetUserResponseApplicationJson_Ocs? _$v; - OpenGraphObjectBuilder? _openGraphObject; - OpenGraphObjectBuilder get openGraphObject => _$this._openGraphObject ??= OpenGraphObjectBuilder(); - set openGraphObject(covariant OpenGraphObjectBuilder? openGraphObject) => _$this._openGraphObject = openGraphObject; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - bool? _accessible; - bool? get accessible => _$this._accessible; - set accessible(covariant bool? accessible) => _$this._accessible = accessible; + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder? _data; + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - ResourceBuilder(); + HoverCardGetUserResponseApplicationJson_OcsBuilder(); - ResourceBuilder get _$this { + HoverCardGetUserResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _richObjectType = $v.richObjectType; - _richObject = $v.richObject.toBuilder(); - _openGraphObject = $v.openGraphObject.toBuilder(); - _accessible = $v.accessible; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant Resource other) { + void replace(covariant HoverCardGetUserResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$Resource; + _$v = other as _$HoverCardGetUserResponseApplicationJson_Ocs; } @override - void update(void Function(ResourceBuilder)? updates) { + void update(void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - Resource build() => _build(); + HoverCardGetUserResponseApplicationJson_Ocs build() => _build(); - _$Resource _build() { - _$Resource _$result; + _$HoverCardGetUserResponseApplicationJson_Ocs _build() { + _$HoverCardGetUserResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? - _$Resource._( - richObjectType: BuiltValueNullFieldError.checkNotNull(richObjectType, r'Resource', 'richObjectType'), - richObject: richObject.build(), - openGraphObject: openGraphObject.build(), - accessible: BuiltValueNullFieldError.checkNotNull(accessible, r'Resource', 'accessible')); + _$result = _$v ?? _$HoverCardGetUserResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'richObject'; - richObject.build(); - _$failedField = 'openGraphObject'; - openGraphObject.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'Resource', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'HoverCardGetUserResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -11201,124 +14227,101 @@ class ResourceBuilder implements Builder, ResourceInt } } -abstract mixin class CollectionInterfaceBuilder { - void replace(CollectionInterface other); - void update(void Function(CollectionInterfaceBuilder) updates); - int? get id; - set id(int? id); - - String? get name; - set name(String? name); - - ListBuilder get resources; - set resources(ListBuilder? resources); +abstract mixin class HoverCardGetUserResponseApplicationJsonInterfaceBuilder { + void replace(HoverCardGetUserResponseApplicationJsonInterface other); + void update(void Function(HoverCardGetUserResponseApplicationJsonInterfaceBuilder) updates); + HoverCardGetUserResponseApplicationJson_OcsBuilder get ocs; + set ocs(HoverCardGetUserResponseApplicationJson_OcsBuilder? ocs); } -class _$Collection extends Collection { - @override - final int id; - @override - final String name; +class _$HoverCardGetUserResponseApplicationJson extends HoverCardGetUserResponseApplicationJson { @override - final BuiltList resources; + final HoverCardGetUserResponseApplicationJson_Ocs ocs; - factory _$Collection([void Function(CollectionBuilder)? updates]) => (CollectionBuilder()..update(updates))._build(); + factory _$HoverCardGetUserResponseApplicationJson( + [void Function(HoverCardGetUserResponseApplicationJsonBuilder)? updates]) => + (HoverCardGetUserResponseApplicationJsonBuilder()..update(updates))._build(); - _$Collection._({required this.id, required this.name, required this.resources}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'Collection', 'id'); - BuiltValueNullFieldError.checkNotNull(name, r'Collection', 'name'); - BuiltValueNullFieldError.checkNotNull(resources, r'Collection', 'resources'); + _$HoverCardGetUserResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'HoverCardGetUserResponseApplicationJson', 'ocs'); } @override - Collection rebuild(void Function(CollectionBuilder) updates) => (toBuilder()..update(updates)).build(); + HoverCardGetUserResponseApplicationJson rebuild( + void Function(HoverCardGetUserResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - CollectionBuilder toBuilder() => CollectionBuilder()..replace(this); + HoverCardGetUserResponseApplicationJsonBuilder toBuilder() => + HoverCardGetUserResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is Collection && id == other.id && name == other.name && resources == other.resources; + return other is HoverCardGetUserResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, resources.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'Collection') - ..add('id', id) - ..add('name', name) - ..add('resources', resources)) - .toString(); + return (newBuiltValueToStringHelper(r'HoverCardGetUserResponseApplicationJson')..add('ocs', ocs)).toString(); } } -class CollectionBuilder implements Builder, CollectionInterfaceBuilder { - _$Collection? _$v; - - int? _id; - int? get id => _$this._id; - set id(covariant int? id) => _$this._id = id; - - String? _name; - String? get name => _$this._name; - set name(covariant String? name) => _$this._name = name; +class HoverCardGetUserResponseApplicationJsonBuilder + implements + Builder, + HoverCardGetUserResponseApplicationJsonInterfaceBuilder { + _$HoverCardGetUserResponseApplicationJson? _$v; - ListBuilder? _resources; - ListBuilder get resources => _$this._resources ??= ListBuilder(); - set resources(covariant ListBuilder? resources) => _$this._resources = resources; + HoverCardGetUserResponseApplicationJson_OcsBuilder? _ocs; + HoverCardGetUserResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= HoverCardGetUserResponseApplicationJson_OcsBuilder(); + set ocs(covariant HoverCardGetUserResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CollectionBuilder(); + HoverCardGetUserResponseApplicationJsonBuilder(); - CollectionBuilder get _$this { + HoverCardGetUserResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _name = $v.name; - _resources = $v.resources.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant Collection other) { + void replace(covariant HoverCardGetUserResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$Collection; + _$v = other as _$HoverCardGetUserResponseApplicationJson; } @override - void update(void Function(CollectionBuilder)? updates) { + void update(void Function(HoverCardGetUserResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - Collection build() => _build(); + HoverCardGetUserResponseApplicationJson build() => _build(); - _$Collection _build() { - _$Collection _$result; + _$HoverCardGetUserResponseApplicationJson _build() { + _$HoverCardGetUserResponseApplicationJson _$result; try { - _$result = _$v ?? - _$Collection._( - id: BuiltValueNullFieldError.checkNotNull(id, r'Collection', 'id'), - name: BuiltValueNullFieldError.checkNotNull(name, r'Collection', 'name'), - resources: resources.build()); + _$result = _$v ?? _$HoverCardGetUserResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'resources'; - resources.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'Collection', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'HoverCardGetUserResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -11327,238 +14330,342 @@ class CollectionBuilder implements Builder, Colle } } -abstract mixin class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterface other); - void update( - void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class NavigationEntry_OrderInterfaceBuilder { + void replace(NavigationEntry_OrderInterface other); + void update(void Function(NavigationEntry_OrderInterfaceBuilder) updates); + int? get $int; + set $int(int? $int); - ListBuilder get data; - set data(ListBuilder? data); + String? get string; + set string(String? string); } -class _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs - extends CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs { +class _$NavigationEntry_Order extends NavigationEntry_Order { @override - final OCSMeta meta; + final JsonObject data; @override - final BuiltList data; + final int? $int; + @override + final String? string; - factory _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder)? updates]) => - (CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$NavigationEntry_Order([void Function(NavigationEntry_OrderBuilder)? updates]) => + (NavigationEntry_OrderBuilder()..update(updates))._build(); - _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs', 'data'); + _$NavigationEntry_Order._({required this.data, this.$int, this.string}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'NavigationEntry_Order', 'data'); } @override - CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder) updates) => + NavigationEntry_Order rebuild(void Function(NavigationEntry_OrderBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder()..replace(this); + NavigationEntry_OrderBuilder toBuilder() => NavigationEntry_OrderBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is NavigationEntry_Order && 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'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'NavigationEntry_Order') + ..add('data', data) + ..add('\$int', $int) + ..add('string', string)) .toString(); } } -class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder - implements - Builder, - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs? _$v; +class NavigationEntry_OrderBuilder + implements Builder, NavigationEntry_OrderInterfaceBuilder { + _$NavigationEntry_Order? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(covariant ListBuilder? data) => _$this._data = data; + int? _$int; + int? get $int => _$this._$int; + set $int(covariant int? $int) => _$this._$int = $int; - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder(); + String? _string; + String? get string => _$this._string; + set string(covariant String? string) => _$this._string = string; - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder get _$this { + NavigationEntry_OrderBuilder(); + + NavigationEntry_OrderBuilder 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(covariant CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs other) { + void replace(covariant NavigationEntry_Order other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs; - } - - @override - void update(void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder)? updates) { - if (updates != null) updates(this); + _$v = other as _$NavigationEntry_Order; } @override - CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs build() => _build(); - - _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$CollaborationResourcesSearchCollectionsResponseApplicationJson_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'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + void update(void Function(NavigationEntry_OrderBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + NavigationEntry_Order build() => _build(); + + _$NavigationEntry_Order _build() { + NavigationEntry_Order._validate(this); + final _$result = _$v ?? + _$NavigationEntry_Order._( + data: BuiltValueNullFieldError.checkNotNull(data, r'NavigationEntry_Order', 'data'), + $int: $int, + string: string); replace(_$result); return _$result; } } -abstract mixin class CollaborationResourcesSearchCollectionsResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesSearchCollectionsResponseApplicationJsonInterface other); - void update(void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class NavigationEntryInterfaceBuilder { + void replace(NavigationEntryInterface other); + void update(void Function(NavigationEntryInterfaceBuilder) updates); + String? get id; + set id(String? id); + + NavigationEntry_OrderBuilder get order; + set order(NavigationEntry_OrderBuilder? order); + + String? get href; + set href(String? href); + + String? get icon; + set icon(String? icon); + + String? get type; + set type(String? type); + + String? get name; + set name(String? name); + + bool? get active; + set active(bool? active); + + String? get classes; + set classes(String? classes); + + int? get unread; + set unread(int? unread); } -class _$CollaborationResourcesSearchCollectionsResponseApplicationJson - extends CollaborationResourcesSearchCollectionsResponseApplicationJson { +class _$NavigationEntry extends NavigationEntry { @override - final CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs ocs; + final String id; + @override + final NavigationEntry_Order order; + @override + final String href; + @override + final String icon; + @override + final String type; + @override + final String name; + @override + final bool active; + @override + final String classes; + @override + final int unread; - factory _$CollaborationResourcesSearchCollectionsResponseApplicationJson( - [void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$NavigationEntry([void Function(NavigationEntryBuilder)? updates]) => + (NavigationEntryBuilder()..update(updates))._build(); - _$CollaborationResourcesSearchCollectionsResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull( - ocs, r'CollaborationResourcesSearchCollectionsResponseApplicationJson', 'ocs'); + _$NavigationEntry._( + {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'NavigationEntry', 'id'); + BuiltValueNullFieldError.checkNotNull(order, r'NavigationEntry', 'order'); + BuiltValueNullFieldError.checkNotNull(href, r'NavigationEntry', 'href'); + BuiltValueNullFieldError.checkNotNull(icon, r'NavigationEntry', 'icon'); + BuiltValueNullFieldError.checkNotNull(type, r'NavigationEntry', 'type'); + BuiltValueNullFieldError.checkNotNull(name, r'NavigationEntry', 'name'); + BuiltValueNullFieldError.checkNotNull(active, r'NavigationEntry', 'active'); + BuiltValueNullFieldError.checkNotNull(classes, r'NavigationEntry', 'classes'); + BuiltValueNullFieldError.checkNotNull(unread, r'NavigationEntry', 'unread'); } @override - CollaborationResourcesSearchCollectionsResponseApplicationJson rebuild( - void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder) updates) => - (toBuilder()..update(updates)).build(); + NavigationEntry rebuild(void Function(NavigationEntryBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder()..replace(this); + NavigationEntryBuilder toBuilder() => NavigationEntryBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesSearchCollectionsResponseApplicationJson && ocs == other.ocs; + return other is NavigationEntry && + 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, ocs.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'CollaborationResourcesSearchCollectionsResponseApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'NavigationEntry') + ..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 CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder - implements - Builder, - CollaborationResourcesSearchCollectionsResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesSearchCollectionsResponseApplicationJson? _$v; +class NavigationEntryBuilder + implements Builder, NavigationEntryInterfaceBuilder { + _$NavigationEntry? _$v; - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder? ocs) => - _$this._ocs = ocs; + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; - CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder(); + NavigationEntry_OrderBuilder? _order; + NavigationEntry_OrderBuilder get order => _$this._order ??= NavigationEntry_OrderBuilder(); + set order(covariant NavigationEntry_OrderBuilder? order) => _$this._order = order; - CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder get _$this { + String? _href; + String? get href => _$this._href; + set href(covariant String? href) => _$this._href = href; + + String? _icon; + String? get icon => _$this._icon; + set icon(covariant String? icon) => _$this._icon = icon; + + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + bool? _active; + bool? get active => _$this._active; + set active(covariant bool? active) => _$this._active = active; + + String? _classes; + String? get classes => _$this._classes; + set classes(covariant String? classes) => _$this._classes = classes; + + int? _unread; + int? get unread => _$this._unread; + set unread(covariant int? unread) => _$this._unread = unread; + + NavigationEntryBuilder(); + + NavigationEntryBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _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(covariant CollaborationResourcesSearchCollectionsResponseApplicationJson other) { + void replace(covariant NavigationEntry other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesSearchCollectionsResponseApplicationJson; + _$v = other as _$NavigationEntry; } @override - void update(void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder)? updates) { + void update(void Function(NavigationEntryBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesSearchCollectionsResponseApplicationJson build() => _build(); + NavigationEntry build() => _build(); - _$CollaborationResourcesSearchCollectionsResponseApplicationJson _build() { - _$CollaborationResourcesSearchCollectionsResponseApplicationJson _$result; + _$NavigationEntry _build() { + _$NavigationEntry _$result; try { - _$result = _$v ?? _$CollaborationResourcesSearchCollectionsResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$NavigationEntry._( + id: BuiltValueNullFieldError.checkNotNull(id, r'NavigationEntry', 'id'), + order: order.build(), + href: BuiltValueNullFieldError.checkNotNull(href, r'NavigationEntry', 'href'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'NavigationEntry', 'icon'), + type: BuiltValueNullFieldError.checkNotNull(type, r'NavigationEntry', 'type'), + name: BuiltValueNullFieldError.checkNotNull(name, r'NavigationEntry', 'name'), + active: BuiltValueNullFieldError.checkNotNull(active, r'NavigationEntry', 'active'), + classes: BuiltValueNullFieldError.checkNotNull(classes, r'NavigationEntry', 'classes'), + unread: BuiltValueNullFieldError.checkNotNull(unread, r'NavigationEntry', 'unread')); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'order'; + order.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesSearchCollectionsResponseApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'NavigationEntry', _$failedField, e.toString()); } rethrow; } @@ -11567,50 +14674,45 @@ class CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder } } -abstract mixin class CollaborationResourcesListCollectionResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesListCollectionResponseApplicationJson_OcsInterface other); - void update(void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class NavigationGetAppsNavigationResponseApplicationJson_OcsInterfaceBuilder { + void replace(NavigationGetAppsNavigationResponseApplicationJson_OcsInterface other); + void update(void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsInterfaceBuilder) updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - CollectionBuilder get data; - set data(CollectionBuilder? data); + ListBuilder get data; + set data(ListBuilder? data); } -class _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs - extends CollaborationResourcesListCollectionResponseApplicationJson_Ocs { +class _$NavigationGetAppsNavigationResponseApplicationJson_Ocs + extends NavigationGetAppsNavigationResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final Collection data; - - factory _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder)? updates]) => - (CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder()..update(updates))._build(); + final BuiltList data; - _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs', 'data'); + factory _$NavigationGetAppsNavigationResponseApplicationJson_Ocs( + [void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder)? updates]) => + (NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$NavigationGetAppsNavigationResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'NavigationGetAppsNavigationResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'NavigationGetAppsNavigationResponseApplicationJson_Ocs', 'data'); } @override - CollaborationResourcesListCollectionResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder) updates) => + NavigationGetAppsNavigationResponseApplicationJson_Ocs rebuild( + void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder()..replace(this); + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder toBuilder() => + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesListCollectionResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is NavigationGetAppsNavigationResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @override @@ -11624,31 +14726,31 @@ class _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'NavigationGetAppsNavigationResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder +class NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder implements - Builder, - CollaborationResourcesListCollectionResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs? _$v; + Builder, + NavigationGetAppsNavigationResponseApplicationJson_OcsInterfaceBuilder { + _$NavigationGetAppsNavigationResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - CollectionBuilder? _data; - CollectionBuilder get data => _$this._data ??= CollectionBuilder(); - set data(covariant CollectionBuilder? data) => _$this._data = data; + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder(); + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder(); - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder get _$this { + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -11659,24 +14761,24 @@ class CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder } @override - void replace(covariant CollaborationResourcesListCollectionResponseApplicationJson_Ocs other) { + void replace(covariant NavigationGetAppsNavigationResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs; + _$v = other as _$NavigationGetAppsNavigationResponseApplicationJson_Ocs; } @override - void update(void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesListCollectionResponseApplicationJson_Ocs build() => _build(); + NavigationGetAppsNavigationResponseApplicationJson_Ocs build() => _build(); - _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs _$result; + _$NavigationGetAppsNavigationResponseApplicationJson_Ocs _build() { + _$NavigationGetAppsNavigationResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? - _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = + _$v ?? _$NavigationGetAppsNavigationResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -11686,7 +14788,7 @@ class CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'NavigationGetAppsNavigationResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -11695,39 +14797,38 @@ class CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder } } -abstract mixin class CollaborationResourcesListCollectionResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesListCollectionResponseApplicationJsonInterface other); - void update(void Function(CollaborationResourcesListCollectionResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class NavigationGetAppsNavigationResponseApplicationJsonInterfaceBuilder { + void replace(NavigationGetAppsNavigationResponseApplicationJsonInterface other); + void update(void Function(NavigationGetAppsNavigationResponseApplicationJsonInterfaceBuilder) updates); + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder get ocs; + set ocs(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder? ocs); } -class _$CollaborationResourcesListCollectionResponseApplicationJson - extends CollaborationResourcesListCollectionResponseApplicationJson { +class _$NavigationGetAppsNavigationResponseApplicationJson extends NavigationGetAppsNavigationResponseApplicationJson { @override - final CollaborationResourcesListCollectionResponseApplicationJson_Ocs ocs; + final NavigationGetAppsNavigationResponseApplicationJson_Ocs ocs; - factory _$CollaborationResourcesListCollectionResponseApplicationJson( - [void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesListCollectionResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$NavigationGetAppsNavigationResponseApplicationJson( + [void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder)? updates]) => + (NavigationGetAppsNavigationResponseApplicationJsonBuilder()..update(updates))._build(); - _$CollaborationResourcesListCollectionResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesListCollectionResponseApplicationJson', 'ocs'); + _$NavigationGetAppsNavigationResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'NavigationGetAppsNavigationResponseApplicationJson', 'ocs'); } @override - CollaborationResourcesListCollectionResponseApplicationJson rebuild( - void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder) updates) => + NavigationGetAppsNavigationResponseApplicationJson rebuild( + void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesListCollectionResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesListCollectionResponseApplicationJsonBuilder()..replace(this); + NavigationGetAppsNavigationResponseApplicationJsonBuilder toBuilder() => + NavigationGetAppsNavigationResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesListCollectionResponseApplicationJson && ocs == other.ocs; + return other is NavigationGetAppsNavigationResponseApplicationJson && ocs == other.ocs; } @override @@ -11740,27 +14841,26 @@ class _$CollaborationResourcesListCollectionResponseApplicationJson @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesListCollectionResponseApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'NavigationGetAppsNavigationResponseApplicationJson')..add('ocs', ocs)) .toString(); } } -class CollaborationResourcesListCollectionResponseApplicationJsonBuilder +class NavigationGetAppsNavigationResponseApplicationJsonBuilder implements - Builder, - CollaborationResourcesListCollectionResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesListCollectionResponseApplicationJson? _$v; + Builder, + NavigationGetAppsNavigationResponseApplicationJsonInterfaceBuilder { + _$NavigationGetAppsNavigationResponseApplicationJson? _$v; - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder? _ocs; + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder(); + set ocs(covariant NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CollaborationResourcesListCollectionResponseApplicationJsonBuilder(); + NavigationGetAppsNavigationResponseApplicationJsonBuilder(); - CollaborationResourcesListCollectionResponseApplicationJsonBuilder get _$this { + NavigationGetAppsNavigationResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -11770,23 +14870,23 @@ class CollaborationResourcesListCollectionResponseApplicationJsonBuilder } @override - void replace(covariant CollaborationResourcesListCollectionResponseApplicationJson other) { + void replace(covariant NavigationGetAppsNavigationResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesListCollectionResponseApplicationJson; + _$v = other as _$NavigationGetAppsNavigationResponseApplicationJson; } @override - void update(void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder)? updates) { + void update(void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesListCollectionResponseApplicationJson build() => _build(); + NavigationGetAppsNavigationResponseApplicationJson build() => _build(); - _$CollaborationResourcesListCollectionResponseApplicationJson _build() { - _$CollaborationResourcesListCollectionResponseApplicationJson _$result; + _$NavigationGetAppsNavigationResponseApplicationJson _build() { + _$NavigationGetAppsNavigationResponseApplicationJson _$result; try { - _$result = _$v ?? _$CollaborationResourcesListCollectionResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$NavigationGetAppsNavigationResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -11794,7 +14894,7 @@ class CollaborationResourcesListCollectionResponseApplicationJsonBuilder ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CollaborationResourcesListCollectionResponseApplicationJson', _$failedField, e.toString()); + r'NavigationGetAppsNavigationResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -11803,48 +14903,45 @@ class CollaborationResourcesListCollectionResponseApplicationJsonBuilder } } -abstract mixin class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterface other); - void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class NavigationGetSettingsNavigationResponseApplicationJson_OcsInterfaceBuilder { + void replace(NavigationGetSettingsNavigationResponseApplicationJson_OcsInterface other); + void update(void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsInterfaceBuilder) updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - CollectionBuilder get data; - set data(CollectionBuilder? data); + ListBuilder get data; + set data(ListBuilder? data); } -class _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs - extends CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs { +class _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs + extends NavigationGetSettingsNavigationResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final Collection data; + final BuiltList data; - factory _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder)? updates]) => - (CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs( + [void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder)? updates]) => + (NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs', 'data'); + _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs', 'data'); } @override - CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder) updates) => + NavigationGetSettingsNavigationResponseApplicationJson_Ocs rebuild( + void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder()..replace(this); + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder toBuilder() => + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs && + return other is NavigationGetSettingsNavigationResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @@ -11860,31 +14957,31 @@ class _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder +class NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder implements - Builder, - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs? _$v; + Builder, + NavigationGetSettingsNavigationResponseApplicationJson_OcsInterfaceBuilder { + _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - CollectionBuilder? _data; - CollectionBuilder get data => _$this._data ??= CollectionBuilder(); - set data(covariant CollectionBuilder? data) => _$this._data = data; + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder(); + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder(); - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder get _$this { + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -11895,24 +14992,24 @@ class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder } @override - void replace(covariant CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs other) { + void replace(covariant NavigationGetSettingsNavigationResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs; + _$v = other as _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs; } @override - void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs build() => _build(); + NavigationGetSettingsNavigationResponseApplicationJson_Ocs build() => _build(); - _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs _$result; + _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs _build() { + _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? - _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = + _$v ?? _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -11922,7 +15019,7 @@ class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -11931,39 +15028,39 @@ class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder } } -abstract mixin class CollaborationResourcesRenameCollectionResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesRenameCollectionResponseApplicationJsonInterface other); - void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class NavigationGetSettingsNavigationResponseApplicationJsonInterfaceBuilder { + void replace(NavigationGetSettingsNavigationResponseApplicationJsonInterface other); + void update(void Function(NavigationGetSettingsNavigationResponseApplicationJsonInterfaceBuilder) updates); + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder get ocs; + set ocs(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder? ocs); } -class _$CollaborationResourcesRenameCollectionResponseApplicationJson - extends CollaborationResourcesRenameCollectionResponseApplicationJson { +class _$NavigationGetSettingsNavigationResponseApplicationJson + extends NavigationGetSettingsNavigationResponseApplicationJson { @override - final CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs ocs; + final NavigationGetSettingsNavigationResponseApplicationJson_Ocs ocs; - factory _$CollaborationResourcesRenameCollectionResponseApplicationJson( - [void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$NavigationGetSettingsNavigationResponseApplicationJson( + [void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder)? updates]) => + (NavigationGetSettingsNavigationResponseApplicationJsonBuilder()..update(updates))._build(); - _$CollaborationResourcesRenameCollectionResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesRenameCollectionResponseApplicationJson', 'ocs'); + _$NavigationGetSettingsNavigationResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'NavigationGetSettingsNavigationResponseApplicationJson', 'ocs'); } @override - CollaborationResourcesRenameCollectionResponseApplicationJson rebuild( - void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder) updates) => + NavigationGetSettingsNavigationResponseApplicationJson rebuild( + void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder()..replace(this); + NavigationGetSettingsNavigationResponseApplicationJsonBuilder toBuilder() => + NavigationGetSettingsNavigationResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesRenameCollectionResponseApplicationJson && ocs == other.ocs; + return other is NavigationGetSettingsNavigationResponseApplicationJson && ocs == other.ocs; } @override @@ -11976,27 +15073,26 @@ class _$CollaborationResourcesRenameCollectionResponseApplicationJson @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesRenameCollectionResponseApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'NavigationGetSettingsNavigationResponseApplicationJson')..add('ocs', ocs)) .toString(); } } -class CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder +class NavigationGetSettingsNavigationResponseApplicationJsonBuilder implements - Builder, - CollaborationResourcesRenameCollectionResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesRenameCollectionResponseApplicationJson? _$v; + Builder, + NavigationGetSettingsNavigationResponseApplicationJsonInterfaceBuilder { + _$NavigationGetSettingsNavigationResponseApplicationJson? _$v; - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder? _ocs; + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder(); + set ocs(covariant NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder(); + NavigationGetSettingsNavigationResponseApplicationJsonBuilder(); - CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder get _$this { + NavigationGetSettingsNavigationResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -12006,23 +15102,23 @@ class CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder } @override - void replace(covariant CollaborationResourcesRenameCollectionResponseApplicationJson other) { + void replace(covariant NavigationGetSettingsNavigationResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesRenameCollectionResponseApplicationJson; + _$v = other as _$NavigationGetSettingsNavigationResponseApplicationJson; } @override - void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder)? updates) { + void update(void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesRenameCollectionResponseApplicationJson build() => _build(); + NavigationGetSettingsNavigationResponseApplicationJson build() => _build(); - _$CollaborationResourcesRenameCollectionResponseApplicationJson _build() { - _$CollaborationResourcesRenameCollectionResponseApplicationJson _$result; + _$NavigationGetSettingsNavigationResponseApplicationJson _build() { + _$NavigationGetSettingsNavigationResponseApplicationJson _$result; try { - _$result = _$v ?? _$CollaborationResourcesRenameCollectionResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$NavigationGetSettingsNavigationResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -12030,7 +15126,7 @@ class CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CollaborationResourcesRenameCollectionResponseApplicationJson', _$failedField, e.toString()); + r'NavigationGetSettingsNavigationResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -12039,361 +15135,329 @@ class CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder } } -abstract mixin class CollaborationResourcesAddResourceResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesAddResourceResponseApplicationJson_OcsInterface other); - void update(void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - CollectionBuilder get data; - set data(CollectionBuilder? data); +abstract mixin class OcmOcmDiscoveryHeadersInterfaceBuilder { + void replace(OcmOcmDiscoveryHeadersInterface other); + void update(void Function(OcmOcmDiscoveryHeadersInterfaceBuilder) updates); + bool? get xNextcloudOcmProviders; + set xNextcloudOcmProviders(bool? xNextcloudOcmProviders); } -class _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs - extends CollaborationResourcesAddResourceResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$OcmOcmDiscoveryHeaders extends OcmOcmDiscoveryHeaders { @override - final Collection data; + final bool? xNextcloudOcmProviders; - factory _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder)? updates]) => - (CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$OcmOcmDiscoveryHeaders([void Function(OcmOcmDiscoveryHeadersBuilder)? updates]) => + (OcmOcmDiscoveryHeadersBuilder()..update(updates))._build(); - _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs', 'data'); - } + _$OcmOcmDiscoveryHeaders._({this.xNextcloudOcmProviders}) : super._(); @override - CollaborationResourcesAddResourceResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder) updates) => + OcmOcmDiscoveryHeaders rebuild(void Function(OcmOcmDiscoveryHeadersBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder()..replace(this); + OcmOcmDiscoveryHeadersBuilder toBuilder() => OcmOcmDiscoveryHeadersBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesAddResourceResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is OcmOcmDiscoveryHeaders && xNextcloudOcmProviders == other.xNextcloudOcmProviders; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, xNextcloudOcmProviders.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'OcmOcmDiscoveryHeaders') + ..add('xNextcloudOcmProviders', xNextcloudOcmProviders)) .toString(); } } -class CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder - implements - Builder, - CollaborationResourcesAddResourceResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; +class OcmOcmDiscoveryHeadersBuilder + implements Builder, OcmOcmDiscoveryHeadersInterfaceBuilder { + _$OcmOcmDiscoveryHeaders? _$v; - CollectionBuilder? _data; - CollectionBuilder get data => _$this._data ??= CollectionBuilder(); - set data(covariant CollectionBuilder? data) => _$this._data = data; + bool? _xNextcloudOcmProviders; + bool? get xNextcloudOcmProviders => _$this._xNextcloudOcmProviders; + set xNextcloudOcmProviders(covariant bool? xNextcloudOcmProviders) => + _$this._xNextcloudOcmProviders = xNextcloudOcmProviders; - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder(); + OcmOcmDiscoveryHeadersBuilder(); - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder get _$this { + OcmOcmDiscoveryHeadersBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _xNextcloudOcmProviders = $v.xNextcloudOcmProviders; _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesAddResourceResponseApplicationJson_Ocs other) { + void replace(covariant OcmOcmDiscoveryHeaders other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs; + _$v = other as _$OcmOcmDiscoveryHeaders; } @override - void update(void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(OcmOcmDiscoveryHeadersBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesAddResourceResponseApplicationJson_Ocs build() => _build(); + OcmOcmDiscoveryHeaders build() => _build(); - _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$CollaborationResourcesAddResourceResponseApplicationJson_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'CollaborationResourcesAddResourceResponseApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$OcmOcmDiscoveryHeaders _build() { + final _$result = _$v ?? _$OcmOcmDiscoveryHeaders._(xNextcloudOcmProviders: xNextcloudOcmProviders); replace(_$result); return _$result; } } -abstract mixin class CollaborationResourcesAddResourceResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesAddResourceResponseApplicationJsonInterface other); - void update(void Function(CollaborationResourcesAddResourceResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterfaceBuilder { + void replace(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterface other); + void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterfaceBuilder) updates); + String? get webdav; + set webdav(String? webdav); } -class _$CollaborationResourcesAddResourceResponseApplicationJson - extends CollaborationResourcesAddResourceResponseApplicationJson { +class _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols + extends OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols { @override - final CollaborationResourcesAddResourceResponseApplicationJson_Ocs ocs; + final String webdav; - factory _$CollaborationResourcesAddResourceResponseApplicationJson( - [void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesAddResourceResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols( + [void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder)? updates]) => + (OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder()..update(updates))._build(); - _$CollaborationResourcesAddResourceResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesAddResourceResponseApplicationJson', 'ocs'); + _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols._({required this.webdav}) : super._() { + BuiltValueNullFieldError.checkNotNull( + webdav, r'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols', 'webdav'); } @override - CollaborationResourcesAddResourceResponseApplicationJson rebuild( - void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder) updates) => + OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols rebuild( + void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesAddResourceResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesAddResourceResponseApplicationJsonBuilder()..replace(this); + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder toBuilder() => + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesAddResourceResponseApplicationJson && ocs == other.ocs; + return other is OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols && webdav == other.webdav; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, webdav.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesAddResourceResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols') + ..add('webdav', webdav)) .toString(); } } -class CollaborationResourcesAddResourceResponseApplicationJsonBuilder +class OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder implements - Builder, - CollaborationResourcesAddResourceResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesAddResourceResponseApplicationJson? _$v; + Builder, + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterfaceBuilder { + _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols? _$v; - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + String? _webdav; + String? get webdav => _$this._webdav; + set webdav(covariant String? webdav) => _$this._webdav = webdav; - CollaborationResourcesAddResourceResponseApplicationJsonBuilder(); + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder(); - CollaborationResourcesAddResourceResponseApplicationJsonBuilder get _$this { + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _webdav = $v.webdav; _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesAddResourceResponseApplicationJson other) { + void replace(covariant OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesAddResourceResponseApplicationJson; + _$v = other as _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols; } @override - void update(void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder)? updates) { + void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesAddResourceResponseApplicationJson build() => _build(); + OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols build() => _build(); - _$CollaborationResourcesAddResourceResponseApplicationJson _build() { - _$CollaborationResourcesAddResourceResponseApplicationJson _$result; - try { - _$result = _$v ?? _$CollaborationResourcesAddResourceResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesAddResourceResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols _build() { + final _$result = _$v ?? + _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols._( + webdav: BuiltValueNullFieldError.checkNotNull( + webdav, r'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols', 'webdav')); replace(_$result); return _$result; } } -abstract mixin class CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterface other); - void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class OcmDiscoveryResponseApplicationJson_ResourceTypesInterfaceBuilder { + void replace(OcmDiscoveryResponseApplicationJson_ResourceTypesInterface other); + void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesInterfaceBuilder) updates); + String? get name; + set name(String? name); - CollectionBuilder get data; - set data(CollectionBuilder? data); -} + ListBuilder get shareTypes; + set shareTypes(ListBuilder? shareTypes); -class _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs - extends CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs { + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder get protocols; + set protocols(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder? protocols); +} + +class _$OcmDiscoveryResponseApplicationJson_ResourceTypes extends OcmDiscoveryResponseApplicationJson_ResourceTypes { @override - final OCSMeta meta; + final String name; @override - final Collection data; + final BuiltList shareTypes; + @override + final OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols protocols; - factory _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder)? updates]) => - (CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$OcmDiscoveryResponseApplicationJson_ResourceTypes( + [void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder)? updates]) => + (OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder()..update(updates))._build(); - _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs._({required this.meta, required this.data}) + _$OcmDiscoveryResponseApplicationJson_ResourceTypes._( + {required this.name, required this.shareTypes, required this.protocols}) : super._() { + BuiltValueNullFieldError.checkNotNull(name, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'name'); BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs', 'data'); + shareTypes, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'shareTypes'); + BuiltValueNullFieldError.checkNotNull(protocols, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'protocols'); } @override - CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder) updates) => + OcmDiscoveryResponseApplicationJson_ResourceTypes rebuild( + void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder()..replace(this); + OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder toBuilder() => + OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is OcmDiscoveryResponseApplicationJson_ResourceTypes && + name == other.name && + shareTypes == other.shareTypes && + protocols == other.protocols; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, shareTypes.hashCode); + _$hash = $jc(_$hash, protocols.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'OcmDiscoveryResponseApplicationJson_ResourceTypes') + ..add('name', name) + ..add('shareTypes', shareTypes) + ..add('protocols', protocols)) .toString(); } } -class CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder +class OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder implements - Builder, - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs? _$v; + Builder, + OcmDiscoveryResponseApplicationJson_ResourceTypesInterfaceBuilder { + _$OcmDiscoveryResponseApplicationJson_ResourceTypes? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; - CollectionBuilder? _data; - CollectionBuilder get data => _$this._data ??= CollectionBuilder(); - set data(covariant CollectionBuilder? data) => _$this._data = data; + ListBuilder? _shareTypes; + ListBuilder get shareTypes => _$this._shareTypes ??= ListBuilder(); + set shareTypes(covariant ListBuilder? shareTypes) => _$this._shareTypes = shareTypes; - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder(); + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder? _protocols; + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder get protocols => + _$this._protocols ??= OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder(); + set protocols(covariant OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder? protocols) => + _$this._protocols = protocols; - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder get _$this { + OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder(); + + OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _name = $v.name; + _shareTypes = $v.shareTypes.toBuilder(); + _protocols = $v.protocols.toBuilder(); _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs other) { + void replace(covariant OcmDiscoveryResponseApplicationJson_ResourceTypes other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs; + _$v = other as _$OcmDiscoveryResponseApplicationJson_ResourceTypes; } @override - void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs build() => _build(); + OcmDiscoveryResponseApplicationJson_ResourceTypes build() => _build(); - _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs _$result; + _$OcmDiscoveryResponseApplicationJson_ResourceTypes _build() { + _$OcmDiscoveryResponseApplicationJson_ResourceTypes _$result; try { _$result = _$v ?? - _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$OcmDiscoveryResponseApplicationJson_ResourceTypes._( + name: BuiltValueNullFieldError.checkNotNull( + name, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'name'), + shareTypes: shareTypes.build(), + protocols: protocols.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'shareTypes'; + shareTypes.build(); + _$failedField = 'protocols'; + protocols.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'OcmDiscoveryResponseApplicationJson_ResourceTypes', _$failedField, e.toString()); } rethrow; } @@ -12402,106 +15466,154 @@ class CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder } } -abstract mixin class CollaborationResourcesRemoveResourceResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesRemoveResourceResponseApplicationJsonInterface other); - void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class OcmDiscoveryResponseApplicationJsonInterfaceBuilder { + void replace(OcmDiscoveryResponseApplicationJsonInterface other); + void update(void Function(OcmDiscoveryResponseApplicationJsonInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); + + String? get apiVersion; + set apiVersion(String? apiVersion); + + String? get endPoint; + set endPoint(String? endPoint); + + ListBuilder get resourceTypes; + set resourceTypes(ListBuilder? resourceTypes); } -class _$CollaborationResourcesRemoveResourceResponseApplicationJson - extends CollaborationResourcesRemoveResourceResponseApplicationJson { +class _$OcmDiscoveryResponseApplicationJson extends OcmDiscoveryResponseApplicationJson { @override - final CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs ocs; + final bool enabled; + @override + final String apiVersion; + @override + final String endPoint; + @override + final BuiltList resourceTypes; - factory _$CollaborationResourcesRemoveResourceResponseApplicationJson( - [void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$OcmDiscoveryResponseApplicationJson([void Function(OcmDiscoveryResponseApplicationJsonBuilder)? updates]) => + (OcmDiscoveryResponseApplicationJsonBuilder()..update(updates))._build(); - _$CollaborationResourcesRemoveResourceResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesRemoveResourceResponseApplicationJson', 'ocs'); + _$OcmDiscoveryResponseApplicationJson._( + {required this.enabled, required this.apiVersion, required this.endPoint, required this.resourceTypes}) + : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'OcmDiscoveryResponseApplicationJson', 'enabled'); + BuiltValueNullFieldError.checkNotNull(apiVersion, r'OcmDiscoveryResponseApplicationJson', 'apiVersion'); + BuiltValueNullFieldError.checkNotNull(endPoint, r'OcmDiscoveryResponseApplicationJson', 'endPoint'); + BuiltValueNullFieldError.checkNotNull(resourceTypes, r'OcmDiscoveryResponseApplicationJson', 'resourceTypes'); } @override - CollaborationResourcesRemoveResourceResponseApplicationJson rebuild( - void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder) updates) => + OcmDiscoveryResponseApplicationJson rebuild(void Function(OcmDiscoveryResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder()..replace(this); + OcmDiscoveryResponseApplicationJsonBuilder toBuilder() => OcmDiscoveryResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesRemoveResourceResponseApplicationJson && ocs == other.ocs; + return other is OcmDiscoveryResponseApplicationJson && + enabled == other.enabled && + apiVersion == other.apiVersion && + endPoint == other.endPoint && + resourceTypes == other.resourceTypes; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, apiVersion.hashCode); + _$hash = $jc(_$hash, endPoint.hashCode); + _$hash = $jc(_$hash, resourceTypes.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesRemoveResourceResponseApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'OcmDiscoveryResponseApplicationJson') + ..add('enabled', enabled) + ..add('apiVersion', apiVersion) + ..add('endPoint', endPoint) + ..add('resourceTypes', resourceTypes)) .toString(); } } -class CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder +class OcmDiscoveryResponseApplicationJsonBuilder implements - Builder, - CollaborationResourcesRemoveResourceResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesRemoveResourceResponseApplicationJson? _$v; + Builder, + OcmDiscoveryResponseApplicationJsonInterfaceBuilder { + _$OcmDiscoveryResponseApplicationJson? _$v; - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder(); + String? _apiVersion; + String? get apiVersion => _$this._apiVersion; + set apiVersion(covariant String? apiVersion) => _$this._apiVersion = apiVersion; - CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder get _$this { + String? _endPoint; + String? get endPoint => _$this._endPoint; + set endPoint(covariant String? endPoint) => _$this._endPoint = endPoint; + + ListBuilder? _resourceTypes; + ListBuilder get resourceTypes => + _$this._resourceTypes ??= ListBuilder(); + set resourceTypes(covariant ListBuilder? resourceTypes) => + _$this._resourceTypes = resourceTypes; + + OcmDiscoveryResponseApplicationJsonBuilder(); + + OcmDiscoveryResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _enabled = $v.enabled; + _apiVersion = $v.apiVersion; + _endPoint = $v.endPoint; + _resourceTypes = $v.resourceTypes.toBuilder(); _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesRemoveResourceResponseApplicationJson other) { + void replace(covariant OcmDiscoveryResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesRemoveResourceResponseApplicationJson; + _$v = other as _$OcmDiscoveryResponseApplicationJson; } @override - void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder)? updates) { + void update(void Function(OcmDiscoveryResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesRemoveResourceResponseApplicationJson build() => _build(); + OcmDiscoveryResponseApplicationJson build() => _build(); - _$CollaborationResourcesRemoveResourceResponseApplicationJson _build() { - _$CollaborationResourcesRemoveResourceResponseApplicationJson _$result; + _$OcmDiscoveryResponseApplicationJson _build() { + _$OcmDiscoveryResponseApplicationJson _$result; try { - _$result = _$v ?? _$CollaborationResourcesRemoveResourceResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$OcmDiscoveryResponseApplicationJson._( + enabled: + BuiltValueNullFieldError.checkNotNull(enabled, r'OcmDiscoveryResponseApplicationJson', 'enabled'), + apiVersion: BuiltValueNullFieldError.checkNotNull( + apiVersion, r'OcmDiscoveryResponseApplicationJson', 'apiVersion'), + endPoint: + BuiltValueNullFieldError.checkNotNull(endPoint, r'OcmDiscoveryResponseApplicationJson', 'endPoint'), + resourceTypes: resourceTypes.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'resourceTypes'; + resourceTypes.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesRemoveResourceResponseApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'OcmDiscoveryResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -12510,375 +15622,375 @@ class CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder } } -abstract mixin class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterface other); - void update( - void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterfaceBuilder { + void replace(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterface other); + void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterfaceBuilder) updates); + int? get major; + set major(int? major); + + int? get minor; + set minor(int? minor); - ListBuilder get data; - set data(ListBuilder? data); + int? get micro; + set micro(int? micro); + + String? get string; + set string(String? string); + + String? get edition; + set edition(String? edition); + + bool? get extendedSupport; + set extendedSupport(bool? extendedSupport); } -class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs - extends CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs { +class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version + extends OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version { @override - final OCSMeta meta; + final int major; @override - final BuiltList data; + final int minor; + @override + final int micro; + @override + final String string; + @override + final String edition; + @override + final bool extendedSupport; - factory _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder)? updates]) => - (CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version( + [void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder)? updates]) => + (OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder()..update(updates))._build(); - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs._( - {required this.meta, required this.data}) + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version._( + {required this.major, + required this.minor, + required this.micro, + required this.string, + required this.edition, + required this.extendedSupport}) : super._() { BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs', 'meta'); + major, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'major'); BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs', 'data'); + minor, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'minor'); + BuiltValueNullFieldError.checkNotNull( + micro, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'micro'); + BuiltValueNullFieldError.checkNotNull( + string, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'string'); + BuiltValueNullFieldError.checkNotNull( + edition, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'edition'); + BuiltValueNullFieldError.checkNotNull( + extendedSupport, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'extendedSupport'); } @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder) updates) => + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version rebuild( + void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder()..replace(this); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder toBuilder() => + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is OcsGetCapabilitiesResponseApplicationJson_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, meta.hashCode); - _$hash = $jc(_$hash, data.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'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version') + ..add('major', major) + ..add('minor', minor) + ..add('micro', micro) + ..add('string', string) + ..add('edition', edition) + ..add('extendedSupport', extendedSupport)) .toString(); } } -class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder +class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder implements - Builder, - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs? _$v; + Builder, + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterfaceBuilder { + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + int? _major; + int? get major => _$this._major; + set major(covariant int? major) => _$this._major = major; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(covariant ListBuilder? data) => _$this._data = data; + int? _minor; + int? get minor => _$this._minor; + set minor(covariant int? minor) => _$this._minor = minor; - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder(); + int? _micro; + int? get micro => _$this._micro; + set micro(covariant int? micro) => _$this._micro = micro; - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder get _$this { + String? _string; + String? get string => _$this._string; + set string(covariant String? string) => _$this._string = string; + + String? _edition; + String? get edition => _$this._edition; + set edition(covariant String? edition) => _$this._edition = edition; + + bool? _extendedSupport; + bool? get extendedSupport => _$this._extendedSupport; + set extendedSupport(covariant bool? extendedSupport) => _$this._extendedSupport = extendedSupport; + + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder(); + + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _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(covariant CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs other) { + void replace(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs; + _$v = other as _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version; } @override - void update( - void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs build() => _build(); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version build() => _build(); - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_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'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version _build() { + final _$result = _$v ?? + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version._( + major: BuiltValueNullFieldError.checkNotNull( + major, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'major'), + minor: BuiltValueNullFieldError.checkNotNull( + minor, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'minor'), + micro: BuiltValueNullFieldError.checkNotNull( + micro, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'micro'), + string: BuiltValueNullFieldError.checkNotNull( + string, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'string'), + edition: BuiltValueNullFieldError.checkNotNull( + edition, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'edition'), + extendedSupport: BuiltValueNullFieldError.checkNotNull( + extendedSupport, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'extendedSupport')); replace(_$result); return _$result; } } -abstract mixin class CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterface other); - void update( - void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class CommentsCapabilities_FilesInterfaceBuilder { + void replace(CommentsCapabilities_FilesInterface other); + void update(void Function(CommentsCapabilities_FilesInterfaceBuilder) updates); + bool? get comments; + set comments(bool? comments); } -class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson - extends CollaborationResourcesGetCollectionsByResourceResponseApplicationJson { +class _$CommentsCapabilities_Files extends CommentsCapabilities_Files { @override - final CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs ocs; + final bool comments; - factory _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson( - [void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$CommentsCapabilities_Files([void Function(CommentsCapabilities_FilesBuilder)? updates]) => + (CommentsCapabilities_FilesBuilder()..update(updates))._build(); - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull( - ocs, r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson', 'ocs'); + _$CommentsCapabilities_Files._({required this.comments}) : super._() { + BuiltValueNullFieldError.checkNotNull(comments, r'CommentsCapabilities_Files', 'comments'); } @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson rebuild( - void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder) updates) => + CommentsCapabilities_Files rebuild(void Function(CommentsCapabilities_FilesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder()..replace(this); + CommentsCapabilities_FilesBuilder toBuilder() => CommentsCapabilities_FilesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesGetCollectionsByResourceResponseApplicationJson && ocs == other.ocs; + return other is CommentsCapabilities_Files && comments == other.comments; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, comments.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson') - ..add('ocs', ocs)) - .toString(); + return (newBuiltValueToStringHelper(r'CommentsCapabilities_Files')..add('comments', comments)).toString(); } } -class CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder +class CommentsCapabilities_FilesBuilder implements - Builder, - CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson? _$v; + Builder, + CommentsCapabilities_FilesInterfaceBuilder { + _$CommentsCapabilities_Files? _$v; - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder? ocs) => - _$this._ocs = ocs; + bool? _comments; + bool? get comments => _$this._comments; + set comments(covariant bool? comments) => _$this._comments = comments; - CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder(); + CommentsCapabilities_FilesBuilder(); - CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder get _$this { + CommentsCapabilities_FilesBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _comments = $v.comments; _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesGetCollectionsByResourceResponseApplicationJson other) { + void replace(covariant CommentsCapabilities_Files other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson; + _$v = other as _$CommentsCapabilities_Files; } @override - void update(void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder)? updates) { + void update(void Function(CommentsCapabilities_FilesBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson build() => _build(); + CommentsCapabilities_Files build() => _build(); - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson _build() { - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson _$result; - try { - _$result = _$v ?? _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$CommentsCapabilities_Files _build() { + final _$result = _$v ?? + _$CommentsCapabilities_Files._( + comments: BuiltValueNullFieldError.checkNotNull(comments, r'CommentsCapabilities_Files', 'comments')); replace(_$result); return _$result; } } -abstract mixin class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterface other); - void update( - void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterfaceBuilder) - updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - CollectionBuilder get data; - set data(CollectionBuilder? data); +abstract mixin class CommentsCapabilitiesInterfaceBuilder { + void replace(CommentsCapabilitiesInterface other); + void update(void Function(CommentsCapabilitiesInterfaceBuilder) updates); + CommentsCapabilities_FilesBuilder get files; + set files(CommentsCapabilities_FilesBuilder? files); } -class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs - extends CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$CommentsCapabilities extends CommentsCapabilities { @override - final Collection data; + final CommentsCapabilities_Files files; - factory _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder)? - updates]) => - (CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CommentsCapabilities([void Function(CommentsCapabilitiesBuilder)? updates]) => + (CommentsCapabilitiesBuilder()..update(updates))._build(); - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs._( - {required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs', 'data'); + _$CommentsCapabilities._({required this.files}) : super._() { + BuiltValueNullFieldError.checkNotNull(files, r'CommentsCapabilities', 'files'); } @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder) updates) => + CommentsCapabilities rebuild(void Function(CommentsCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder()..replace(this); + CommentsCapabilitiesBuilder toBuilder() => CommentsCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CommentsCapabilities && files == other.files; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, files.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) - .toString(); + return (newBuiltValueToStringHelper(r'CommentsCapabilities')..add('files', files)).toString(); } } -class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder - implements - Builder, - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; +class CommentsCapabilitiesBuilder + implements Builder, CommentsCapabilitiesInterfaceBuilder { + _$CommentsCapabilities? _$v; - CollectionBuilder? _data; - CollectionBuilder get data => _$this._data ??= CollectionBuilder(); - set data(covariant CollectionBuilder? data) => _$this._data = data; + CommentsCapabilities_FilesBuilder? _files; + CommentsCapabilities_FilesBuilder get files => _$this._files ??= CommentsCapabilities_FilesBuilder(); + set files(covariant CommentsCapabilities_FilesBuilder? files) => _$this._files = files; - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder(); + CommentsCapabilitiesBuilder(); - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder get _$this { + CommentsCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _files = $v.files.toBuilder(); _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs other) { + void replace(covariant CommentsCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs; + _$v = other as _$CommentsCapabilities; } @override - void update( - void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(CommentsCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs build() => _build(); + CommentsCapabilities build() => _build(); - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs _$result; + _$CommentsCapabilities _build() { + _$CommentsCapabilities _$result; try { - _$result = _$v ?? - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs._( - meta: meta.build(), data: data.build()); + _$result = _$v ?? _$CommentsCapabilities._(files: files.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'files'; + files.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs', - _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'CommentsCapabilities', _$failedField, e.toString()); } rethrow; } @@ -12887,507 +15999,464 @@ class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Oc } } -abstract mixin class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterface other); - void update( - void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class DavCapabilities_DavInterfaceBuilder { + void replace(DavCapabilities_DavInterface other); + void update(void Function(DavCapabilities_DavInterfaceBuilder) updates); + String? get chunking; + set chunking(String? chunking); + + String? get bulkupload; + set bulkupload(String? bulkupload); } -class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson - extends CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson { +class _$DavCapabilities_Dav extends DavCapabilities_Dav { @override - final CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs ocs; + final String chunking; + @override + final String? bulkupload; - factory _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson( - [void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$DavCapabilities_Dav([void Function(DavCapabilities_DavBuilder)? updates]) => + (DavCapabilities_DavBuilder()..update(updates))._build(); - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull( - ocs, r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson', 'ocs'); + _$DavCapabilities_Dav._({required this.chunking, this.bulkupload}) : super._() { + BuiltValueNullFieldError.checkNotNull(chunking, r'DavCapabilities_Dav', 'chunking'); } @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson rebuild( - void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder) updates) => + DavCapabilities_Dav rebuild(void Function(DavCapabilities_DavBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder()..replace(this); + DavCapabilities_DavBuilder toBuilder() => DavCapabilities_DavBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson && ocs == other.ocs; + return other is DavCapabilities_Dav && chunking == other.chunking && bulkupload == other.bulkupload; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, chunking.hashCode); + _$hash = $jc(_$hash, bulkupload.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'DavCapabilities_Dav') + ..add('chunking', chunking) + ..add('bulkupload', bulkupload)) .toString(); } } -class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder - implements - Builder, - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson? _$v; +class DavCapabilities_DavBuilder + implements Builder, DavCapabilities_DavInterfaceBuilder { + _$DavCapabilities_Dav? _$v; - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder? ocs) => - _$this._ocs = ocs; + String? _chunking; + String? get chunking => _$this._chunking; + set chunking(covariant String? chunking) => _$this._chunking = chunking; - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder(); + String? _bulkupload; + String? get bulkupload => _$this._bulkupload; + set bulkupload(covariant String? bulkupload) => _$this._bulkupload = bulkupload; - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder get _$this { + DavCapabilities_DavBuilder(); + + DavCapabilities_DavBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _chunking = $v.chunking; + _bulkupload = $v.bulkupload; _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson other) { + void replace(covariant DavCapabilities_Dav other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson; + _$v = other as _$DavCapabilities_Dav; } @override - void update(void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder)? updates) { + void update(void Function(DavCapabilities_DavBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson build() => _build(); + DavCapabilities_Dav build() => _build(); - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson _build() { - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson _$result; - try { - _$result = _$v ?? _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$DavCapabilities_Dav _build() { + final _$result = _$v ?? + _$DavCapabilities_Dav._( + chunking: BuiltValueNullFieldError.checkNotNull(chunking, r'DavCapabilities_Dav', 'chunking'), + bulkupload: bulkupload); replace(_$result); return _$result; } } -abstract mixin class ContactsActionInterfaceBuilder { - void replace(ContactsActionInterface other); - void update(void Function(ContactsActionInterfaceBuilder) updates); - String? get title; - set title(String? title); - - String? get icon; - set icon(String? icon); - - String? get hyperlink; - set hyperlink(String? hyperlink); - - String? get appId; - set appId(String? appId); +abstract mixin class DavCapabilitiesInterfaceBuilder { + void replace(DavCapabilitiesInterface other); + void update(void Function(DavCapabilitiesInterfaceBuilder) updates); + DavCapabilities_DavBuilder get dav; + set dav(DavCapabilities_DavBuilder? dav); } -class _$ContactsAction extends ContactsAction { - @override - final String title; - @override - final String icon; - @override - final String hyperlink; +class _$DavCapabilities extends DavCapabilities { @override - final String appId; + final DavCapabilities_Dav dav; - factory _$ContactsAction([void Function(ContactsActionBuilder)? updates]) => - (ContactsActionBuilder()..update(updates))._build(); + factory _$DavCapabilities([void Function(DavCapabilitiesBuilder)? updates]) => + (DavCapabilitiesBuilder()..update(updates))._build(); - _$ContactsAction._({required this.title, required this.icon, required this.hyperlink, required this.appId}) - : super._() { - BuiltValueNullFieldError.checkNotNull(title, r'ContactsAction', 'title'); - BuiltValueNullFieldError.checkNotNull(icon, r'ContactsAction', 'icon'); - BuiltValueNullFieldError.checkNotNull(hyperlink, r'ContactsAction', 'hyperlink'); - BuiltValueNullFieldError.checkNotNull(appId, r'ContactsAction', 'appId'); + _$DavCapabilities._({required this.dav}) : super._() { + BuiltValueNullFieldError.checkNotNull(dav, r'DavCapabilities', 'dav'); } @override - ContactsAction rebuild(void Function(ContactsActionBuilder) updates) => (toBuilder()..update(updates)).build(); + DavCapabilities rebuild(void Function(DavCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ContactsActionBuilder toBuilder() => ContactsActionBuilder()..replace(this); + DavCapabilitiesBuilder toBuilder() => DavCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ContactsAction && - title == other.title && - icon == other.icon && - hyperlink == other.hyperlink && - appId == other.appId; + return other is DavCapabilities && dav == other.dav; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, title.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, hyperlink.hashCode); - _$hash = $jc(_$hash, appId.hashCode); + _$hash = $jc(_$hash, dav.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ContactsAction') - ..add('title', title) - ..add('icon', icon) - ..add('hyperlink', hyperlink) - ..add('appId', appId)) - .toString(); + return (newBuiltValueToStringHelper(r'DavCapabilities')..add('dav', dav)).toString(); } } -class ContactsActionBuilder implements Builder, ContactsActionInterfaceBuilder { - _$ContactsAction? _$v; - - String? _title; - String? get title => _$this._title; - set title(covariant String? title) => _$this._title = title; - - String? _icon; - String? get icon => _$this._icon; - set icon(covariant String? icon) => _$this._icon = icon; - - String? _hyperlink; - String? get hyperlink => _$this._hyperlink; - set hyperlink(covariant String? hyperlink) => _$this._hyperlink = hyperlink; +class DavCapabilitiesBuilder + implements Builder, DavCapabilitiesInterfaceBuilder { + _$DavCapabilities? _$v; - String? _appId; - String? get appId => _$this._appId; - set appId(covariant String? appId) => _$this._appId = appId; + DavCapabilities_DavBuilder? _dav; + DavCapabilities_DavBuilder get dav => _$this._dav ??= DavCapabilities_DavBuilder(); + set dav(covariant DavCapabilities_DavBuilder? dav) => _$this._dav = dav; - ContactsActionBuilder(); + DavCapabilitiesBuilder(); - ContactsActionBuilder get _$this { + DavCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _title = $v.title; - _icon = $v.icon; - _hyperlink = $v.hyperlink; - _appId = $v.appId; + _dav = $v.dav.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ContactsAction other) { + void replace(covariant DavCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ContactsAction; + _$v = other as _$DavCapabilities; } @override - void update(void Function(ContactsActionBuilder)? updates) { + void update(void Function(DavCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - ContactsAction build() => _build(); + DavCapabilities build() => _build(); - _$ContactsAction _build() { - final _$result = _$v ?? - _$ContactsAction._( - title: BuiltValueNullFieldError.checkNotNull(title, r'ContactsAction', 'title'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'ContactsAction', 'icon'), - hyperlink: BuiltValueNullFieldError.checkNotNull(hyperlink, r'ContactsAction', 'hyperlink'), - appId: BuiltValueNullFieldError.checkNotNull(appId, r'ContactsAction', 'appId')); + _$DavCapabilities _build() { + _$DavCapabilities _$result; + try { + _$result = _$v ?? _$DavCapabilities._(dav: dav.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'dav'; + dav.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'DavCapabilities', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class HoverCardGetUserResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(HoverCardGetUserResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - String? get userId; - set userId(String? userId); +abstract mixin class FilesCapabilities_Files_DirectEditingInterfaceBuilder { + void replace(FilesCapabilities_Files_DirectEditingInterface other); + void update(void Function(FilesCapabilities_Files_DirectEditingInterfaceBuilder) updates); + String? get url; + set url(String? url); - String? get displayName; - set displayName(String? displayName); + String? get etag; + set etag(String? etag); - ListBuilder get actions; - set actions(ListBuilder? actions); + bool? get supportsFileId; + set supportsFileId(bool? supportsFileId); } -class _$HoverCardGetUserResponseApplicationJson_Ocs_Data extends HoverCardGetUserResponseApplicationJson_Ocs_Data { +class _$FilesCapabilities_Files_DirectEditing extends FilesCapabilities_Files_DirectEditing { @override - final String userId; + final String url; @override - final String displayName; + final String etag; @override - final BuiltList actions; + final bool supportsFileId; - factory _$HoverCardGetUserResponseApplicationJson_Ocs_Data( - [void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$FilesCapabilities_Files_DirectEditing( + [void Function(FilesCapabilities_Files_DirectEditingBuilder)? updates]) => + (FilesCapabilities_Files_DirectEditingBuilder()..update(updates))._build(); - _$HoverCardGetUserResponseApplicationJson_Ocs_Data._( - {required this.userId, required this.displayName, required this.actions}) + _$FilesCapabilities_Files_DirectEditing._({required this.url, required this.etag, required this.supportsFileId}) : super._() { - BuiltValueNullFieldError.checkNotNull(userId, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'userId'); - BuiltValueNullFieldError.checkNotNull( - displayName, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'displayName'); - BuiltValueNullFieldError.checkNotNull(actions, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'actions'); + BuiltValueNullFieldError.checkNotNull(url, r'FilesCapabilities_Files_DirectEditing', 'url'); + BuiltValueNullFieldError.checkNotNull(etag, r'FilesCapabilities_Files_DirectEditing', 'etag'); + BuiltValueNullFieldError.checkNotNull(supportsFileId, r'FilesCapabilities_Files_DirectEditing', 'supportsFileId'); } @override - HoverCardGetUserResponseApplicationJson_Ocs_Data rebuild( - void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder) updates) => + FilesCapabilities_Files_DirectEditing rebuild(void Function(FilesCapabilities_Files_DirectEditingBuilder) updates) => (toBuilder()..update(updates)).build(); @override - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder toBuilder() => - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder()..replace(this); + FilesCapabilities_Files_DirectEditingBuilder toBuilder() => + FilesCapabilities_Files_DirectEditingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is HoverCardGetUserResponseApplicationJson_Ocs_Data && - userId == other.userId && - displayName == other.displayName && - actions == other.actions; + return other is FilesCapabilities_Files_DirectEditing && + url == other.url && + etag == other.etag && + supportsFileId == other.supportsFileId; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, userId.hashCode); - _$hash = $jc(_$hash, displayName.hashCode); - _$hash = $jc(_$hash, actions.hashCode); + _$hash = $jc(_$hash, url.hashCode); + _$hash = $jc(_$hash, etag.hashCode); + _$hash = $jc(_$hash, supportsFileId.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'HoverCardGetUserResponseApplicationJson_Ocs_Data') - ..add('userId', userId) - ..add('displayName', displayName) - ..add('actions', actions)) + return (newBuiltValueToStringHelper(r'FilesCapabilities_Files_DirectEditing') + ..add('url', url) + ..add('etag', etag) + ..add('supportsFileId', supportsFileId)) .toString(); } } -class HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder +class FilesCapabilities_Files_DirectEditingBuilder implements - Builder, - HoverCardGetUserResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$HoverCardGetUserResponseApplicationJson_Ocs_Data? _$v; + Builder, + FilesCapabilities_Files_DirectEditingInterfaceBuilder { + _$FilesCapabilities_Files_DirectEditing? _$v; - String? _userId; - String? get userId => _$this._userId; - set userId(covariant String? userId) => _$this._userId = userId; + String? _url; + String? get url => _$this._url; + set url(covariant String? url) => _$this._url = url; - String? _displayName; - String? get displayName => _$this._displayName; - set displayName(covariant String? displayName) => _$this._displayName = displayName; + String? _etag; + String? get etag => _$this._etag; + set etag(covariant String? etag) => _$this._etag = etag; - ListBuilder? _actions; - ListBuilder get actions => _$this._actions ??= ListBuilder(); - set actions(covariant ListBuilder? actions) => _$this._actions = actions; + bool? _supportsFileId; + bool? get supportsFileId => _$this._supportsFileId; + set supportsFileId(covariant bool? supportsFileId) => _$this._supportsFileId = supportsFileId; - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder(); + FilesCapabilities_Files_DirectEditingBuilder(); - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder get _$this { + FilesCapabilities_Files_DirectEditingBuilder get _$this { final $v = _$v; if ($v != null) { - _userId = $v.userId; - _displayName = $v.displayName; - _actions = $v.actions.toBuilder(); + _url = $v.url; + _etag = $v.etag; + _supportsFileId = $v.supportsFileId; _$v = null; } return this; } @override - void replace(covariant HoverCardGetUserResponseApplicationJson_Ocs_Data other) { + void replace(covariant FilesCapabilities_Files_DirectEditing other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$HoverCardGetUserResponseApplicationJson_Ocs_Data; + _$v = other as _$FilesCapabilities_Files_DirectEditing; } @override - void update(void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(FilesCapabilities_Files_DirectEditingBuilder)? updates) { if (updates != null) updates(this); } @override - HoverCardGetUserResponseApplicationJson_Ocs_Data build() => _build(); + FilesCapabilities_Files_DirectEditing build() => _build(); - _$HoverCardGetUserResponseApplicationJson_Ocs_Data _build() { - _$HoverCardGetUserResponseApplicationJson_Ocs_Data _$result; - try { - _$result = _$v ?? - _$HoverCardGetUserResponseApplicationJson_Ocs_Data._( - userId: BuiltValueNullFieldError.checkNotNull( - userId, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'userId'), - displayName: BuiltValueNullFieldError.checkNotNull( - displayName, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'displayName'), - actions: actions.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'actions'; - actions.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'HoverCardGetUserResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); - } - rethrow; - } + _$FilesCapabilities_Files_DirectEditing _build() { + final _$result = _$v ?? + _$FilesCapabilities_Files_DirectEditing._( + url: BuiltValueNullFieldError.checkNotNull(url, r'FilesCapabilities_Files_DirectEditing', 'url'), + etag: BuiltValueNullFieldError.checkNotNull(etag, r'FilesCapabilities_Files_DirectEditing', 'etag'), + supportsFileId: BuiltValueNullFieldError.checkNotNull( + supportsFileId, r'FilesCapabilities_Files_DirectEditing', 'supportsFileId')); replace(_$result); return _$result; } } -abstract mixin class HoverCardGetUserResponseApplicationJson_OcsInterfaceBuilder { - void replace(HoverCardGetUserResponseApplicationJson_OcsInterface other); - void update(void Function(HoverCardGetUserResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class FilesCapabilities_FilesInterfaceBuilder { + void replace(FilesCapabilities_FilesInterface other); + void update(void Function(FilesCapabilities_FilesInterfaceBuilder) updates); + bool? get bigfilechunking; + set bigfilechunking(bool? bigfilechunking); + + ListBuilder get blacklistedFiles; + set blacklistedFiles(ListBuilder? blacklistedFiles); - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder get data; - set data(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder? data); + FilesCapabilities_Files_DirectEditingBuilder get directEditing; + set directEditing(FilesCapabilities_Files_DirectEditingBuilder? directEditing); } -class _$HoverCardGetUserResponseApplicationJson_Ocs extends HoverCardGetUserResponseApplicationJson_Ocs { +class _$FilesCapabilities_Files extends FilesCapabilities_Files { @override - final OCSMeta meta; + final bool bigfilechunking; @override - final HoverCardGetUserResponseApplicationJson_Ocs_Data data; + final BuiltList blacklistedFiles; + @override + final FilesCapabilities_Files_DirectEditing directEditing; - factory _$HoverCardGetUserResponseApplicationJson_Ocs( - [void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder)? updates]) => - (HoverCardGetUserResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$FilesCapabilities_Files([void Function(FilesCapabilities_FilesBuilder)? updates]) => + (FilesCapabilities_FilesBuilder()..update(updates))._build(); - _$HoverCardGetUserResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'HoverCardGetUserResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'HoverCardGetUserResponseApplicationJson_Ocs', 'data'); + _$FilesCapabilities_Files._( + {required this.bigfilechunking, required this.blacklistedFiles, required this.directEditing}) + : super._() { + BuiltValueNullFieldError.checkNotNull(bigfilechunking, r'FilesCapabilities_Files', 'bigfilechunking'); + BuiltValueNullFieldError.checkNotNull(blacklistedFiles, r'FilesCapabilities_Files', 'blacklistedFiles'); + BuiltValueNullFieldError.checkNotNull(directEditing, r'FilesCapabilities_Files', 'directEditing'); } @override - HoverCardGetUserResponseApplicationJson_Ocs rebuild( - void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder) updates) => + FilesCapabilities_Files rebuild(void Function(FilesCapabilities_FilesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - HoverCardGetUserResponseApplicationJson_OcsBuilder toBuilder() => - HoverCardGetUserResponseApplicationJson_OcsBuilder()..replace(this); + FilesCapabilities_FilesBuilder toBuilder() => FilesCapabilities_FilesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is HoverCardGetUserResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is FilesCapabilities_Files && + bigfilechunking == other.bigfilechunking && + blacklistedFiles == other.blacklistedFiles && + directEditing == other.directEditing; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, bigfilechunking.hashCode); + _$hash = $jc(_$hash, blacklistedFiles.hashCode); + _$hash = $jc(_$hash, directEditing.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'HoverCardGetUserResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'FilesCapabilities_Files') + ..add('bigfilechunking', bigfilechunking) + ..add('blacklistedFiles', blacklistedFiles) + ..add('directEditing', directEditing)) .toString(); } } -class HoverCardGetUserResponseApplicationJson_OcsBuilder +class FilesCapabilities_FilesBuilder implements - Builder, - HoverCardGetUserResponseApplicationJson_OcsInterfaceBuilder { - _$HoverCardGetUserResponseApplicationJson_Ocs? _$v; + Builder, + FilesCapabilities_FilesInterfaceBuilder { + _$FilesCapabilities_Files? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + bool? _bigfilechunking; + bool? get bigfilechunking => _$this._bigfilechunking; + set bigfilechunking(covariant bool? bigfilechunking) => _$this._bigfilechunking = bigfilechunking; - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder? _data; - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + ListBuilder? _blacklistedFiles; + ListBuilder get blacklistedFiles => _$this._blacklistedFiles ??= ListBuilder(); + set blacklistedFiles(covariant ListBuilder? blacklistedFiles) => + _$this._blacklistedFiles = blacklistedFiles; - HoverCardGetUserResponseApplicationJson_OcsBuilder(); + FilesCapabilities_Files_DirectEditingBuilder? _directEditing; + FilesCapabilities_Files_DirectEditingBuilder get directEditing => + _$this._directEditing ??= FilesCapabilities_Files_DirectEditingBuilder(); + set directEditing(covariant FilesCapabilities_Files_DirectEditingBuilder? directEditing) => + _$this._directEditing = directEditing; - HoverCardGetUserResponseApplicationJson_OcsBuilder get _$this { + FilesCapabilities_FilesBuilder(); + + FilesCapabilities_FilesBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _bigfilechunking = $v.bigfilechunking; + _blacklistedFiles = $v.blacklistedFiles.toBuilder(); + _directEditing = $v.directEditing.toBuilder(); _$v = null; } return this; } @override - void replace(covariant HoverCardGetUserResponseApplicationJson_Ocs other) { + void replace(covariant FilesCapabilities_Files other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$HoverCardGetUserResponseApplicationJson_Ocs; + _$v = other as _$FilesCapabilities_Files; } @override - void update(void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(FilesCapabilities_FilesBuilder)? updates) { if (updates != null) updates(this); } @override - HoverCardGetUserResponseApplicationJson_Ocs build() => _build(); + FilesCapabilities_Files build() => _build(); - _$HoverCardGetUserResponseApplicationJson_Ocs _build() { - _$HoverCardGetUserResponseApplicationJson_Ocs _$result; + _$FilesCapabilities_Files _build() { + _$FilesCapabilities_Files _$result; try { - _$result = _$v ?? _$HoverCardGetUserResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + _$FilesCapabilities_Files._( + bigfilechunking: + BuiltValueNullFieldError.checkNotNull(bigfilechunking, r'FilesCapabilities_Files', 'bigfilechunking'), + blacklistedFiles: blacklistedFiles.build(), + directEditing: directEditing.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'blacklistedFiles'; + blacklistedFiles.build(); + _$failedField = 'directEditing'; + directEditing.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'HoverCardGetUserResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'FilesCapabilities_Files', _$failedField, e.toString()); } rethrow; } @@ -13396,101 +16465,94 @@ class HoverCardGetUserResponseApplicationJson_OcsBuilder } } -abstract mixin class HoverCardGetUserResponseApplicationJsonInterfaceBuilder { - void replace(HoverCardGetUserResponseApplicationJsonInterface other); - void update(void Function(HoverCardGetUserResponseApplicationJsonInterfaceBuilder) updates); - HoverCardGetUserResponseApplicationJson_OcsBuilder get ocs; - set ocs(HoverCardGetUserResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class FilesCapabilitiesInterfaceBuilder { + void replace(FilesCapabilitiesInterface other); + void update(void Function(FilesCapabilitiesInterfaceBuilder) updates); + FilesCapabilities_FilesBuilder get files; + set files(FilesCapabilities_FilesBuilder? files); } -class _$HoverCardGetUserResponseApplicationJson extends HoverCardGetUserResponseApplicationJson { +class _$FilesCapabilities extends FilesCapabilities { @override - final HoverCardGetUserResponseApplicationJson_Ocs ocs; + final FilesCapabilities_Files files; - factory _$HoverCardGetUserResponseApplicationJson( - [void Function(HoverCardGetUserResponseApplicationJsonBuilder)? updates]) => - (HoverCardGetUserResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$FilesCapabilities([void Function(FilesCapabilitiesBuilder)? updates]) => + (FilesCapabilitiesBuilder()..update(updates))._build(); - _$HoverCardGetUserResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'HoverCardGetUserResponseApplicationJson', 'ocs'); + _$FilesCapabilities._({required this.files}) : super._() { + BuiltValueNullFieldError.checkNotNull(files, r'FilesCapabilities', 'files'); } @override - HoverCardGetUserResponseApplicationJson rebuild( - void Function(HoverCardGetUserResponseApplicationJsonBuilder) updates) => - (toBuilder()..update(updates)).build(); + FilesCapabilities rebuild(void Function(FilesCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - HoverCardGetUserResponseApplicationJsonBuilder toBuilder() => - HoverCardGetUserResponseApplicationJsonBuilder()..replace(this); + FilesCapabilitiesBuilder toBuilder() => FilesCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is HoverCardGetUserResponseApplicationJson && ocs == other.ocs; + return other is FilesCapabilities && files == other.files; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, files.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'HoverCardGetUserResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'FilesCapabilities')..add('files', files)).toString(); } } -class HoverCardGetUserResponseApplicationJsonBuilder - implements - Builder, - HoverCardGetUserResponseApplicationJsonInterfaceBuilder { - _$HoverCardGetUserResponseApplicationJson? _$v; +class FilesCapabilitiesBuilder + implements Builder, FilesCapabilitiesInterfaceBuilder { + _$FilesCapabilities? _$v; - HoverCardGetUserResponseApplicationJson_OcsBuilder? _ocs; - HoverCardGetUserResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= HoverCardGetUserResponseApplicationJson_OcsBuilder(); - set ocs(covariant HoverCardGetUserResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + FilesCapabilities_FilesBuilder? _files; + FilesCapabilities_FilesBuilder get files => _$this._files ??= FilesCapabilities_FilesBuilder(); + set files(covariant FilesCapabilities_FilesBuilder? files) => _$this._files = files; - HoverCardGetUserResponseApplicationJsonBuilder(); + FilesCapabilitiesBuilder(); - HoverCardGetUserResponseApplicationJsonBuilder get _$this { + FilesCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _files = $v.files.toBuilder(); _$v = null; } return this; } @override - void replace(covariant HoverCardGetUserResponseApplicationJson other) { + void replace(covariant FilesCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$HoverCardGetUserResponseApplicationJson; + _$v = other as _$FilesCapabilities; } @override - void update(void Function(HoverCardGetUserResponseApplicationJsonBuilder)? updates) { + void update(void Function(FilesCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - HoverCardGetUserResponseApplicationJson build() => _build(); + FilesCapabilities build() => _build(); - _$HoverCardGetUserResponseApplicationJson _build() { - _$HoverCardGetUserResponseApplicationJson _$result; + _$FilesCapabilities _build() { + _$FilesCapabilities _$result; try { - _$result = _$v ?? _$HoverCardGetUserResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$FilesCapabilities._(files: files.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'files'; + files.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'HoverCardGetUserResponseApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'FilesCapabilities', _$failedField, e.toString()); } rethrow; } @@ -13499,696 +16561,748 @@ class HoverCardGetUserResponseApplicationJsonBuilder } } -abstract mixin class NavigationEntry_OrderInterfaceBuilder { - void replace(NavigationEntry_OrderInterface other); - void update(void Function(NavigationEntry_OrderInterfaceBuilder) updates); - int? get $int; - set $int(int? $int); +abstract mixin class FilesSharingCapabilities_FilesSharing_Public_PasswordInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_Public_PasswordInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordInterfaceBuilder) updates); + bool? get enforced; + set enforced(bool? enforced); - String? get string; - set string(String? string); + bool? get askForOptionalPassword; + set askForOptionalPassword(bool? askForOptionalPassword); } -class _$NavigationEntry_Order extends NavigationEntry_Order { - @override - final JsonObject data; +class _$FilesSharingCapabilities_FilesSharing_Public_Password + extends FilesSharingCapabilities_FilesSharing_Public_Password { @override - final int? $int; + final bool enforced; @override - final String? string; + final bool askForOptionalPassword; - factory _$NavigationEntry_Order([void Function(NavigationEntry_OrderBuilder)? updates]) => - (NavigationEntry_OrderBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Public_Password( + [void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder()..update(updates))._build(); - _$NavigationEntry_Order._({required this.data, this.$int, this.string}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'NavigationEntry_Order', 'data'); + _$FilesSharingCapabilities_FilesSharing_Public_Password._( + {required this.enforced, required this.askForOptionalPassword}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enforced, r'FilesSharingCapabilities_FilesSharing_Public_Password', 'enforced'); + BuiltValueNullFieldError.checkNotNull( + askForOptionalPassword, r'FilesSharingCapabilities_FilesSharing_Public_Password', 'askForOptionalPassword'); } @override - NavigationEntry_Order rebuild(void Function(NavigationEntry_OrderBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Public_Password rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder) updates) => (toBuilder()..update(updates)).build(); @override - NavigationEntry_OrderBuilder toBuilder() => NavigationEntry_OrderBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NavigationEntry_Order && data == other.data && $int == other.$int && string == other.string; + return other is FilesSharingCapabilities_FilesSharing_Public_Password && + enforced == other.enforced && + askForOptionalPassword == other.askForOptionalPassword; } @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, enforced.hashCode); + _$hash = $jc(_$hash, askForOptionalPassword.hashCode); _$hash = $jf(_$hash); return _$hash; } @override - String toString() { - return (newBuiltValueToStringHelper(r'NavigationEntry_Order') - ..add('data', data) - ..add('\$int', $int) - ..add('string', string)) + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_Password') + ..add('enforced', enforced) + ..add('askForOptionalPassword', askForOptionalPassword)) .toString(); } } -class NavigationEntry_OrderBuilder - implements Builder, NavigationEntry_OrderInterfaceBuilder { - _$NavigationEntry_Order? _$v; - - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(covariant JsonObject? data) => _$this._data = data; +class FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder + implements + Builder, + FilesSharingCapabilities_FilesSharing_Public_PasswordInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Public_Password? _$v; - int? _$int; - int? get $int => _$this._$int; - set $int(covariant int? $int) => _$this._$int = $int; + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(covariant bool? enforced) => _$this._enforced = enforced; - String? _string; - String? get string => _$this._string; - set string(covariant String? string) => _$this._string = string; + bool? _askForOptionalPassword; + bool? get askForOptionalPassword => _$this._askForOptionalPassword; + set askForOptionalPassword(covariant bool? askForOptionalPassword) => + _$this._askForOptionalPassword = askForOptionalPassword; - NavigationEntry_OrderBuilder(); + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); - NavigationEntry_OrderBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _$int = $v.$int; - _string = $v.string; + _enforced = $v.enforced; + _askForOptionalPassword = $v.askForOptionalPassword; _$v = null; } return this; } @override - void replace(covariant NavigationEntry_Order other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Public_Password other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NavigationEntry_Order; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_Password; } @override - void update(void Function(NavigationEntry_OrderBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? updates) { if (updates != null) updates(this); } @override - NavigationEntry_Order build() => _build(); + FilesSharingCapabilities_FilesSharing_Public_Password build() => _build(); - _$NavigationEntry_Order _build() { - NavigationEntry_Order._validate(this); + _$FilesSharingCapabilities_FilesSharing_Public_Password _build() { final _$result = _$v ?? - _$NavigationEntry_Order._( - data: BuiltValueNullFieldError.checkNotNull(data, r'NavigationEntry_Order', 'data'), - $int: $int, - string: string); + _$FilesSharingCapabilities_FilesSharing_Public_Password._( + enforced: BuiltValueNullFieldError.checkNotNull( + enforced, r'FilesSharingCapabilities_FilesSharing_Public_Password', 'enforced'), + askForOptionalPassword: BuiltValueNullFieldError.checkNotNull(askForOptionalPassword, + r'FilesSharingCapabilities_FilesSharing_Public_Password', 'askForOptionalPassword')); replace(_$result); return _$result; } } -abstract mixin class NavigationEntryInterfaceBuilder { - void replace(NavigationEntryInterface other); - void update(void Function(NavigationEntryInterfaceBuilder) updates); - String? get id; - set id(String? id); - - NavigationEntry_OrderBuilder get order; - set order(NavigationEntry_OrderBuilder? order); - - String? get href; - set href(String? href); - - String? get icon; - set icon(String? icon); - - String? get type; - set type(String? type); - - String? get name; - set name(String? name); - - bool? get active; - set active(bool? active); +abstract mixin class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); - String? get classes; - set classes(String? classes); + int? get days; + set days(int? days); - int? get unread; - set unread(int? unread); + bool? get enforced; + set enforced(bool? enforced); } -class _$NavigationEntry extends NavigationEntry { - @override - final String id; - @override - final NavigationEntry_Order order; - @override - final String href; - @override - final String icon; - @override - final String type; - @override - final String name; +class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate + extends FilesSharingCapabilities_FilesSharing_Public_ExpireDate { @override - final bool active; + final bool enabled; @override - final String classes; + final int? days; @override - final int unread; + final bool? enforced; - factory _$NavigationEntry([void Function(NavigationEntryBuilder)? updates]) => - (NavigationEntryBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate( + [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder()..update(updates))._build(); - _$NavigationEntry._( - {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}) + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate._({required this.enabled, this.days, this.enforced}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'NavigationEntry', 'id'); - BuiltValueNullFieldError.checkNotNull(order, r'NavigationEntry', 'order'); - BuiltValueNullFieldError.checkNotNull(href, r'NavigationEntry', 'href'); - BuiltValueNullFieldError.checkNotNull(icon, r'NavigationEntry', 'icon'); - BuiltValueNullFieldError.checkNotNull(type, r'NavigationEntry', 'type'); - BuiltValueNullFieldError.checkNotNull(name, r'NavigationEntry', 'name'); - BuiltValueNullFieldError.checkNotNull(active, r'NavigationEntry', 'active'); - BuiltValueNullFieldError.checkNotNull(classes, r'NavigationEntry', 'classes'); - BuiltValueNullFieldError.checkNotNull(unread, r'NavigationEntry', 'unread'); + BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate', 'enabled'); } @override - NavigationEntry rebuild(void Function(NavigationEntryBuilder) updates) => (toBuilder()..update(updates)).build(); + FilesSharingCapabilities_FilesSharing_Public_ExpireDate rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - NavigationEntryBuilder toBuilder() => NavigationEntryBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NavigationEntry && - 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 FilesSharingCapabilities_FilesSharing_Public_ExpireDate && + enabled == other.enabled && + days == other.days && + enforced == other.enforced; } @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, enabled.hashCode); + _$hash = $jc(_$hash, days.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NavigationEntry') - ..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'FilesSharingCapabilities_FilesSharing_Public_ExpireDate') + ..add('enabled', enabled) + ..add('days', days) + ..add('enforced', enforced)) .toString(); } } -class NavigationEntryBuilder - implements Builder, NavigationEntryInterfaceBuilder { - _$NavigationEntry? _$v; - - String? _id; - String? get id => _$this._id; - set id(covariant String? id) => _$this._id = id; - - NavigationEntry_OrderBuilder? _order; - NavigationEntry_OrderBuilder get order => _$this._order ??= NavigationEntry_OrderBuilder(); - set order(covariant NavigationEntry_OrderBuilder? order) => _$this._order = order; - - String? _href; - String? get href => _$this._href; - set href(covariant String? href) => _$this._href = href; - - String? _icon; - String? get icon => _$this._icon; - set icon(covariant String? icon) => _$this._icon = icon; - - String? _type; - String? get type => _$this._type; - set type(covariant String? type) => _$this._type = type; - - String? _name; - String? get name => _$this._name; - set name(covariant String? name) => _$this._name = name; - - bool? _active; - bool? get active => _$this._active; - set active(covariant bool? active) => _$this._active = active; +class FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder + implements + Builder, + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate? _$v; - String? _classes; - String? get classes => _$this._classes; - set classes(covariant String? classes) => _$this._classes = classes; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - int? _unread; - int? get unread => _$this._unread; - set unread(covariant int? unread) => _$this._unread = unread; + int? _days; + int? get days => _$this._days; + set days(covariant int? days) => _$this._days = days; - NavigationEntryBuilder(); + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(covariant bool? enforced) => _$this._enforced = enforced; - NavigationEntryBuilder 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; + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _enabled = $v.enabled; + _days = $v.days; + _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(covariant NavigationEntry other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NavigationEntry; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate; } @override - void update(void Function(NavigationEntryBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? updates) { if (updates != null) updates(this); } @override - NavigationEntry build() => _build(); + FilesSharingCapabilities_FilesSharing_Public_ExpireDate build() => _build(); - _$NavigationEntry _build() { - _$NavigationEntry _$result; - try { - _$result = _$v ?? - _$NavigationEntry._( - id: BuiltValueNullFieldError.checkNotNull(id, r'NavigationEntry', 'id'), - order: order.build(), - href: BuiltValueNullFieldError.checkNotNull(href, r'NavigationEntry', 'href'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'NavigationEntry', 'icon'), - type: BuiltValueNullFieldError.checkNotNull(type, r'NavigationEntry', 'type'), - name: BuiltValueNullFieldError.checkNotNull(name, r'NavigationEntry', 'name'), - active: BuiltValueNullFieldError.checkNotNull(active, r'NavigationEntry', 'active'), - classes: BuiltValueNullFieldError.checkNotNull(classes, r'NavigationEntry', 'classes'), - unread: BuiltValueNullFieldError.checkNotNull(unread, r'NavigationEntry', 'unread')); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'order'; - order.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'NavigationEntry', _$failedField, e.toString()); - } - rethrow; - } + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate _build() { + final _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate', 'enabled'), + days: days, + enforced: enforced); replace(_$result); return _$result; } } -abstract mixin class NavigationGetAppsNavigationResponseApplicationJson_OcsInterfaceBuilder { - void replace(NavigationGetAppsNavigationResponseApplicationJson_OcsInterface other); - void update(void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); - ListBuilder get data; - set data(ListBuilder? data); + int? get days; + set days(int? days); + + bool? get enforced; + set enforced(bool? enforced); } -class _$NavigationGetAppsNavigationResponseApplicationJson_Ocs - extends NavigationGetAppsNavigationResponseApplicationJson_Ocs { +class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal + extends FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal { @override - final OCSMeta meta; + final bool enabled; @override - final BuiltList data; + final int? days; + @override + final bool? enforced; - factory _$NavigationGetAppsNavigationResponseApplicationJson_Ocs( - [void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder)? updates]) => - (NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal( + [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder()..update(updates))._build(); - _$NavigationGetAppsNavigationResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'NavigationGetAppsNavigationResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'NavigationGetAppsNavigationResponseApplicationJson_Ocs', 'data'); + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._({required this.enabled, this.days, this.enforced}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal', 'enabled'); } @override - NavigationGetAppsNavigationResponseApplicationJson_Ocs rebuild( - void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder) updates) => (toBuilder()..update(updates)).build(); @override - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder toBuilder() => - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NavigationGetAppsNavigationResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal && + enabled == other.enabled && + days == other.days && + enforced == other.enforced; } @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, days.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NavigationGetAppsNavigationResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal') + ..add('enabled', enabled) + ..add('days', days) + ..add('enforced', enforced)) .toString(); } } -class NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder +class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder implements - Builder, - NavigationGetAppsNavigationResponseApplicationJson_OcsInterfaceBuilder { - _$NavigationGetAppsNavigationResponseApplicationJson_Ocs? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(covariant ListBuilder? data) => _$this._data = data; + int? _days; + int? get days => _$this._days; + set days(covariant int? days) => _$this._days = days; - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder(); + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(covariant bool? enforced) => _$this._enforced = enforced; - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _enabled = $v.enabled; + _days = $v.days; + _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(covariant NavigationGetAppsNavigationResponseApplicationJson_Ocs other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NavigationGetAppsNavigationResponseApplicationJson_Ocs; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal; } @override - void update(void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? updates) { if (updates != null) updates(this); } @override - NavigationGetAppsNavigationResponseApplicationJson_Ocs build() => _build(); + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal build() => _build(); - _$NavigationGetAppsNavigationResponseApplicationJson_Ocs _build() { - _$NavigationGetAppsNavigationResponseApplicationJson_Ocs _$result; - try { - _$result = - _$v ?? _$NavigationGetAppsNavigationResponseApplicationJson_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'NavigationGetAppsNavigationResponseApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal _build() { + final _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal', 'enabled'), + days: days, + enforced: enforced); replace(_$result); return _$result; } } -abstract mixin class NavigationGetAppsNavigationResponseApplicationJsonInterfaceBuilder { - void replace(NavigationGetAppsNavigationResponseApplicationJsonInterface other); - void update(void Function(NavigationGetAppsNavigationResponseApplicationJsonInterfaceBuilder) updates); - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder get ocs; - set ocs(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); + + int? get days; + set days(int? days); + + bool? get enforced; + set enforced(bool? enforced); } -class _$NavigationGetAppsNavigationResponseApplicationJson extends NavigationGetAppsNavigationResponseApplicationJson { +class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote + extends FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote { @override - final NavigationGetAppsNavigationResponseApplicationJson_Ocs ocs; + final bool enabled; + @override + final int? days; + @override + final bool? enforced; - factory _$NavigationGetAppsNavigationResponseApplicationJson( - [void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder)? updates]) => - (NavigationGetAppsNavigationResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote( + [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder()..update(updates))._build(); - _$NavigationGetAppsNavigationResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'NavigationGetAppsNavigationResponseApplicationJson', 'ocs'); + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._({required this.enabled, this.days, this.enforced}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote', 'enabled'); } @override - NavigationGetAppsNavigationResponseApplicationJson rebuild( - void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder) updates) => (toBuilder()..update(updates)).build(); @override - NavigationGetAppsNavigationResponseApplicationJsonBuilder toBuilder() => - NavigationGetAppsNavigationResponseApplicationJsonBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NavigationGetAppsNavigationResponseApplicationJson && ocs == other.ocs; + return other is FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote && + enabled == other.enabled && + days == other.days && + enforced == other.enforced; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, days.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NavigationGetAppsNavigationResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote') + ..add('enabled', enabled) + ..add('days', days) + ..add('enforced', enforced)) .toString(); } } -class NavigationGetAppsNavigationResponseApplicationJsonBuilder +class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder implements - Builder, - NavigationGetAppsNavigationResponseApplicationJsonInterfaceBuilder { - _$NavigationGetAppsNavigationResponseApplicationJson? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? _$v; + + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; + + int? _days; + int? get days => _$this._days; + set days(covariant int? days) => _$this._days = days; - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder? _ocs; - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder(); - set ocs(covariant NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(covariant bool? enforced) => _$this._enforced = enforced; - NavigationGetAppsNavigationResponseApplicationJsonBuilder(); + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); - NavigationGetAppsNavigationResponseApplicationJsonBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _enabled = $v.enabled; + _days = $v.days; + _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(covariant NavigationGetAppsNavigationResponseApplicationJson other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NavigationGetAppsNavigationResponseApplicationJson; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote; } @override - void update(void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? updates) { if (updates != null) updates(this); } @override - NavigationGetAppsNavigationResponseApplicationJson build() => _build(); + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote build() => _build(); - _$NavigationGetAppsNavigationResponseApplicationJson _build() { - _$NavigationGetAppsNavigationResponseApplicationJson _$result; - try { - _$result = _$v ?? _$NavigationGetAppsNavigationResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'NavigationGetAppsNavigationResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote _build() { + final _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote', 'enabled'), + days: days, + enforced: enforced); replace(_$result); return _$result; } } -abstract mixin class NavigationGetSettingsNavigationResponseApplicationJson_OcsInterfaceBuilder { - void replace(NavigationGetSettingsNavigationResponseApplicationJson_OcsInterface other); - void update(void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class FilesSharingCapabilities_FilesSharing_PublicInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_PublicInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_PublicInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); - ListBuilder get data; - set data(ListBuilder? data); + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get password; + set password(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? password); + + bool? get multipleLinks; + set multipleLinks(bool? multipleLinks); + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get expireDate; + set expireDate(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? expireDate); + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder get expireDateInternal; + set expireDateInternal(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? expireDateInternal); + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder get expireDateRemote; + set expireDateRemote(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? expireDateRemote); + + bool? get sendMail; + set sendMail(bool? sendMail); + + bool? get upload; + set upload(bool? upload); + + bool? get uploadFilesDrop; + set uploadFilesDrop(bool? uploadFilesDrop); } -class _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs - extends NavigationGetSettingsNavigationResponseApplicationJson_Ocs { +class _$FilesSharingCapabilities_FilesSharing_Public extends FilesSharingCapabilities_FilesSharing_Public { @override - final OCSMeta meta; + final bool enabled; @override - final BuiltList data; + final FilesSharingCapabilities_FilesSharing_Public_Password? password; + @override + final bool? multipleLinks; + @override + final FilesSharingCapabilities_FilesSharing_Public_ExpireDate? expireDate; + @override + final FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? expireDateInternal; + @override + final FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? expireDateRemote; + @override + final bool? sendMail; + @override + final bool? upload; + @override + final bool? uploadFilesDrop; - factory _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs( - [void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder)? updates]) => - (NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Public( + [void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_PublicBuilder()..update(updates))._build(); - _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs', 'data'); + _$FilesSharingCapabilities_FilesSharing_Public._( + {required this.enabled, + this.password, + this.multipleLinks, + this.expireDate, + this.expireDateInternal, + this.expireDateRemote, + this.sendMail, + this.upload, + this.uploadFilesDrop}) + : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'FilesSharingCapabilities_FilesSharing_Public', 'enabled'); } @override - NavigationGetSettingsNavigationResponseApplicationJson_Ocs rebuild( - void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Public rebuild( + void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder) updates) => (toBuilder()..update(updates)).build(); @override - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder toBuilder() => - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_PublicBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_PublicBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NavigationGetSettingsNavigationResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is FilesSharingCapabilities_FilesSharing_Public && + enabled == other.enabled && + password == other.password && + multipleLinks == other.multipleLinks && + expireDate == other.expireDate && + expireDateInternal == other.expireDateInternal && + expireDateRemote == other.expireDateRemote && + sendMail == other.sendMail && + upload == other.upload && + uploadFilesDrop == other.uploadFilesDrop; } @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, password.hashCode); + _$hash = $jc(_$hash, multipleLinks.hashCode); + _$hash = $jc(_$hash, expireDate.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 = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public') + ..add('enabled', enabled) + ..add('password', password) + ..add('multipleLinks', multipleLinks) + ..add('expireDate', expireDate) + ..add('expireDateInternal', expireDateInternal) + ..add('expireDateRemote', expireDateRemote) + ..add('sendMail', sendMail) + ..add('upload', upload) + ..add('uploadFilesDrop', uploadFilesDrop)) .toString(); } } -class NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder +class FilesSharingCapabilities_FilesSharing_PublicBuilder implements - Builder, - NavigationGetSettingsNavigationResponseApplicationJson_OcsInterfaceBuilder { - _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_PublicInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Public? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(covariant ListBuilder? data) => _$this._data = data; + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? _password; + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get password => + _$this._password ??= FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); + set password(covariant FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? password) => + _$this._password = password; - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder(); + bool? _multipleLinks; + bool? get multipleLinks => _$this._multipleLinks; + set multipleLinks(covariant bool? multipleLinks) => _$this._multipleLinks = multipleLinks; - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? _expireDate; + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get expireDate => + _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); + set expireDate(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? expireDate) => + _$this._expireDate = expireDate; + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? _expireDateInternal; + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder get expireDateInternal => + _$this._expireDateInternal ??= FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); + set expireDateInternal( + covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? expireDateInternal) => + _$this._expireDateInternal = expireDateInternal; + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? _expireDateRemote; + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder get expireDateRemote => + _$this._expireDateRemote ??= FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); + set expireDateRemote( + covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? expireDateRemote) => + _$this._expireDateRemote = expireDateRemote; + + bool? _sendMail; + bool? get sendMail => _$this._sendMail; + set sendMail(covariant bool? sendMail) => _$this._sendMail = sendMail; + + bool? _upload; + bool? get upload => _$this._upload; + set upload(covariant bool? upload) => _$this._upload = upload; + + bool? _uploadFilesDrop; + bool? get uploadFilesDrop => _$this._uploadFilesDrop; + set uploadFilesDrop(covariant bool? uploadFilesDrop) => _$this._uploadFilesDrop = uploadFilesDrop; + + FilesSharingCapabilities_FilesSharing_PublicBuilder(); + + FilesSharingCapabilities_FilesSharing_PublicBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _enabled = $v.enabled; + _password = $v.password?.toBuilder(); + _multipleLinks = $v.multipleLinks; + _expireDate = $v.expireDate?.toBuilder(); + _expireDateInternal = $v.expireDateInternal?.toBuilder(); + _expireDateRemote = $v.expireDateRemote?.toBuilder(); + _sendMail = $v.sendMail; + _upload = $v.upload; + _uploadFilesDrop = $v.uploadFilesDrop; _$v = null; } return this; } @override - void replace(covariant NavigationGetSettingsNavigationResponseApplicationJson_Ocs other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Public other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Public; } @override - void update(void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? updates) { if (updates != null) updates(this); } @override - NavigationGetSettingsNavigationResponseApplicationJson_Ocs build() => _build(); + FilesSharingCapabilities_FilesSharing_Public build() => _build(); - _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs _build() { - _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs _$result; - try { - _$result = - _$v ?? _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$FilesSharingCapabilities_FilesSharing_Public _build() { + _$FilesSharingCapabilities_FilesSharing_Public _$result; + try { + _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Public._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public', 'enabled'), + password: _password?.build(), + multipleLinks: multipleLinks, + expireDate: _expireDate?.build(), + expireDateInternal: _expireDateInternal?.build(), + expireDateRemote: _expireDateRemote?.build(), + sendMail: sendMail, + upload: upload, + uploadFilesDrop: uploadFilesDrop); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'password'; + _password?.build(); + + _$failedField = 'expireDate'; + _expireDate?.build(); + _$failedField = 'expireDateInternal'; + _expireDateInternal?.build(); + _$failedField = 'expireDateRemote'; + _expireDateRemote?.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing_Public', _$failedField, e.toString()); } rethrow; } @@ -14197,436 +17311,441 @@ class NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder } } -abstract mixin class NavigationGetSettingsNavigationResponseApplicationJsonInterfaceBuilder { - void replace(NavigationGetSettingsNavigationResponseApplicationJsonInterface other); - void update(void Function(NavigationGetSettingsNavigationResponseApplicationJsonInterfaceBuilder) updates); - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder get ocs; - set ocs(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class FilesSharingCapabilities_FilesSharing_User_ExpireDateInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_User_ExpireDateInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); } -class _$NavigationGetSettingsNavigationResponseApplicationJson - extends NavigationGetSettingsNavigationResponseApplicationJson { +class _$FilesSharingCapabilities_FilesSharing_User_ExpireDate + extends FilesSharingCapabilities_FilesSharing_User_ExpireDate { @override - final NavigationGetSettingsNavigationResponseApplicationJson_Ocs ocs; + final bool enabled; - factory _$NavigationGetSettingsNavigationResponseApplicationJson( - [void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder)? updates]) => - (NavigationGetSettingsNavigationResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_User_ExpireDate( + [void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder()..update(updates))._build(); - _$NavigationGetSettingsNavigationResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'NavigationGetSettingsNavigationResponseApplicationJson', 'ocs'); + _$FilesSharingCapabilities_FilesSharing_User_ExpireDate._({required this.enabled}) : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'FilesSharingCapabilities_FilesSharing_User_ExpireDate', 'enabled'); } @override - NavigationGetSettingsNavigationResponseApplicationJson rebuild( - void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder) updates) => + FilesSharingCapabilities_FilesSharing_User_ExpireDate rebuild( + void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder) updates) => (toBuilder()..update(updates)).build(); @override - NavigationGetSettingsNavigationResponseApplicationJsonBuilder toBuilder() => - NavigationGetSettingsNavigationResponseApplicationJsonBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NavigationGetSettingsNavigationResponseApplicationJson && ocs == other.ocs; + return other is FilesSharingCapabilities_FilesSharing_User_ExpireDate && enabled == other.enabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NavigationGetSettingsNavigationResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_User_ExpireDate') + ..add('enabled', enabled)) .toString(); } } -class NavigationGetSettingsNavigationResponseApplicationJsonBuilder +class FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder implements - Builder, - NavigationGetSettingsNavigationResponseApplicationJsonInterfaceBuilder { - _$NavigationGetSettingsNavigationResponseApplicationJson? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_User_ExpireDateInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_User_ExpireDate? _$v; - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder? _ocs; - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder(); - set ocs(covariant NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - NavigationGetSettingsNavigationResponseApplicationJsonBuilder(); + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); - NavigationGetSettingsNavigationResponseApplicationJsonBuilder get _$this { + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(covariant NavigationGetSettingsNavigationResponseApplicationJson other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_User_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NavigationGetSettingsNavigationResponseApplicationJson; + _$v = other as _$FilesSharingCapabilities_FilesSharing_User_ExpireDate; } @override - void update(void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? updates) { if (updates != null) updates(this); } @override - NavigationGetSettingsNavigationResponseApplicationJson build() => _build(); + FilesSharingCapabilities_FilesSharing_User_ExpireDate build() => _build(); - _$NavigationGetSettingsNavigationResponseApplicationJson _build() { - _$NavigationGetSettingsNavigationResponseApplicationJson _$result; - try { - _$result = _$v ?? _$NavigationGetSettingsNavigationResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'NavigationGetSettingsNavigationResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$FilesSharingCapabilities_FilesSharing_User_ExpireDate _build() { + final _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_User_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_User_ExpireDate', 'enabled')); replace(_$result); return _$result; } } -abstract mixin class OcmOcmDiscoveryHeadersInterfaceBuilder { - void replace(OcmOcmDiscoveryHeadersInterface other); - void update(void Function(OcmOcmDiscoveryHeadersInterfaceBuilder) updates); - bool? get xNextcloudOcmProviders; - set xNextcloudOcmProviders(bool? xNextcloudOcmProviders); +abstract mixin class FilesSharingCapabilities_FilesSharing_UserInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_UserInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_UserInterfaceBuilder) updates); + bool? get sendMail; + set sendMail(bool? sendMail); + + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get expireDate; + set expireDate(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? expireDate); } -class _$OcmOcmDiscoveryHeaders extends OcmOcmDiscoveryHeaders { +class _$FilesSharingCapabilities_FilesSharing_User extends FilesSharingCapabilities_FilesSharing_User { @override - final bool? xNextcloudOcmProviders; + final bool sendMail; + @override + final FilesSharingCapabilities_FilesSharing_User_ExpireDate? expireDate; - factory _$OcmOcmDiscoveryHeaders([void Function(OcmOcmDiscoveryHeadersBuilder)? updates]) => - (OcmOcmDiscoveryHeadersBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_User( + [void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_UserBuilder()..update(updates))._build(); - _$OcmOcmDiscoveryHeaders._({this.xNextcloudOcmProviders}) : super._(); + _$FilesSharingCapabilities_FilesSharing_User._({required this.sendMail, this.expireDate}) : super._() { + BuiltValueNullFieldError.checkNotNull(sendMail, r'FilesSharingCapabilities_FilesSharing_User', 'sendMail'); + } @override - OcmOcmDiscoveryHeaders rebuild(void Function(OcmOcmDiscoveryHeadersBuilder) updates) => + FilesSharingCapabilities_FilesSharing_User rebuild( + void Function(FilesSharingCapabilities_FilesSharing_UserBuilder) updates) => (toBuilder()..update(updates)).build(); @override - OcmOcmDiscoveryHeadersBuilder toBuilder() => OcmOcmDiscoveryHeadersBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_UserBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_UserBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcmOcmDiscoveryHeaders && xNextcloudOcmProviders == other.xNextcloudOcmProviders; + return other is FilesSharingCapabilities_FilesSharing_User && + sendMail == other.sendMail && + expireDate == other.expireDate; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, xNextcloudOcmProviders.hashCode); + _$hash = $jc(_$hash, sendMail.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcmOcmDiscoveryHeaders') - ..add('xNextcloudOcmProviders', xNextcloudOcmProviders)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_User') + ..add('sendMail', sendMail) + ..add('expireDate', expireDate)) .toString(); } } -class OcmOcmDiscoveryHeadersBuilder - implements Builder, OcmOcmDiscoveryHeadersInterfaceBuilder { - _$OcmOcmDiscoveryHeaders? _$v; +class FilesSharingCapabilities_FilesSharing_UserBuilder + implements + Builder, + FilesSharingCapabilities_FilesSharing_UserInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_User? _$v; - bool? _xNextcloudOcmProviders; - bool? get xNextcloudOcmProviders => _$this._xNextcloudOcmProviders; - set xNextcloudOcmProviders(covariant bool? xNextcloudOcmProviders) => - _$this._xNextcloudOcmProviders = xNextcloudOcmProviders; + bool? _sendMail; + bool? get sendMail => _$this._sendMail; + set sendMail(covariant bool? sendMail) => _$this._sendMail = sendMail; - OcmOcmDiscoveryHeadersBuilder(); + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? _expireDate; + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get expireDate => + _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); + set expireDate(covariant FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? expireDate) => + _$this._expireDate = expireDate; - OcmOcmDiscoveryHeadersBuilder get _$this { + FilesSharingCapabilities_FilesSharing_UserBuilder(); + + FilesSharingCapabilities_FilesSharing_UserBuilder get _$this { final $v = _$v; if ($v != null) { - _xNextcloudOcmProviders = $v.xNextcloudOcmProviders; + _sendMail = $v.sendMail; + _expireDate = $v.expireDate?.toBuilder(); _$v = null; } return this; } @override - void replace(covariant OcmOcmDiscoveryHeaders other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_User other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcmOcmDiscoveryHeaders; + _$v = other as _$FilesSharingCapabilities_FilesSharing_User; } @override - void update(void Function(OcmOcmDiscoveryHeadersBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? updates) { if (updates != null) updates(this); } @override - OcmOcmDiscoveryHeaders build() => _build(); + FilesSharingCapabilities_FilesSharing_User build() => _build(); - _$OcmOcmDiscoveryHeaders _build() { - final _$result = _$v ?? _$OcmOcmDiscoveryHeaders._(xNextcloudOcmProviders: xNextcloudOcmProviders); + _$FilesSharingCapabilities_FilesSharing_User _build() { + _$FilesSharingCapabilities_FilesSharing_User _$result; + try { + _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_User._( + sendMail: BuiltValueNullFieldError.checkNotNull( + sendMail, r'FilesSharingCapabilities_FilesSharing_User', 'sendMail'), + expireDate: _expireDate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'expireDate'; + _expireDate?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing_User', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterfaceBuilder { - void replace(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterface other); - void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterfaceBuilder) updates); - String? get webdav; - set webdav(String? webdav); +abstract mixin class FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); } -class _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols - extends OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols { +class _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate + extends FilesSharingCapabilities_FilesSharing_Group_ExpireDate { @override - final String webdav; + final bool enabled; - factory _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols( - [void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder)? updates]) => - (OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate( + [void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder()..update(updates))._build(); - _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols._({required this.webdav}) : super._() { + _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate._({required this.enabled}) : super._() { BuiltValueNullFieldError.checkNotNull( - webdav, r'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols', 'webdav'); + enabled, r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate', 'enabled'); } @override - OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols rebuild( - void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Group_ExpireDate rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder) updates) => (toBuilder()..update(updates)).build(); - @override - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder toBuilder() => - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder()..replace(this); + @override + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols && webdav == other.webdav; + return other is FilesSharingCapabilities_FilesSharing_Group_ExpireDate && enabled == other.enabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, webdav.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols') - ..add('webdav', webdav)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate') + ..add('enabled', enabled)) .toString(); } } -class OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder +class FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder implements - Builder, - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterfaceBuilder { - _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate? _$v; - String? _webdav; - String? get webdav => _$this._webdav; - set webdav(covariant String? webdav) => _$this._webdav = webdav; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder(); + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get _$this { final $v = _$v; if ($v != null) { - _webdav = $v.webdav; + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(covariant OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Group_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate; } @override - void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? updates) { if (updates != null) updates(this); } @override - OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols build() => _build(); + FilesSharingCapabilities_FilesSharing_Group_ExpireDate build() => _build(); - _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols _build() { + _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate _build() { final _$result = _$v ?? - _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols._( - webdav: BuiltValueNullFieldError.checkNotNull( - webdav, r'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols', 'webdav')); + _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate', 'enabled')); replace(_$result); return _$result; } } -abstract mixin class OcmDiscoveryResponseApplicationJson_ResourceTypesInterfaceBuilder { - void replace(OcmDiscoveryResponseApplicationJson_ResourceTypesInterface other); - void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesInterfaceBuilder) updates); - String? get name; - set name(String? name); - - ListBuilder get shareTypes; - set shareTypes(ListBuilder? shareTypes); +abstract mixin class FilesSharingCapabilities_FilesSharing_GroupInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_GroupInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_GroupInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder get protocols; - set protocols(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder? protocols); + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get expireDate; + set expireDate(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? expireDate); } -class _$OcmDiscoveryResponseApplicationJson_ResourceTypes extends OcmDiscoveryResponseApplicationJson_ResourceTypes { - @override - final String name; +class _$FilesSharingCapabilities_FilesSharing_Group extends FilesSharingCapabilities_FilesSharing_Group { @override - final BuiltList shareTypes; + final bool enabled; @override - final OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols protocols; + final FilesSharingCapabilities_FilesSharing_Group_ExpireDate? expireDate; - factory _$OcmDiscoveryResponseApplicationJson_ResourceTypes( - [void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder)? updates]) => - (OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Group( + [void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_GroupBuilder()..update(updates))._build(); - _$OcmDiscoveryResponseApplicationJson_ResourceTypes._( - {required this.name, required this.shareTypes, required this.protocols}) - : super._() { - BuiltValueNullFieldError.checkNotNull(name, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'name'); - BuiltValueNullFieldError.checkNotNull( - shareTypes, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'shareTypes'); - BuiltValueNullFieldError.checkNotNull(protocols, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'protocols'); + _$FilesSharingCapabilities_FilesSharing_Group._({required this.enabled, this.expireDate}) : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'FilesSharingCapabilities_FilesSharing_Group', 'enabled'); } @override - OcmDiscoveryResponseApplicationJson_ResourceTypes rebuild( - void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Group rebuild( + void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder) updates) => (toBuilder()..update(updates)).build(); @override - OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder toBuilder() => - OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_GroupBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_GroupBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcmDiscoveryResponseApplicationJson_ResourceTypes && - name == other.name && - shareTypes == other.shareTypes && - protocols == other.protocols; + return other is FilesSharingCapabilities_FilesSharing_Group && + enabled == other.enabled && + expireDate == other.expireDate; } @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, enabled.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcmDiscoveryResponseApplicationJson_ResourceTypes') - ..add('name', name) - ..add('shareTypes', shareTypes) - ..add('protocols', protocols)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Group') + ..add('enabled', enabled) + ..add('expireDate', expireDate)) .toString(); } } -class OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder +class FilesSharingCapabilities_FilesSharing_GroupBuilder implements - Builder, - OcmDiscoveryResponseApplicationJson_ResourceTypesInterfaceBuilder { - _$OcmDiscoveryResponseApplicationJson_ResourceTypes? _$v; - - String? _name; - String? get name => _$this._name; - set name(covariant String? name) => _$this._name = name; + Builder, + FilesSharingCapabilities_FilesSharing_GroupInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Group? _$v; - ListBuilder? _shareTypes; - ListBuilder get shareTypes => _$this._shareTypes ??= ListBuilder(); - set shareTypes(covariant ListBuilder? shareTypes) => _$this._shareTypes = shareTypes; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder? _protocols; - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder get protocols => - _$this._protocols ??= OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder(); - set protocols(covariant OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder? protocols) => - _$this._protocols = protocols; + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? _expireDate; + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get expireDate => + _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); + set expireDate(covariant FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? expireDate) => + _$this._expireDate = expireDate; - OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder(); + FilesSharingCapabilities_FilesSharing_GroupBuilder(); - OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder get _$this { + FilesSharingCapabilities_FilesSharing_GroupBuilder get _$this { final $v = _$v; if ($v != null) { - _name = $v.name; - _shareTypes = $v.shareTypes.toBuilder(); - _protocols = $v.protocols.toBuilder(); + _enabled = $v.enabled; + _expireDate = $v.expireDate?.toBuilder(); _$v = null; } return this; } @override - void replace(covariant OcmDiscoveryResponseApplicationJson_ResourceTypes other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Group other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcmDiscoveryResponseApplicationJson_ResourceTypes; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Group; } @override - void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? updates) { if (updates != null) updates(this); } @override - OcmDiscoveryResponseApplicationJson_ResourceTypes build() => _build(); + FilesSharingCapabilities_FilesSharing_Group build() => _build(); - _$OcmDiscoveryResponseApplicationJson_ResourceTypes _build() { - _$OcmDiscoveryResponseApplicationJson_ResourceTypes _$result; + _$FilesSharingCapabilities_FilesSharing_Group _build() { + _$FilesSharingCapabilities_FilesSharing_Group _$result; try { _$result = _$v ?? - _$OcmDiscoveryResponseApplicationJson_ResourceTypes._( - name: BuiltValueNullFieldError.checkNotNull( - name, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'name'), - shareTypes: shareTypes.build(), - protocols: protocols.build()); + _$FilesSharingCapabilities_FilesSharing_Group._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Group', 'enabled'), + expireDate: _expireDate?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'shareTypes'; - shareTypes.build(); - _$failedField = 'protocols'; - protocols.build(); + _$failedField = 'expireDate'; + _expireDate?.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'OcmDiscoveryResponseApplicationJson_ResourceTypes', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing_Group', _$failedField, e.toString()); } rethrow; } @@ -14635,531 +17754,729 @@ class OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder } } -abstract mixin class OcmDiscoveryResponseApplicationJsonInterfaceBuilder { - void replace(OcmDiscoveryResponseApplicationJsonInterface other); - void update(void Function(OcmDiscoveryResponseApplicationJsonInterfaceBuilder) updates); +abstract mixin class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); +} + +class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate + extends FilesSharingCapabilities_FilesSharing_Federation_ExpireDate { + @override + final bool enabled; + + factory _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate( + [void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder()..update(updates))._build(); + + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._({required this.enabled}) : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate', 'enabled'); + } + + @override + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingCapabilities_FilesSharing_Federation_ExpireDate && enabled == other.enabled; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate') + ..add('enabled', enabled)) + .toString(); + } +} + +class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder + implements + Builder, + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate? _$v; + + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; + + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); + + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _enabled = $v.enabled; + _$v = null; + } + return this; + } + + @override + void replace(covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate; + } + + @override + void update(void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate build() => _build(); + + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate _build() { + final _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate', 'enabled')); + replace(_$result); + return _$result; + } +} + +abstract mixin class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterface other); + void update( + void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterfaceBuilder) updates); bool? get enabled; set enabled(bool? enabled); - - String? get apiVersion; - set apiVersion(String? apiVersion); - - String? get endPoint; - set endPoint(String? endPoint); - - ListBuilder get resourceTypes; - set resourceTypes(ListBuilder? resourceTypes); } -class _$OcmDiscoveryResponseApplicationJson extends OcmDiscoveryResponseApplicationJson { +class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported + extends FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported { @override final bool enabled; - @override - final String apiVersion; - @override - final String endPoint; - @override - final BuiltList resourceTypes; - factory _$OcmDiscoveryResponseApplicationJson([void Function(OcmDiscoveryResponseApplicationJsonBuilder)? updates]) => - (OcmDiscoveryResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported( + [void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder()..update(updates))._build(); - _$OcmDiscoveryResponseApplicationJson._( - {required this.enabled, required this.apiVersion, required this.endPoint, required this.resourceTypes}) - : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'OcmDiscoveryResponseApplicationJson', 'enabled'); - BuiltValueNullFieldError.checkNotNull(apiVersion, r'OcmDiscoveryResponseApplicationJson', 'apiVersion'); - BuiltValueNullFieldError.checkNotNull(endPoint, r'OcmDiscoveryResponseApplicationJson', 'endPoint'); - BuiltValueNullFieldError.checkNotNull(resourceTypes, r'OcmDiscoveryResponseApplicationJson', 'resourceTypes'); + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._({required this.enabled}) : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported', 'enabled'); } @override - OcmDiscoveryResponseApplicationJson rebuild(void Function(OcmDiscoveryResponseApplicationJsonBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder) updates) => (toBuilder()..update(updates)).build(); @override - OcmDiscoveryResponseApplicationJsonBuilder toBuilder() => OcmDiscoveryResponseApplicationJsonBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcmDiscoveryResponseApplicationJson && - enabled == other.enabled && - apiVersion == other.apiVersion && - endPoint == other.endPoint && - resourceTypes == other.resourceTypes; + return other is FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported && enabled == other.enabled; } @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 = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcmDiscoveryResponseApplicationJson') - ..add('enabled', enabled) - ..add('apiVersion', apiVersion) - ..add('endPoint', endPoint) - ..add('resourceTypes', resourceTypes)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported') + ..add('enabled', enabled)) .toString(); } } -class OcmDiscoveryResponseApplicationJsonBuilder +class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder implements - Builder, - OcmDiscoveryResponseApplicationJsonInterfaceBuilder { - _$OcmDiscoveryResponseApplicationJson? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported? _$v; bool? _enabled; bool? get enabled => _$this._enabled; set enabled(covariant bool? enabled) => _$this._enabled = enabled; - String? _apiVersion; - String? get apiVersion => _$this._apiVersion; - set apiVersion(covariant String? apiVersion) => _$this._apiVersion = apiVersion; - - String? _endPoint; - String? get endPoint => _$this._endPoint; - set endPoint(covariant String? endPoint) => _$this._endPoint = endPoint; - - ListBuilder? _resourceTypes; - ListBuilder get resourceTypes => - _$this._resourceTypes ??= ListBuilder(); - set resourceTypes(covariant ListBuilder? resourceTypes) => - _$this._resourceTypes = resourceTypes; - - OcmDiscoveryResponseApplicationJsonBuilder(); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); - OcmDiscoveryResponseApplicationJsonBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get _$this { final $v = _$v; if ($v != null) { _enabled = $v.enabled; - _apiVersion = $v.apiVersion; - _endPoint = $v.endPoint; - _resourceTypes = $v.resourceTypes.toBuilder(); _$v = null; } return this; } @override - void replace(covariant OcmDiscoveryResponseApplicationJson other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcmDiscoveryResponseApplicationJson; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported; } @override - void update(void Function(OcmDiscoveryResponseApplicationJsonBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? updates) { if (updates != null) updates(this); } @override - OcmDiscoveryResponseApplicationJson build() => _build(); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported build() => _build(); - _$OcmDiscoveryResponseApplicationJson _build() { - _$OcmDiscoveryResponseApplicationJson _$result; - try { - _$result = _$v ?? - _$OcmDiscoveryResponseApplicationJson._( - enabled: - BuiltValueNullFieldError.checkNotNull(enabled, r'OcmDiscoveryResponseApplicationJson', 'enabled'), - apiVersion: BuiltValueNullFieldError.checkNotNull( - apiVersion, r'OcmDiscoveryResponseApplicationJson', 'apiVersion'), - endPoint: - BuiltValueNullFieldError.checkNotNull(endPoint, r'OcmDiscoveryResponseApplicationJson', 'endPoint'), - resourceTypes: resourceTypes.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'resourceTypes'; - resourceTypes.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'OcmDiscoveryResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported _build() { + final _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported', 'enabled')); replace(_$result); return _$result; } } -abstract mixin class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterfaceBuilder { - void replace(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterface other); - void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterfaceBuilder) updates); - int? get major; - set major(int? major); - - int? get minor; - set minor(int? minor); - - int? get micro; - set micro(int? micro); +abstract mixin class FilesSharingCapabilities_FilesSharing_FederationInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_FederationInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_FederationInterfaceBuilder) updates); + bool? get outgoing; + set outgoing(bool? outgoing); - String? get string; - set string(String? string); + bool? get incoming; + set incoming(bool? incoming); - String? get edition; - set edition(String? edition); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get expireDate; + set expireDate(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? expireDate); - bool? get extendedSupport; - set extendedSupport(bool? extendedSupport); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get expireDateSupported; + set expireDateSupported( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? expireDateSupported); } -class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version - extends OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version { - @override - final int major; - @override - final int minor; +class _$FilesSharingCapabilities_FilesSharing_Federation extends FilesSharingCapabilities_FilesSharing_Federation { @override - final int micro; + final bool outgoing; @override - final String string; + final bool incoming; @override - final String edition; + final FilesSharingCapabilities_FilesSharing_Federation_ExpireDate expireDate; @override - final bool extendedSupport; + final FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported expireDateSupported; - factory _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version( - [void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder)? updates]) => - (OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Federation( + [void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_FederationBuilder()..update(updates))._build(); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version._( - {required this.major, - required this.minor, - required this.micro, - required this.string, - required this.edition, - required this.extendedSupport}) + _$FilesSharingCapabilities_FilesSharing_Federation._( + {required this.outgoing, required this.incoming, required this.expireDate, required this.expireDateSupported}) : super._() { + BuiltValueNullFieldError.checkNotNull(outgoing, r'FilesSharingCapabilities_FilesSharing_Federation', 'outgoing'); + BuiltValueNullFieldError.checkNotNull(incoming, r'FilesSharingCapabilities_FilesSharing_Federation', 'incoming'); BuiltValueNullFieldError.checkNotNull( - major, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'major'); - BuiltValueNullFieldError.checkNotNull( - minor, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'minor'); - BuiltValueNullFieldError.checkNotNull( - micro, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'micro'); - BuiltValueNullFieldError.checkNotNull( - string, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'string'); - BuiltValueNullFieldError.checkNotNull( - edition, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'edition'); + expireDate, r'FilesSharingCapabilities_FilesSharing_Federation', 'expireDate'); BuiltValueNullFieldError.checkNotNull( - extendedSupport, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'extendedSupport'); + expireDateSupported, r'FilesSharingCapabilities_FilesSharing_Federation', 'expireDateSupported'); } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version rebuild( - void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Federation rebuild( + void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder) updates) => (toBuilder()..update(updates)).build(); @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder toBuilder() => - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_FederationBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_FederationBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version && - major == other.major && - minor == other.minor && - micro == other.micro && - string == other.string && - edition == other.edition && - extendedSupport == other.extendedSupport; + return other is FilesSharingCapabilities_FilesSharing_Federation && + outgoing == other.outgoing && + incoming == other.incoming && + expireDate == other.expireDate && + expireDateSupported == other.expireDateSupported; } @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, outgoing.hashCode); + _$hash = $jc(_$hash, incoming.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, expireDateSupported.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version') - ..add('major', major) - ..add('minor', minor) - ..add('micro', micro) - ..add('string', string) - ..add('edition', edition) - ..add('extendedSupport', extendedSupport)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Federation') + ..add('outgoing', outgoing) + ..add('incoming', incoming) + ..add('expireDate', expireDate) + ..add('expireDateSupported', expireDateSupported)) .toString(); } } -class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder +class FilesSharingCapabilities_FilesSharing_FederationBuilder implements - Builder, - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterfaceBuilder { - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version? _$v; - - int? _major; - int? get major => _$this._major; - set major(covariant int? major) => _$this._major = major; - - int? _minor; - int? get minor => _$this._minor; - set minor(covariant int? minor) => _$this._minor = minor; + Builder, + FilesSharingCapabilities_FilesSharing_FederationInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Federation? _$v; - int? _micro; - int? get micro => _$this._micro; - set micro(covariant int? micro) => _$this._micro = micro; + bool? _outgoing; + bool? get outgoing => _$this._outgoing; + set outgoing(covariant bool? outgoing) => _$this._outgoing = outgoing; - String? _string; - String? get string => _$this._string; - set string(covariant String? string) => _$this._string = string; + bool? _incoming; + bool? get incoming => _$this._incoming; + set incoming(covariant bool? incoming) => _$this._incoming = incoming; - String? _edition; - String? get edition => _$this._edition; - set edition(covariant String? edition) => _$this._edition = edition; + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? _expireDate; + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get expireDate => + _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); + set expireDate(covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? expireDate) => + _$this._expireDate = expireDate; - bool? _extendedSupport; - bool? get extendedSupport => _$this._extendedSupport; - set extendedSupport(covariant bool? extendedSupport) => _$this._extendedSupport = extendedSupport; + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? _expireDateSupported; + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get expireDateSupported => + _$this._expireDateSupported ??= FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); + set expireDateSupported( + covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? expireDateSupported) => + _$this._expireDateSupported = expireDateSupported; - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder(); + FilesSharingCapabilities_FilesSharing_FederationBuilder(); - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder get _$this { + FilesSharingCapabilities_FilesSharing_FederationBuilder 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; + _outgoing = $v.outgoing; + _incoming = $v.incoming; + _expireDate = $v.expireDate.toBuilder(); + _expireDateSupported = $v.expireDateSupported.toBuilder(); _$v = null; } return this; } @override - void replace(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Federation other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation; } @override - void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder)? updates) { if (updates != null) updates(this); } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version build() => _build(); + FilesSharingCapabilities_FilesSharing_Federation build() => _build(); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version _build() { - final _$result = _$v ?? - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version._( - major: BuiltValueNullFieldError.checkNotNull( - major, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'major'), - minor: BuiltValueNullFieldError.checkNotNull( - minor, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'minor'), - micro: BuiltValueNullFieldError.checkNotNull( - micro, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'micro'), - string: BuiltValueNullFieldError.checkNotNull( - string, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'string'), - edition: BuiltValueNullFieldError.checkNotNull( - edition, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'edition'), - extendedSupport: BuiltValueNullFieldError.checkNotNull( - extendedSupport, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'extendedSupport')); + _$FilesSharingCapabilities_FilesSharing_Federation _build() { + _$FilesSharingCapabilities_FilesSharing_Federation _$result; + try { + _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Federation._( + outgoing: BuiltValueNullFieldError.checkNotNull( + outgoing, r'FilesSharingCapabilities_FilesSharing_Federation', 'outgoing'), + incoming: BuiltValueNullFieldError.checkNotNull( + incoming, r'FilesSharingCapabilities_FilesSharing_Federation', 'incoming'), + expireDate: expireDate.build(), + expireDateSupported: expireDateSupported.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'expireDate'; + expireDate.build(); + _$failedField = 'expireDateSupported'; + expireDateSupported.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingCapabilities_FilesSharing_Federation', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class CommentsCapabilities_FilesInterfaceBuilder { - void replace(CommentsCapabilities_FilesInterface other); - void update(void Function(CommentsCapabilities_FilesInterfaceBuilder) updates); - bool? get comments; - set comments(bool? comments); +abstract mixin class FilesSharingCapabilities_FilesSharing_ShareeInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_ShareeInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_ShareeInterfaceBuilder) updates); + bool? get queryLookupDefault; + set queryLookupDefault(bool? queryLookupDefault); + + bool? get alwaysShowUnique; + set alwaysShowUnique(bool? alwaysShowUnique); } -class _$CommentsCapabilities_Files extends CommentsCapabilities_Files { +class _$FilesSharingCapabilities_FilesSharing_Sharee extends FilesSharingCapabilities_FilesSharing_Sharee { @override - final bool comments; + final bool queryLookupDefault; + @override + final bool alwaysShowUnique; - factory _$CommentsCapabilities_Files([void Function(CommentsCapabilities_FilesBuilder)? updates]) => - (CommentsCapabilities_FilesBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Sharee( + [void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_ShareeBuilder()..update(updates))._build(); - _$CommentsCapabilities_Files._({required this.comments}) : super._() { - BuiltValueNullFieldError.checkNotNull(comments, r'CommentsCapabilities_Files', 'comments'); + _$FilesSharingCapabilities_FilesSharing_Sharee._({required this.queryLookupDefault, required this.alwaysShowUnique}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + queryLookupDefault, r'FilesSharingCapabilities_FilesSharing_Sharee', 'queryLookupDefault'); + BuiltValueNullFieldError.checkNotNull( + alwaysShowUnique, r'FilesSharingCapabilities_FilesSharing_Sharee', 'alwaysShowUnique'); } @override - CommentsCapabilities_Files rebuild(void Function(CommentsCapabilities_FilesBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Sharee rebuild( + void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CommentsCapabilities_FilesBuilder toBuilder() => CommentsCapabilities_FilesBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_ShareeBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_ShareeBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CommentsCapabilities_Files && comments == other.comments; + return other is FilesSharingCapabilities_FilesSharing_Sharee && + queryLookupDefault == other.queryLookupDefault && + alwaysShowUnique == other.alwaysShowUnique; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, comments.hashCode); + _$hash = $jc(_$hash, queryLookupDefault.hashCode); + _$hash = $jc(_$hash, alwaysShowUnique.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CommentsCapabilities_Files')..add('comments', comments)).toString(); + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Sharee') + ..add('queryLookupDefault', queryLookupDefault) + ..add('alwaysShowUnique', alwaysShowUnique)) + .toString(); } } -class CommentsCapabilities_FilesBuilder +class FilesSharingCapabilities_FilesSharing_ShareeBuilder implements - Builder, - CommentsCapabilities_FilesInterfaceBuilder { - _$CommentsCapabilities_Files? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_ShareeInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Sharee? _$v; - bool? _comments; - bool? get comments => _$this._comments; - set comments(covariant bool? comments) => _$this._comments = comments; + bool? _queryLookupDefault; + bool? get queryLookupDefault => _$this._queryLookupDefault; + set queryLookupDefault(covariant bool? queryLookupDefault) => _$this._queryLookupDefault = queryLookupDefault; - CommentsCapabilities_FilesBuilder(); + bool? _alwaysShowUnique; + bool? get alwaysShowUnique => _$this._alwaysShowUnique; + set alwaysShowUnique(covariant bool? alwaysShowUnique) => _$this._alwaysShowUnique = alwaysShowUnique; - CommentsCapabilities_FilesBuilder get _$this { + FilesSharingCapabilities_FilesSharing_ShareeBuilder(); + + FilesSharingCapabilities_FilesSharing_ShareeBuilder get _$this { final $v = _$v; if ($v != null) { - _comments = $v.comments; + _queryLookupDefault = $v.queryLookupDefault; + _alwaysShowUnique = $v.alwaysShowUnique; _$v = null; } return this; } @override - void replace(covariant CommentsCapabilities_Files other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Sharee other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CommentsCapabilities_Files; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Sharee; } @override - void update(void Function(CommentsCapabilities_FilesBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? updates) { if (updates != null) updates(this); } @override - CommentsCapabilities_Files build() => _build(); + FilesSharingCapabilities_FilesSharing_Sharee build() => _build(); - _$CommentsCapabilities_Files _build() { + _$FilesSharingCapabilities_FilesSharing_Sharee _build() { final _$result = _$v ?? - _$CommentsCapabilities_Files._( - comments: BuiltValueNullFieldError.checkNotNull(comments, r'CommentsCapabilities_Files', 'comments')); + _$FilesSharingCapabilities_FilesSharing_Sharee._( + queryLookupDefault: BuiltValueNullFieldError.checkNotNull( + queryLookupDefault, r'FilesSharingCapabilities_FilesSharing_Sharee', 'queryLookupDefault'), + alwaysShowUnique: BuiltValueNullFieldError.checkNotNull( + alwaysShowUnique, r'FilesSharingCapabilities_FilesSharing_Sharee', 'alwaysShowUnique')); replace(_$result); return _$result; } } -abstract mixin class CommentsCapabilitiesInterfaceBuilder { - void replace(CommentsCapabilitiesInterface other); - void update(void Function(CommentsCapabilitiesInterfaceBuilder) updates); - CommentsCapabilities_FilesBuilder get files; - set files(CommentsCapabilities_FilesBuilder? files); +abstract mixin class FilesSharingCapabilities_FilesSharingInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharingInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharingInterfaceBuilder) updates); + bool? get apiEnabled; + set apiEnabled(bool? apiEnabled); + + FilesSharingCapabilities_FilesSharing_PublicBuilder get public; + set public(FilesSharingCapabilities_FilesSharing_PublicBuilder? public); + + FilesSharingCapabilities_FilesSharing_UserBuilder get user; + set user(FilesSharingCapabilities_FilesSharing_UserBuilder? user); + + bool? get resharing; + set resharing(bool? resharing); + + bool? get groupSharing; + set groupSharing(bool? groupSharing); + + FilesSharingCapabilities_FilesSharing_GroupBuilder get group; + set group(FilesSharingCapabilities_FilesSharing_GroupBuilder? group); + + int? get defaultPermissions; + set defaultPermissions(int? defaultPermissions); + + FilesSharingCapabilities_FilesSharing_FederationBuilder get federation; + set federation(FilesSharingCapabilities_FilesSharing_FederationBuilder? federation); + + FilesSharingCapabilities_FilesSharing_ShareeBuilder get sharee; + set sharee(FilesSharingCapabilities_FilesSharing_ShareeBuilder? sharee); } -class _$CommentsCapabilities extends CommentsCapabilities { +class _$FilesSharingCapabilities_FilesSharing extends FilesSharingCapabilities_FilesSharing { + @override + final bool apiEnabled; + @override + final FilesSharingCapabilities_FilesSharing_Public public; + @override + final FilesSharingCapabilities_FilesSharing_User user; + @override + final bool resharing; @override - final CommentsCapabilities_Files files; + final bool? groupSharing; + @override + final FilesSharingCapabilities_FilesSharing_Group? group; + @override + final int? defaultPermissions; + @override + final FilesSharingCapabilities_FilesSharing_Federation federation; + @override + final FilesSharingCapabilities_FilesSharing_Sharee sharee; - factory _$CommentsCapabilities([void Function(CommentsCapabilitiesBuilder)? updates]) => - (CommentsCapabilitiesBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing( + [void Function(FilesSharingCapabilities_FilesSharingBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharingBuilder()..update(updates))._build(); - _$CommentsCapabilities._({required this.files}) : super._() { - BuiltValueNullFieldError.checkNotNull(files, r'CommentsCapabilities', 'files'); + _$FilesSharingCapabilities_FilesSharing._( + {required this.apiEnabled, + required this.public, + required this.user, + required this.resharing, + this.groupSharing, + this.group, + this.defaultPermissions, + required this.federation, + required this.sharee}) + : super._() { + BuiltValueNullFieldError.checkNotNull(apiEnabled, r'FilesSharingCapabilities_FilesSharing', 'apiEnabled'); + BuiltValueNullFieldError.checkNotNull(public, r'FilesSharingCapabilities_FilesSharing', 'public'); + BuiltValueNullFieldError.checkNotNull(user, r'FilesSharingCapabilities_FilesSharing', 'user'); + BuiltValueNullFieldError.checkNotNull(resharing, r'FilesSharingCapabilities_FilesSharing', 'resharing'); + BuiltValueNullFieldError.checkNotNull(federation, r'FilesSharingCapabilities_FilesSharing', 'federation'); + BuiltValueNullFieldError.checkNotNull(sharee, r'FilesSharingCapabilities_FilesSharing', 'sharee'); } @override - CommentsCapabilities rebuild(void Function(CommentsCapabilitiesBuilder) updates) => + FilesSharingCapabilities_FilesSharing rebuild(void Function(FilesSharingCapabilities_FilesSharingBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CommentsCapabilitiesBuilder toBuilder() => CommentsCapabilitiesBuilder()..replace(this); + FilesSharingCapabilities_FilesSharingBuilder toBuilder() => + FilesSharingCapabilities_FilesSharingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CommentsCapabilities && files == other.files; + return other is FilesSharingCapabilities_FilesSharing && + apiEnabled == other.apiEnabled && + public == other.public && + user == other.user && + resharing == other.resharing && + groupSharing == other.groupSharing && + group == other.group && + defaultPermissions == other.defaultPermissions && + federation == other.federation && + sharee == other.sharee; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, files.hashCode); + _$hash = $jc(_$hash, apiEnabled.hashCode); + _$hash = $jc(_$hash, public.hashCode); + _$hash = $jc(_$hash, user.hashCode); + _$hash = $jc(_$hash, resharing.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 = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CommentsCapabilities')..add('files', files)).toString(); + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing') + ..add('apiEnabled', apiEnabled) + ..add('public', public) + ..add('user', user) + ..add('resharing', resharing) + ..add('groupSharing', groupSharing) + ..add('group', group) + ..add('defaultPermissions', defaultPermissions) + ..add('federation', federation) + ..add('sharee', sharee)) + .toString(); } } -class CommentsCapabilitiesBuilder - implements Builder, CommentsCapabilitiesInterfaceBuilder { - _$CommentsCapabilities? _$v; +class FilesSharingCapabilities_FilesSharingBuilder + implements + Builder, + FilesSharingCapabilities_FilesSharingInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing? _$v; - CommentsCapabilities_FilesBuilder? _files; - CommentsCapabilities_FilesBuilder get files => _$this._files ??= CommentsCapabilities_FilesBuilder(); - set files(covariant CommentsCapabilities_FilesBuilder? files) => _$this._files = files; + bool? _apiEnabled; + bool? get apiEnabled => _$this._apiEnabled; + set apiEnabled(covariant bool? apiEnabled) => _$this._apiEnabled = apiEnabled; - CommentsCapabilitiesBuilder(); + FilesSharingCapabilities_FilesSharing_PublicBuilder? _public; + FilesSharingCapabilities_FilesSharing_PublicBuilder get public => + _$this._public ??= FilesSharingCapabilities_FilesSharing_PublicBuilder(); + set public(covariant FilesSharingCapabilities_FilesSharing_PublicBuilder? public) => _$this._public = public; - CommentsCapabilitiesBuilder get _$this { + FilesSharingCapabilities_FilesSharing_UserBuilder? _user; + FilesSharingCapabilities_FilesSharing_UserBuilder get user => + _$this._user ??= FilesSharingCapabilities_FilesSharing_UserBuilder(); + set user(covariant FilesSharingCapabilities_FilesSharing_UserBuilder? user) => _$this._user = user; + + bool? _resharing; + bool? get resharing => _$this._resharing; + set resharing(covariant bool? resharing) => _$this._resharing = resharing; + + bool? _groupSharing; + bool? get groupSharing => _$this._groupSharing; + set groupSharing(covariant bool? groupSharing) => _$this._groupSharing = groupSharing; + + FilesSharingCapabilities_FilesSharing_GroupBuilder? _group; + FilesSharingCapabilities_FilesSharing_GroupBuilder get group => + _$this._group ??= FilesSharingCapabilities_FilesSharing_GroupBuilder(); + set group(covariant FilesSharingCapabilities_FilesSharing_GroupBuilder? group) => _$this._group = group; + + int? _defaultPermissions; + int? get defaultPermissions => _$this._defaultPermissions; + set defaultPermissions(covariant int? defaultPermissions) => _$this._defaultPermissions = defaultPermissions; + + FilesSharingCapabilities_FilesSharing_FederationBuilder? _federation; + FilesSharingCapabilities_FilesSharing_FederationBuilder get federation => + _$this._federation ??= FilesSharingCapabilities_FilesSharing_FederationBuilder(); + set federation(covariant FilesSharingCapabilities_FilesSharing_FederationBuilder? federation) => + _$this._federation = federation; + + FilesSharingCapabilities_FilesSharing_ShareeBuilder? _sharee; + FilesSharingCapabilities_FilesSharing_ShareeBuilder get sharee => + _$this._sharee ??= FilesSharingCapabilities_FilesSharing_ShareeBuilder(); + set sharee(covariant FilesSharingCapabilities_FilesSharing_ShareeBuilder? sharee) => _$this._sharee = sharee; + + FilesSharingCapabilities_FilesSharingBuilder(); + + FilesSharingCapabilities_FilesSharingBuilder get _$this { final $v = _$v; if ($v != null) { - _files = $v.files.toBuilder(); + _apiEnabled = $v.apiEnabled; + _public = $v.public.toBuilder(); + _user = $v.user.toBuilder(); + _resharing = $v.resharing; + _groupSharing = $v.groupSharing; + _group = $v.group?.toBuilder(); + _defaultPermissions = $v.defaultPermissions; + _federation = $v.federation.toBuilder(); + _sharee = $v.sharee.toBuilder(); _$v = null; } return this; } @override - void replace(covariant CommentsCapabilities other) { + void replace(covariant FilesSharingCapabilities_FilesSharing other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CommentsCapabilities; + _$v = other as _$FilesSharingCapabilities_FilesSharing; } @override - void update(void Function(CommentsCapabilitiesBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharingBuilder)? updates) { if (updates != null) updates(this); } @override - CommentsCapabilities build() => _build(); + FilesSharingCapabilities_FilesSharing build() => _build(); - _$CommentsCapabilities _build() { - _$CommentsCapabilities _$result; + _$FilesSharingCapabilities_FilesSharing _build() { + _$FilesSharingCapabilities_FilesSharing _$result; try { - _$result = _$v ?? _$CommentsCapabilities._(files: files.build()); + _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing._( + apiEnabled: BuiltValueNullFieldError.checkNotNull( + apiEnabled, r'FilesSharingCapabilities_FilesSharing', 'apiEnabled'), + public: public.build(), + user: user.build(), + resharing: BuiltValueNullFieldError.checkNotNull( + resharing, r'FilesSharingCapabilities_FilesSharing', 'resharing'), + groupSharing: groupSharing, + group: _group?.build(), + defaultPermissions: defaultPermissions, + federation: federation.build(), + sharee: sharee.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'files'; - files.build(); + _$failedField = 'public'; + public.build(); + _$failedField = 'user'; + user.build(); + + _$failedField = 'group'; + _group?.build(); + + _$failedField = 'federation'; + federation.build(); + _$failedField = 'sharee'; + sharee.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CommentsCapabilities', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing', _$failedField, e.toString()); } rethrow; } @@ -15168,500 +18485,451 @@ class CommentsCapabilitiesBuilder } } -abstract mixin class DavCapabilities_DavInterfaceBuilder { - void replace(DavCapabilities_DavInterface other); - void update(void Function(DavCapabilities_DavInterfaceBuilder) updates); - String? get chunking; - set chunking(String? chunking); - - String? get bulkupload; - set bulkupload(String? bulkupload); +abstract mixin class FilesSharingCapabilitiesInterfaceBuilder { + void replace(FilesSharingCapabilitiesInterface other); + void update(void Function(FilesSharingCapabilitiesInterfaceBuilder) updates); + FilesSharingCapabilities_FilesSharingBuilder get filesSharing; + set filesSharing(FilesSharingCapabilities_FilesSharingBuilder? filesSharing); } -class _$DavCapabilities_Dav extends DavCapabilities_Dav { - @override - final String chunking; +class _$FilesSharingCapabilities extends FilesSharingCapabilities { @override - final String? bulkupload; + final FilesSharingCapabilities_FilesSharing filesSharing; - factory _$DavCapabilities_Dav([void Function(DavCapabilities_DavBuilder)? updates]) => - (DavCapabilities_DavBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities([void Function(FilesSharingCapabilitiesBuilder)? updates]) => + (FilesSharingCapabilitiesBuilder()..update(updates))._build(); - _$DavCapabilities_Dav._({required this.chunking, this.bulkupload}) : super._() { - BuiltValueNullFieldError.checkNotNull(chunking, r'DavCapabilities_Dav', 'chunking'); + _$FilesSharingCapabilities._({required this.filesSharing}) : super._() { + BuiltValueNullFieldError.checkNotNull(filesSharing, r'FilesSharingCapabilities', 'filesSharing'); } @override - DavCapabilities_Dav rebuild(void Function(DavCapabilities_DavBuilder) updates) => + FilesSharingCapabilities rebuild(void Function(FilesSharingCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - DavCapabilities_DavBuilder toBuilder() => DavCapabilities_DavBuilder()..replace(this); + FilesSharingCapabilitiesBuilder toBuilder() => FilesSharingCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is DavCapabilities_Dav && chunking == other.chunking && bulkupload == other.bulkupload; + return other is FilesSharingCapabilities && filesSharing == other.filesSharing; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, chunking.hashCode); - _$hash = $jc(_$hash, bulkupload.hashCode); + _$hash = $jc(_$hash, filesSharing.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'DavCapabilities_Dav') - ..add('chunking', chunking) - ..add('bulkupload', bulkupload)) - .toString(); + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities')..add('filesSharing', filesSharing)).toString(); } } -class DavCapabilities_DavBuilder - implements Builder, DavCapabilities_DavInterfaceBuilder { - _$DavCapabilities_Dav? _$v; - - String? _chunking; - String? get chunking => _$this._chunking; - set chunking(covariant String? chunking) => _$this._chunking = chunking; +class FilesSharingCapabilitiesBuilder + implements + Builder, + FilesSharingCapabilitiesInterfaceBuilder { + _$FilesSharingCapabilities? _$v; - String? _bulkupload; - String? get bulkupload => _$this._bulkupload; - set bulkupload(covariant String? bulkupload) => _$this._bulkupload = bulkupload; + FilesSharingCapabilities_FilesSharingBuilder? _filesSharing; + FilesSharingCapabilities_FilesSharingBuilder get filesSharing => + _$this._filesSharing ??= FilesSharingCapabilities_FilesSharingBuilder(); + set filesSharing(covariant FilesSharingCapabilities_FilesSharingBuilder? filesSharing) => + _$this._filesSharing = filesSharing; - DavCapabilities_DavBuilder(); + FilesSharingCapabilitiesBuilder(); - DavCapabilities_DavBuilder get _$this { + FilesSharingCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _chunking = $v.chunking; - _bulkupload = $v.bulkupload; + _filesSharing = $v.filesSharing.toBuilder(); _$v = null; } return this; } @override - void replace(covariant DavCapabilities_Dav other) { + void replace(covariant FilesSharingCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$DavCapabilities_Dav; + _$v = other as _$FilesSharingCapabilities; } @override - void update(void Function(DavCapabilities_DavBuilder)? updates) { + void update(void Function(FilesSharingCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - DavCapabilities_Dav build() => _build(); + FilesSharingCapabilities build() => _build(); - _$DavCapabilities_Dav _build() { - final _$result = _$v ?? - _$DavCapabilities_Dav._( - chunking: BuiltValueNullFieldError.checkNotNull(chunking, r'DavCapabilities_Dav', 'chunking'), - bulkupload: bulkupload); + _$FilesSharingCapabilities _build() { + _$FilesSharingCapabilities _$result; + try { + _$result = _$v ?? _$FilesSharingCapabilities._(filesSharing: filesSharing.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'filesSharing'; + filesSharing.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingCapabilities', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class DavCapabilitiesInterfaceBuilder { - void replace(DavCapabilitiesInterface other); - void update(void Function(DavCapabilitiesInterfaceBuilder) updates); - DavCapabilities_DavBuilder get dav; - set dav(DavCapabilities_DavBuilder? dav); +abstract mixin class FilesTrashbinCapabilities_FilesInterfaceBuilder { + void replace(FilesTrashbinCapabilities_FilesInterface other); + void update(void Function(FilesTrashbinCapabilities_FilesInterfaceBuilder) updates); + bool? get undelete; + set undelete(bool? undelete); } -class _$DavCapabilities extends DavCapabilities { +class _$FilesTrashbinCapabilities_Files extends FilesTrashbinCapabilities_Files { @override - final DavCapabilities_Dav dav; + final bool undelete; - factory _$DavCapabilities([void Function(DavCapabilitiesBuilder)? updates]) => - (DavCapabilitiesBuilder()..update(updates))._build(); + factory _$FilesTrashbinCapabilities_Files([void Function(FilesTrashbinCapabilities_FilesBuilder)? updates]) => + (FilesTrashbinCapabilities_FilesBuilder()..update(updates))._build(); - _$DavCapabilities._({required this.dav}) : super._() { - BuiltValueNullFieldError.checkNotNull(dav, r'DavCapabilities', 'dav'); + _$FilesTrashbinCapabilities_Files._({required this.undelete}) : super._() { + BuiltValueNullFieldError.checkNotNull(undelete, r'FilesTrashbinCapabilities_Files', 'undelete'); } @override - DavCapabilities rebuild(void Function(DavCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); + FilesTrashbinCapabilities_Files rebuild(void Function(FilesTrashbinCapabilities_FilesBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - DavCapabilitiesBuilder toBuilder() => DavCapabilitiesBuilder()..replace(this); + FilesTrashbinCapabilities_FilesBuilder toBuilder() => FilesTrashbinCapabilities_FilesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is DavCapabilities && dav == other.dav; + return other is FilesTrashbinCapabilities_Files && undelete == other.undelete; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, dav.hashCode); + _$hash = $jc(_$hash, undelete.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'DavCapabilities')..add('dav', dav)).toString(); + return (newBuiltValueToStringHelper(r'FilesTrashbinCapabilities_Files')..add('undelete', undelete)).toString(); } } -class DavCapabilitiesBuilder - implements Builder, DavCapabilitiesInterfaceBuilder { - _$DavCapabilities? _$v; +class FilesTrashbinCapabilities_FilesBuilder + implements + Builder, + FilesTrashbinCapabilities_FilesInterfaceBuilder { + _$FilesTrashbinCapabilities_Files? _$v; - DavCapabilities_DavBuilder? _dav; - DavCapabilities_DavBuilder get dav => _$this._dav ??= DavCapabilities_DavBuilder(); - set dav(covariant DavCapabilities_DavBuilder? dav) => _$this._dav = dav; + bool? _undelete; + bool? get undelete => _$this._undelete; + set undelete(covariant bool? undelete) => _$this._undelete = undelete; - DavCapabilitiesBuilder(); + FilesTrashbinCapabilities_FilesBuilder(); - DavCapabilitiesBuilder get _$this { + FilesTrashbinCapabilities_FilesBuilder get _$this { final $v = _$v; if ($v != null) { - _dav = $v.dav.toBuilder(); + _undelete = $v.undelete; _$v = null; } return this; } @override - void replace(covariant DavCapabilities other) { + void replace(covariant FilesTrashbinCapabilities_Files other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$DavCapabilities; + _$v = other as _$FilesTrashbinCapabilities_Files; } @override - void update(void Function(DavCapabilitiesBuilder)? updates) { + void update(void Function(FilesTrashbinCapabilities_FilesBuilder)? updates) { if (updates != null) updates(this); } @override - DavCapabilities build() => _build(); + FilesTrashbinCapabilities_Files build() => _build(); - _$DavCapabilities _build() { - _$DavCapabilities _$result; - try { - _$result = _$v ?? _$DavCapabilities._(dav: dav.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'dav'; - dav.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'DavCapabilities', _$failedField, e.toString()); - } - rethrow; - } + _$FilesTrashbinCapabilities_Files _build() { + final _$result = _$v ?? + _$FilesTrashbinCapabilities_Files._( + undelete: BuiltValueNullFieldError.checkNotNull(undelete, r'FilesTrashbinCapabilities_Files', 'undelete')); replace(_$result); return _$result; } } -abstract mixin class FilesCapabilities_Files_DirectEditingInterfaceBuilder { - void replace(FilesCapabilities_Files_DirectEditingInterface other); - void update(void Function(FilesCapabilities_Files_DirectEditingInterfaceBuilder) updates); - String? get url; - set url(String? url); - - String? get etag; - set etag(String? etag); - - bool? get supportsFileId; - set supportsFileId(bool? supportsFileId); +abstract mixin class FilesTrashbinCapabilitiesInterfaceBuilder { + void replace(FilesTrashbinCapabilitiesInterface other); + void update(void Function(FilesTrashbinCapabilitiesInterfaceBuilder) updates); + FilesTrashbinCapabilities_FilesBuilder get files; + set files(FilesTrashbinCapabilities_FilesBuilder? files); } -class _$FilesCapabilities_Files_DirectEditing extends FilesCapabilities_Files_DirectEditing { - @override - final String url; - @override - final String etag; +class _$FilesTrashbinCapabilities extends FilesTrashbinCapabilities { @override - final bool supportsFileId; + final FilesTrashbinCapabilities_Files files; - factory _$FilesCapabilities_Files_DirectEditing( - [void Function(FilesCapabilities_Files_DirectEditingBuilder)? updates]) => - (FilesCapabilities_Files_DirectEditingBuilder()..update(updates))._build(); + factory _$FilesTrashbinCapabilities([void Function(FilesTrashbinCapabilitiesBuilder)? updates]) => + (FilesTrashbinCapabilitiesBuilder()..update(updates))._build(); - _$FilesCapabilities_Files_DirectEditing._({required this.url, required this.etag, required this.supportsFileId}) - : super._() { - BuiltValueNullFieldError.checkNotNull(url, r'FilesCapabilities_Files_DirectEditing', 'url'); - BuiltValueNullFieldError.checkNotNull(etag, r'FilesCapabilities_Files_DirectEditing', 'etag'); - BuiltValueNullFieldError.checkNotNull(supportsFileId, r'FilesCapabilities_Files_DirectEditing', 'supportsFileId'); + _$FilesTrashbinCapabilities._({required this.files}) : super._() { + BuiltValueNullFieldError.checkNotNull(files, r'FilesTrashbinCapabilities', 'files'); } @override - FilesCapabilities_Files_DirectEditing rebuild(void Function(FilesCapabilities_Files_DirectEditingBuilder) updates) => + FilesTrashbinCapabilities rebuild(void Function(FilesTrashbinCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesCapabilities_Files_DirectEditingBuilder toBuilder() => - FilesCapabilities_Files_DirectEditingBuilder()..replace(this); + FilesTrashbinCapabilitiesBuilder toBuilder() => FilesTrashbinCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesCapabilities_Files_DirectEditing && - url == other.url && - etag == other.etag && - supportsFileId == other.supportsFileId; + return other is FilesTrashbinCapabilities && files == other.files; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, url.hashCode); - _$hash = $jc(_$hash, etag.hashCode); - _$hash = $jc(_$hash, supportsFileId.hashCode); + _$hash = $jc(_$hash, files.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesCapabilities_Files_DirectEditing') - ..add('url', url) - ..add('etag', etag) - ..add('supportsFileId', supportsFileId)) - .toString(); + return (newBuiltValueToStringHelper(r'FilesTrashbinCapabilities')..add('files', files)).toString(); } } -class FilesCapabilities_Files_DirectEditingBuilder +class FilesTrashbinCapabilitiesBuilder implements - Builder, - FilesCapabilities_Files_DirectEditingInterfaceBuilder { - _$FilesCapabilities_Files_DirectEditing? _$v; - - String? _url; - String? get url => _$this._url; - set url(covariant String? url) => _$this._url = url; - - String? _etag; - String? get etag => _$this._etag; - set etag(covariant String? etag) => _$this._etag = etag; + Builder, + FilesTrashbinCapabilitiesInterfaceBuilder { + _$FilesTrashbinCapabilities? _$v; - bool? _supportsFileId; - bool? get supportsFileId => _$this._supportsFileId; - set supportsFileId(covariant bool? supportsFileId) => _$this._supportsFileId = supportsFileId; + FilesTrashbinCapabilities_FilesBuilder? _files; + FilesTrashbinCapabilities_FilesBuilder get files => _$this._files ??= FilesTrashbinCapabilities_FilesBuilder(); + set files(covariant FilesTrashbinCapabilities_FilesBuilder? files) => _$this._files = files; - FilesCapabilities_Files_DirectEditingBuilder(); + FilesTrashbinCapabilitiesBuilder(); - FilesCapabilities_Files_DirectEditingBuilder get _$this { + FilesTrashbinCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _url = $v.url; - _etag = $v.etag; - _supportsFileId = $v.supportsFileId; + _files = $v.files.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesCapabilities_Files_DirectEditing other) { + void replace(covariant FilesTrashbinCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesCapabilities_Files_DirectEditing; + _$v = other as _$FilesTrashbinCapabilities; } @override - void update(void Function(FilesCapabilities_Files_DirectEditingBuilder)? updates) { + void update(void Function(FilesTrashbinCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesCapabilities_Files_DirectEditing build() => _build(); + FilesTrashbinCapabilities build() => _build(); - _$FilesCapabilities_Files_DirectEditing _build() { - final _$result = _$v ?? - _$FilesCapabilities_Files_DirectEditing._( - url: BuiltValueNullFieldError.checkNotNull(url, r'FilesCapabilities_Files_DirectEditing', 'url'), - etag: BuiltValueNullFieldError.checkNotNull(etag, r'FilesCapabilities_Files_DirectEditing', 'etag'), - supportsFileId: BuiltValueNullFieldError.checkNotNull( - supportsFileId, r'FilesCapabilities_Files_DirectEditing', 'supportsFileId')); + _$FilesTrashbinCapabilities _build() { + _$FilesTrashbinCapabilities _$result; + try { + _$result = _$v ?? _$FilesTrashbinCapabilities._(files: files.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'files'; + files.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesTrashbinCapabilities', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class FilesCapabilities_FilesInterfaceBuilder { - void replace(FilesCapabilities_FilesInterface other); - void update(void Function(FilesCapabilities_FilesInterfaceBuilder) updates); - bool? get bigfilechunking; - set bigfilechunking(bool? bigfilechunking); +abstract mixin class FilesVersionsCapabilities_FilesInterfaceBuilder { + void replace(FilesVersionsCapabilities_FilesInterface other); + void update(void Function(FilesVersionsCapabilities_FilesInterfaceBuilder) updates); + bool? get versioning; + set versioning(bool? versioning); - ListBuilder get blacklistedFiles; - set blacklistedFiles(ListBuilder? blacklistedFiles); + bool? get versionLabeling; + set versionLabeling(bool? versionLabeling); - FilesCapabilities_Files_DirectEditingBuilder get directEditing; - set directEditing(FilesCapabilities_Files_DirectEditingBuilder? directEditing); + bool? get versionDeletion; + set versionDeletion(bool? versionDeletion); } -class _$FilesCapabilities_Files extends FilesCapabilities_Files { +class _$FilesVersionsCapabilities_Files extends FilesVersionsCapabilities_Files { @override - final bool bigfilechunking; + final bool versioning; @override - final BuiltList blacklistedFiles; + final bool versionLabeling; @override - final FilesCapabilities_Files_DirectEditing directEditing; + final bool versionDeletion; - factory _$FilesCapabilities_Files([void Function(FilesCapabilities_FilesBuilder)? updates]) => - (FilesCapabilities_FilesBuilder()..update(updates))._build(); + factory _$FilesVersionsCapabilities_Files([void Function(FilesVersionsCapabilities_FilesBuilder)? updates]) => + (FilesVersionsCapabilities_FilesBuilder()..update(updates))._build(); - _$FilesCapabilities_Files._( - {required this.bigfilechunking, required this.blacklistedFiles, required this.directEditing}) + _$FilesVersionsCapabilities_Files._( + {required this.versioning, required this.versionLabeling, required this.versionDeletion}) : super._() { - BuiltValueNullFieldError.checkNotNull(bigfilechunking, r'FilesCapabilities_Files', 'bigfilechunking'); - BuiltValueNullFieldError.checkNotNull(blacklistedFiles, r'FilesCapabilities_Files', 'blacklistedFiles'); - BuiltValueNullFieldError.checkNotNull(directEditing, r'FilesCapabilities_Files', 'directEditing'); + BuiltValueNullFieldError.checkNotNull(versioning, r'FilesVersionsCapabilities_Files', 'versioning'); + BuiltValueNullFieldError.checkNotNull(versionLabeling, r'FilesVersionsCapabilities_Files', 'versionLabeling'); + BuiltValueNullFieldError.checkNotNull(versionDeletion, r'FilesVersionsCapabilities_Files', 'versionDeletion'); } @override - FilesCapabilities_Files rebuild(void Function(FilesCapabilities_FilesBuilder) updates) => + FilesVersionsCapabilities_Files rebuild(void Function(FilesVersionsCapabilities_FilesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesCapabilities_FilesBuilder toBuilder() => FilesCapabilities_FilesBuilder()..replace(this); + FilesVersionsCapabilities_FilesBuilder toBuilder() => FilesVersionsCapabilities_FilesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesCapabilities_Files && - bigfilechunking == other.bigfilechunking && - blacklistedFiles == other.blacklistedFiles && - directEditing == other.directEditing; + return other is FilesVersionsCapabilities_Files && + versioning == other.versioning && + versionLabeling == other.versionLabeling && + versionDeletion == other.versionDeletion; } @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, versioning.hashCode); + _$hash = $jc(_$hash, versionLabeling.hashCode); + _$hash = $jc(_$hash, versionDeletion.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesCapabilities_Files') - ..add('bigfilechunking', bigfilechunking) - ..add('blacklistedFiles', blacklistedFiles) - ..add('directEditing', directEditing)) + return (newBuiltValueToStringHelper(r'FilesVersionsCapabilities_Files') + ..add('versioning', versioning) + ..add('versionLabeling', versionLabeling) + ..add('versionDeletion', versionDeletion)) .toString(); } } -class FilesCapabilities_FilesBuilder +class FilesVersionsCapabilities_FilesBuilder implements - Builder, - FilesCapabilities_FilesInterfaceBuilder { - _$FilesCapabilities_Files? _$v; + Builder, + FilesVersionsCapabilities_FilesInterfaceBuilder { + _$FilesVersionsCapabilities_Files? _$v; - bool? _bigfilechunking; - bool? get bigfilechunking => _$this._bigfilechunking; - set bigfilechunking(covariant bool? bigfilechunking) => _$this._bigfilechunking = bigfilechunking; + bool? _versioning; + bool? get versioning => _$this._versioning; + set versioning(covariant bool? versioning) => _$this._versioning = versioning; - ListBuilder? _blacklistedFiles; - ListBuilder get blacklistedFiles => _$this._blacklistedFiles ??= ListBuilder(); - set blacklistedFiles(covariant ListBuilder? blacklistedFiles) => - _$this._blacklistedFiles = blacklistedFiles; + bool? _versionLabeling; + bool? get versionLabeling => _$this._versionLabeling; + set versionLabeling(covariant bool? versionLabeling) => _$this._versionLabeling = versionLabeling; - FilesCapabilities_Files_DirectEditingBuilder? _directEditing; - FilesCapabilities_Files_DirectEditingBuilder get directEditing => - _$this._directEditing ??= FilesCapabilities_Files_DirectEditingBuilder(); - set directEditing(covariant FilesCapabilities_Files_DirectEditingBuilder? directEditing) => - _$this._directEditing = directEditing; + bool? _versionDeletion; + bool? get versionDeletion => _$this._versionDeletion; + set versionDeletion(covariant bool? versionDeletion) => _$this._versionDeletion = versionDeletion; - FilesCapabilities_FilesBuilder(); + FilesVersionsCapabilities_FilesBuilder(); - FilesCapabilities_FilesBuilder get _$this { + FilesVersionsCapabilities_FilesBuilder get _$this { final $v = _$v; if ($v != null) { - _bigfilechunking = $v.bigfilechunking; - _blacklistedFiles = $v.blacklistedFiles.toBuilder(); - _directEditing = $v.directEditing.toBuilder(); + _versioning = $v.versioning; + _versionLabeling = $v.versionLabeling; + _versionDeletion = $v.versionDeletion; _$v = null; } return this; } @override - void replace(covariant FilesCapabilities_Files other) { + void replace(covariant FilesVersionsCapabilities_Files other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesCapabilities_Files; + _$v = other as _$FilesVersionsCapabilities_Files; } @override - void update(void Function(FilesCapabilities_FilesBuilder)? updates) { + void update(void Function(FilesVersionsCapabilities_FilesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesCapabilities_Files build() => _build(); + FilesVersionsCapabilities_Files build() => _build(); - _$FilesCapabilities_Files _build() { - _$FilesCapabilities_Files _$result; - try { - _$result = _$v ?? - _$FilesCapabilities_Files._( - bigfilechunking: - BuiltValueNullFieldError.checkNotNull(bigfilechunking, r'FilesCapabilities_Files', 'bigfilechunking'), - blacklistedFiles: blacklistedFiles.build(), - directEditing: directEditing.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'blacklistedFiles'; - blacklistedFiles.build(); - _$failedField = 'directEditing'; - directEditing.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'FilesCapabilities_Files', _$failedField, e.toString()); - } - rethrow; - } + _$FilesVersionsCapabilities_Files _build() { + final _$result = _$v ?? + _$FilesVersionsCapabilities_Files._( + versioning: + BuiltValueNullFieldError.checkNotNull(versioning, r'FilesVersionsCapabilities_Files', 'versioning'), + versionLabeling: BuiltValueNullFieldError.checkNotNull( + versionLabeling, r'FilesVersionsCapabilities_Files', 'versionLabeling'), + versionDeletion: BuiltValueNullFieldError.checkNotNull( + versionDeletion, r'FilesVersionsCapabilities_Files', 'versionDeletion')); replace(_$result); return _$result; } } -abstract mixin class FilesCapabilitiesInterfaceBuilder { - void replace(FilesCapabilitiesInterface other); - void update(void Function(FilesCapabilitiesInterfaceBuilder) updates); - FilesCapabilities_FilesBuilder get files; - set files(FilesCapabilities_FilesBuilder? files); +abstract mixin class FilesVersionsCapabilitiesInterfaceBuilder { + void replace(FilesVersionsCapabilitiesInterface other); + void update(void Function(FilesVersionsCapabilitiesInterfaceBuilder) updates); + FilesVersionsCapabilities_FilesBuilder get files; + set files(FilesVersionsCapabilities_FilesBuilder? files); } -class _$FilesCapabilities extends FilesCapabilities { +class _$FilesVersionsCapabilities extends FilesVersionsCapabilities { @override - final FilesCapabilities_Files files; + final FilesVersionsCapabilities_Files files; - factory _$FilesCapabilities([void Function(FilesCapabilitiesBuilder)? updates]) => - (FilesCapabilitiesBuilder()..update(updates))._build(); + factory _$FilesVersionsCapabilities([void Function(FilesVersionsCapabilitiesBuilder)? updates]) => + (FilesVersionsCapabilitiesBuilder()..update(updates))._build(); - _$FilesCapabilities._({required this.files}) : super._() { - BuiltValueNullFieldError.checkNotNull(files, r'FilesCapabilities', 'files'); + _$FilesVersionsCapabilities._({required this.files}) : super._() { + BuiltValueNullFieldError.checkNotNull(files, r'FilesVersionsCapabilities', 'files'); } @override - FilesCapabilities rebuild(void Function(FilesCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); + FilesVersionsCapabilities rebuild(void Function(FilesVersionsCapabilitiesBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - FilesCapabilitiesBuilder toBuilder() => FilesCapabilitiesBuilder()..replace(this); + FilesVersionsCapabilitiesBuilder toBuilder() => FilesVersionsCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesCapabilities && files == other.files; + return other is FilesVersionsCapabilities && files == other.files; } @override @@ -15674,21 +18942,23 @@ class _$FilesCapabilities extends FilesCapabilities { @override String toString() { - return (newBuiltValueToStringHelper(r'FilesCapabilities')..add('files', files)).toString(); + return (newBuiltValueToStringHelper(r'FilesVersionsCapabilities')..add('files', files)).toString(); } } -class FilesCapabilitiesBuilder - implements Builder, FilesCapabilitiesInterfaceBuilder { - _$FilesCapabilities? _$v; +class FilesVersionsCapabilitiesBuilder + implements + Builder, + FilesVersionsCapabilitiesInterfaceBuilder { + _$FilesVersionsCapabilities? _$v; - FilesCapabilities_FilesBuilder? _files; - FilesCapabilities_FilesBuilder get files => _$this._files ??= FilesCapabilities_FilesBuilder(); - set files(covariant FilesCapabilities_FilesBuilder? files) => _$this._files = files; + FilesVersionsCapabilities_FilesBuilder? _files; + FilesVersionsCapabilities_FilesBuilder get files => _$this._files ??= FilesVersionsCapabilities_FilesBuilder(); + set files(covariant FilesVersionsCapabilities_FilesBuilder? files) => _$this._files = files; - FilesCapabilitiesBuilder(); + FilesVersionsCapabilitiesBuilder(); - FilesCapabilitiesBuilder get _$this { + FilesVersionsCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { _files = $v.files.toBuilder(); @@ -15698,30 +18968,30 @@ class FilesCapabilitiesBuilder } @override - void replace(covariant FilesCapabilities other) { + void replace(covariant FilesVersionsCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesCapabilities; + _$v = other as _$FilesVersionsCapabilities; } @override - void update(void Function(FilesCapabilitiesBuilder)? updates) { + void update(void Function(FilesVersionsCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesCapabilities build() => _build(); + FilesVersionsCapabilities build() => _build(); - _$FilesCapabilities _build() { - _$FilesCapabilities _$result; + _$FilesVersionsCapabilities _build() { + _$FilesVersionsCapabilities _$result; try { - _$result = _$v ?? _$FilesCapabilities._(files: files.build()); + _$result = _$v ?? _$FilesVersionsCapabilities._(files: files.build()); } catch (_) { late String _$failedField; try { _$failedField = 'files'; files.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'FilesCapabilities', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'FilesVersionsCapabilities', _$failedField, e.toString()); } rethrow; } @@ -15730,1556 +19000,1438 @@ class FilesCapabilitiesBuilder } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Public_PasswordInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Public_PasswordInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordInterfaceBuilder) updates); - bool? get enforced; - set enforced(bool? enforced); +abstract mixin class NotesCapabilities_NotesInterfaceBuilder { + void replace(NotesCapabilities_NotesInterface other); + void update(void Function(NotesCapabilities_NotesInterfaceBuilder) updates); + ListBuilder get apiVersion; + set apiVersion(ListBuilder? apiVersion); - bool? get askForOptionalPassword; - set askForOptionalPassword(bool? askForOptionalPassword); + String? get version; + set version(String? version); } -class _$FilesSharingCapabilities_FilesSharing_Public_Password - extends FilesSharingCapabilities_FilesSharing_Public_Password { +class _$NotesCapabilities_Notes extends NotesCapabilities_Notes { @override - final bool enforced; + final BuiltList? apiVersion; @override - final bool askForOptionalPassword; + final String? version; - factory _$FilesSharingCapabilities_FilesSharing_Public_Password( - [void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder()..update(updates))._build(); + factory _$NotesCapabilities_Notes([void Function(NotesCapabilities_NotesBuilder)? updates]) => + (NotesCapabilities_NotesBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Public_Password._( - {required this.enforced, required this.askForOptionalPassword}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - enforced, r'FilesSharingCapabilities_FilesSharing_Public_Password', 'enforced'); - BuiltValueNullFieldError.checkNotNull( - askForOptionalPassword, r'FilesSharingCapabilities_FilesSharing_Public_Password', 'askForOptionalPassword'); - } + _$NotesCapabilities_Notes._({this.apiVersion, this.version}) : super._(); @override - FilesSharingCapabilities_FilesSharing_Public_Password rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder) updates) => + NotesCapabilities_Notes rebuild(void Function(NotesCapabilities_NotesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder()..replace(this); + NotesCapabilities_NotesBuilder toBuilder() => NotesCapabilities_NotesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Public_Password && - enforced == other.enforced && - askForOptionalPassword == other.askForOptionalPassword; + return other is NotesCapabilities_Notes && apiVersion == other.apiVersion && version == other.version; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enforced.hashCode); - _$hash = $jc(_$hash, askForOptionalPassword.hashCode); + _$hash = $jc(_$hash, apiVersion.hashCode); + _$hash = $jc(_$hash, version.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_Password') - ..add('enforced', enforced) - ..add('askForOptionalPassword', askForOptionalPassword)) + return (newBuiltValueToStringHelper(r'NotesCapabilities_Notes') + ..add('apiVersion', apiVersion) + ..add('version', version)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder +class NotesCapabilities_NotesBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Public_PasswordInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Public_Password? _$v; + Builder, + NotesCapabilities_NotesInterfaceBuilder { + _$NotesCapabilities_Notes? _$v; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(covariant bool? enforced) => _$this._enforced = enforced; + ListBuilder? _apiVersion; + ListBuilder get apiVersion => _$this._apiVersion ??= ListBuilder(); + set apiVersion(covariant ListBuilder? apiVersion) => _$this._apiVersion = apiVersion; - bool? _askForOptionalPassword; - bool? get askForOptionalPassword => _$this._askForOptionalPassword; - set askForOptionalPassword(covariant bool? askForOptionalPassword) => - _$this._askForOptionalPassword = askForOptionalPassword; + String? _version; + String? get version => _$this._version; + set version(covariant String? version) => _$this._version = version; - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); + NotesCapabilities_NotesBuilder(); - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get _$this { + NotesCapabilities_NotesBuilder get _$this { final $v = _$v; if ($v != null) { - _enforced = $v.enforced; - _askForOptionalPassword = $v.askForOptionalPassword; + _apiVersion = $v.apiVersion?.toBuilder(); + _version = $v.version; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Public_Password other) { + void replace(covariant NotesCapabilities_Notes other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_Password; + _$v = other as _$NotesCapabilities_Notes; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? updates) { + void update(void Function(NotesCapabilities_NotesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Public_Password build() => _build(); + NotesCapabilities_Notes build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Public_Password _build() { - final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Public_Password._( - enforced: BuiltValueNullFieldError.checkNotNull( - enforced, r'FilesSharingCapabilities_FilesSharing_Public_Password', 'enforced'), - askForOptionalPassword: BuiltValueNullFieldError.checkNotNull(askForOptionalPassword, - r'FilesSharingCapabilities_FilesSharing_Public_Password', 'askForOptionalPassword')); + _$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; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); - - int? get days; - set days(int? days); - - bool? get enforced; - set enforced(bool? enforced); +abstract mixin class NotesCapabilitiesInterfaceBuilder { + void replace(NotesCapabilitiesInterface other); + void update(void Function(NotesCapabilitiesInterfaceBuilder) updates); + NotesCapabilities_NotesBuilder get notes; + set notes(NotesCapabilities_NotesBuilder? notes); } -class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate - extends FilesSharingCapabilities_FilesSharing_Public_ExpireDate { - @override - final bool enabled; - @override - final int? days; +class _$NotesCapabilities extends NotesCapabilities { @override - final bool? enforced; + final NotesCapabilities_Notes notes; - factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate( - [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder()..update(updates))._build(); + factory _$NotesCapabilities([void Function(NotesCapabilitiesBuilder)? updates]) => + (NotesCapabilitiesBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate._({required this.enabled, this.days, this.enforced}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate', 'enabled'); + _$NotesCapabilities._({required this.notes}) : super._() { + BuiltValueNullFieldError.checkNotNull(notes, r'NotesCapabilities', 'notes'); } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDate rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder) updates) => - (toBuilder()..update(updates)).build(); + NotesCapabilities rebuild(void Function(NotesCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder()..replace(this); + NotesCapabilitiesBuilder toBuilder() => NotesCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Public_ExpireDate && - enabled == other.enabled && - days == other.days && - enforced == other.enforced; + return other is NotesCapabilities && notes == other.notes; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, days.hashCode); - _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, notes.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate') - ..add('enabled', enabled) - ..add('days', days) - ..add('enforced', enforced)) - .toString(); + return (newBuiltValueToStringHelper(r'NotesCapabilities')..add('notes', notes)).toString(); } } -class FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder - implements - Builder, - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; - - int? _days; - int? get days => _$this._days; - set days(covariant int? days) => _$this._days = days; +class NotesCapabilitiesBuilder + implements Builder, NotesCapabilitiesInterfaceBuilder { + _$NotesCapabilities? _$v; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(covariant bool? enforced) => _$this._enforced = enforced; + NotesCapabilities_NotesBuilder? _notes; + NotesCapabilities_NotesBuilder get notes => _$this._notes ??= NotesCapabilities_NotesBuilder(); + set notes(covariant NotesCapabilities_NotesBuilder? notes) => _$this._notes = notes; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); + NotesCapabilitiesBuilder(); - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get _$this { + NotesCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _days = $v.days; - _enforced = $v.enforced; + _notes = $v.notes.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDate other) { + void replace(covariant NotesCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate; + _$v = other as _$NotesCapabilities; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? updates) { + void update(void Function(NotesCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDate build() => _build(); + NotesCapabilities build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate _build() { - final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate', 'enabled'), - days: days, - enforced: enforced); + _$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; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class NotificationsCapabilities_NotificationsInterfaceBuilder { + void replace(NotificationsCapabilities_NotificationsInterface other); + void update(void Function(NotificationsCapabilities_NotificationsInterfaceBuilder) updates); + ListBuilder get ocsEndpoints; + set ocsEndpoints(ListBuilder? ocsEndpoints); - int? get days; - set days(int? days); + ListBuilder get push; + set push(ListBuilder? push); - bool? get enforced; - set enforced(bool? enforced); + ListBuilder get adminNotifications; + set adminNotifications(ListBuilder? adminNotifications); } -class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal - extends FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal { +class _$NotificationsCapabilities_Notifications extends NotificationsCapabilities_Notifications { @override - final bool enabled; + final BuiltList ocsEndpoints; @override - final int? days; + final BuiltList push; @override - final bool? enforced; + final BuiltList adminNotifications; - factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal( - [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder()..update(updates))._build(); + factory _$NotificationsCapabilities_Notifications( + [void Function(NotificationsCapabilities_NotificationsBuilder)? updates]) => + (NotificationsCapabilities_NotificationsBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._({required this.enabled, this.days, this.enforced}) + _$NotificationsCapabilities_Notifications._( + {required this.ocsEndpoints, required this.push, required this.adminNotifications}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocsEndpoints, r'NotificationsCapabilities_Notifications', 'ocsEndpoints'); + BuiltValueNullFieldError.checkNotNull(push, r'NotificationsCapabilities_Notifications', 'push'); BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal', 'enabled'); + adminNotifications, r'NotificationsCapabilities_Notifications', 'adminNotifications'); } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder) updates) => + NotificationsCapabilities_Notifications rebuild( + void Function(NotificationsCapabilities_NotificationsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder()..replace(this); + NotificationsCapabilities_NotificationsBuilder toBuilder() => + NotificationsCapabilities_NotificationsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal && - enabled == other.enabled && - days == other.days && - enforced == other.enforced; + return other is NotificationsCapabilities_Notifications && + ocsEndpoints == other.ocsEndpoints && + push == other.push && + adminNotifications == other.adminNotifications; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, days.hashCode); - _$hash = $jc(_$hash, enforced.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'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal') - ..add('enabled', enabled) - ..add('days', days) - ..add('enforced', enforced)) + return (newBuiltValueToStringHelper(r'NotificationsCapabilities_Notifications') + ..add('ocsEndpoints', ocsEndpoints) + ..add('push', push) + ..add('adminNotifications', adminNotifications)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder +class NotificationsCapabilities_NotificationsBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? _$v; + Builder, + NotificationsCapabilities_NotificationsInterfaceBuilder { + _$NotificationsCapabilities_Notifications? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + ListBuilder? _ocsEndpoints; + ListBuilder get ocsEndpoints => _$this._ocsEndpoints ??= ListBuilder(); + set ocsEndpoints(covariant ListBuilder? ocsEndpoints) => _$this._ocsEndpoints = ocsEndpoints; - int? _days; - int? get days => _$this._days; - set days(covariant int? days) => _$this._days = days; + ListBuilder? _push; + ListBuilder get push => _$this._push ??= ListBuilder(); + set push(covariant ListBuilder? push) => _$this._push = push; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(covariant bool? enforced) => _$this._enforced = enforced; + ListBuilder? _adminNotifications; + ListBuilder get adminNotifications => _$this._adminNotifications ??= ListBuilder(); + set adminNotifications(covariant ListBuilder? adminNotifications) => + _$this._adminNotifications = adminNotifications; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); + NotificationsCapabilities_NotificationsBuilder(); - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder get _$this { + NotificationsCapabilities_NotificationsBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _days = $v.days; - _enforced = $v.enforced; + _ocsEndpoints = $v.ocsEndpoints.toBuilder(); + _push = $v.push.toBuilder(); + _adminNotifications = $v.adminNotifications.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal other) { + void replace(covariant NotificationsCapabilities_Notifications other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal; + _$v = other as _$NotificationsCapabilities_Notifications; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? updates) { + void update(void Function(NotificationsCapabilities_NotificationsBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal build() => _build(); + NotificationsCapabilities_Notifications build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal _build() { - final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal', 'enabled'), - days: days, - enforced: enforced); + _$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; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); - - int? get days; - set days(int? days); - - bool? get enforced; - set enforced(bool? enforced); +abstract mixin class NotificationsCapabilitiesInterfaceBuilder { + void replace(NotificationsCapabilitiesInterface other); + void update(void Function(NotificationsCapabilitiesInterfaceBuilder) updates); + NotificationsCapabilities_NotificationsBuilder get notifications; + set notifications(NotificationsCapabilities_NotificationsBuilder? notifications); } -class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote - extends FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote { - @override - final bool enabled; - @override - final int? days; +class _$NotificationsCapabilities extends NotificationsCapabilities { @override - final bool? enforced; + final NotificationsCapabilities_Notifications notifications; - factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote( - [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder()..update(updates))._build(); + factory _$NotificationsCapabilities([void Function(NotificationsCapabilitiesBuilder)? updates]) => + (NotificationsCapabilitiesBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._({required this.enabled, this.days, this.enforced}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote', 'enabled'); + _$NotificationsCapabilities._({required this.notifications}) : super._() { + BuiltValueNullFieldError.checkNotNull(notifications, r'NotificationsCapabilities', 'notifications'); } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder) updates) => + NotificationsCapabilities rebuild(void Function(NotificationsCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder()..replace(this); + NotificationsCapabilitiesBuilder toBuilder() => NotificationsCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote && - enabled == other.enabled && - days == other.days && - enforced == other.enforced; + return other is NotificationsCapabilities && notifications == other.notifications; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, days.hashCode); - _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, notifications.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote') - ..add('enabled', enabled) - ..add('days', days) - ..add('enforced', enforced)) - .toString(); + return (newBuiltValueToStringHelper(r'NotificationsCapabilities')..add('notifications', notifications)).toString(); } } -class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder +class NotificationsCapabilitiesBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; - - int? _days; - int? get days => _$this._days; - set days(covariant int? days) => _$this._days = days; + Builder, + NotificationsCapabilitiesInterfaceBuilder { + _$NotificationsCapabilities? _$v; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(covariant bool? enforced) => _$this._enforced = enforced; + NotificationsCapabilities_NotificationsBuilder? _notifications; + NotificationsCapabilities_NotificationsBuilder get notifications => + _$this._notifications ??= NotificationsCapabilities_NotificationsBuilder(); + set notifications(covariant NotificationsCapabilities_NotificationsBuilder? notifications) => + _$this._notifications = notifications; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); + NotificationsCapabilitiesBuilder(); - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder get _$this { + NotificationsCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _days = $v.days; - _enforced = $v.enforced; + _notifications = $v.notifications.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote other) { + void replace(covariant NotificationsCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote; + _$v = other as _$NotificationsCapabilities; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? updates) { + void update(void Function(NotificationsCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote build() => _build(); + NotificationsCapabilities build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote _build() { - final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote', 'enabled'), - days: days, - enforced: enforced); + _$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; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_PublicInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_PublicInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_PublicInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); - - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get password; - set password(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? password); - - bool? get multipleLinks; - set multipleLinks(bool? multipleLinks); - - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get expireDate; - set expireDate(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? expireDate); - - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder get expireDateInternal; - set expireDateInternal(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? expireDateInternal); - - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder get expireDateRemote; - set expireDateRemote(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? expireDateRemote); +abstract mixin class ProvisioningApiCapabilities_ProvisioningApiInterfaceBuilder { + void replace(ProvisioningApiCapabilities_ProvisioningApiInterface other); + void update(void Function(ProvisioningApiCapabilities_ProvisioningApiInterfaceBuilder) updates); + String? get version; + set version(String? version); - bool? get sendMail; - set sendMail(bool? sendMail); + int? get accountPropertyScopesVersion; + set accountPropertyScopesVersion(int? accountPropertyScopesVersion); - bool? get upload; - set upload(bool? upload); + bool? get accountPropertyScopesFederatedEnabled; + set accountPropertyScopesFederatedEnabled(bool? accountPropertyScopesFederatedEnabled); - bool? get uploadFilesDrop; - set uploadFilesDrop(bool? uploadFilesDrop); + bool? get accountPropertyScopesPublishedEnabled; + set accountPropertyScopesPublishedEnabled(bool? accountPropertyScopesPublishedEnabled); } -class _$FilesSharingCapabilities_FilesSharing_Public extends FilesSharingCapabilities_FilesSharing_Public { - @override - final bool enabled; - @override - final FilesSharingCapabilities_FilesSharing_Public_Password? password; - @override - final bool? multipleLinks; - @override - final FilesSharingCapabilities_FilesSharing_Public_ExpireDate? expireDate; - @override - final FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? expireDateInternal; +class _$ProvisioningApiCapabilities_ProvisioningApi extends ProvisioningApiCapabilities_ProvisioningApi { @override - final FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? expireDateRemote; + final String version; @override - final bool? sendMail; + final int accountPropertyScopesVersion; @override - final bool? upload; + final bool accountPropertyScopesFederatedEnabled; @override - final bool? uploadFilesDrop; + final bool accountPropertyScopesPublishedEnabled; - factory _$FilesSharingCapabilities_FilesSharing_Public( - [void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_PublicBuilder()..update(updates))._build(); + factory _$ProvisioningApiCapabilities_ProvisioningApi( + [void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? updates]) => + (ProvisioningApiCapabilities_ProvisioningApiBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Public._( - {required this.enabled, - this.password, - this.multipleLinks, - this.expireDate, - this.expireDateInternal, - this.expireDateRemote, - this.sendMail, - this.upload, - this.uploadFilesDrop}) + _$ProvisioningApiCapabilities_ProvisioningApi._( + {required this.version, + required this.accountPropertyScopesVersion, + required this.accountPropertyScopesFederatedEnabled, + required this.accountPropertyScopesPublishedEnabled}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'FilesSharingCapabilities_FilesSharing_Public', 'enabled'); + 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 - FilesSharingCapabilities_FilesSharing_Public rebuild( - void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder) updates) => - (toBuilder()..update(updates)).build(); - - @override - FilesSharingCapabilities_FilesSharing_PublicBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_PublicBuilder()..replace(this); - - @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Public && - enabled == other.enabled && - password == other.password && - multipleLinks == other.multipleLinks && - expireDate == other.expireDate && - expireDateInternal == other.expireDateInternal && - expireDateRemote == other.expireDateRemote && - sendMail == other.sendMail && - upload == other.upload && - uploadFilesDrop == other.uploadFilesDrop; + 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, enabled.hashCode); - _$hash = $jc(_$hash, password.hashCode); - _$hash = $jc(_$hash, multipleLinks.hashCode); - _$hash = $jc(_$hash, expireDate.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, 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'FilesSharingCapabilities_FilesSharing_Public') - ..add('enabled', enabled) - ..add('password', password) - ..add('multipleLinks', multipleLinks) - ..add('expireDate', expireDate) - ..add('expireDateInternal', expireDateInternal) - ..add('expireDateRemote', expireDateRemote) - ..add('sendMail', sendMail) - ..add('upload', upload) - ..add('uploadFilesDrop', uploadFilesDrop)) + return (newBuiltValueToStringHelper(r'ProvisioningApiCapabilities_ProvisioningApi') + ..add('version', version) + ..add('accountPropertyScopesVersion', accountPropertyScopesVersion) + ..add('accountPropertyScopesFederatedEnabled', accountPropertyScopesFederatedEnabled) + ..add('accountPropertyScopesPublishedEnabled', accountPropertyScopesPublishedEnabled)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_PublicBuilder +class ProvisioningApiCapabilities_ProvisioningApiBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_PublicInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Public? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; - - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? _password; - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get password => - _$this._password ??= FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); - set password(covariant FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? password) => - _$this._password = password; - - bool? _multipleLinks; - bool? get multipleLinks => _$this._multipleLinks; - set multipleLinks(covariant bool? multipleLinks) => _$this._multipleLinks = multipleLinks; - - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? _expireDate; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get expireDate => - _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); - set expireDate(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; - - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? _expireDateInternal; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder get expireDateInternal => - _$this._expireDateInternal ??= FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); - set expireDateInternal( - covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? expireDateInternal) => - _$this._expireDateInternal = expireDateInternal; + Builder, + ProvisioningApiCapabilities_ProvisioningApiInterfaceBuilder { + _$ProvisioningApiCapabilities_ProvisioningApi? _$v; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? _expireDateRemote; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder get expireDateRemote => - _$this._expireDateRemote ??= FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); - set expireDateRemote( - covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? expireDateRemote) => - _$this._expireDateRemote = expireDateRemote; + String? _version; + String? get version => _$this._version; + set version(covariant String? version) => _$this._version = version; - bool? _sendMail; - bool? get sendMail => _$this._sendMail; - set sendMail(covariant bool? sendMail) => _$this._sendMail = sendMail; + int? _accountPropertyScopesVersion; + int? get accountPropertyScopesVersion => _$this._accountPropertyScopesVersion; + set accountPropertyScopesVersion(covariant int? accountPropertyScopesVersion) => + _$this._accountPropertyScopesVersion = accountPropertyScopesVersion; - bool? _upload; - bool? get upload => _$this._upload; - set upload(covariant bool? upload) => _$this._upload = upload; + bool? _accountPropertyScopesFederatedEnabled; + bool? get accountPropertyScopesFederatedEnabled => _$this._accountPropertyScopesFederatedEnabled; + set accountPropertyScopesFederatedEnabled(covariant bool? accountPropertyScopesFederatedEnabled) => + _$this._accountPropertyScopesFederatedEnabled = accountPropertyScopesFederatedEnabled; - bool? _uploadFilesDrop; - bool? get uploadFilesDrop => _$this._uploadFilesDrop; - set uploadFilesDrop(covariant bool? uploadFilesDrop) => _$this._uploadFilesDrop = uploadFilesDrop; + bool? _accountPropertyScopesPublishedEnabled; + bool? get accountPropertyScopesPublishedEnabled => _$this._accountPropertyScopesPublishedEnabled; + set accountPropertyScopesPublishedEnabled(covariant bool? accountPropertyScopesPublishedEnabled) => + _$this._accountPropertyScopesPublishedEnabled = accountPropertyScopesPublishedEnabled; - FilesSharingCapabilities_FilesSharing_PublicBuilder(); + ProvisioningApiCapabilities_ProvisioningApiBuilder(); - FilesSharingCapabilities_FilesSharing_PublicBuilder get _$this { + ProvisioningApiCapabilities_ProvisioningApiBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _password = $v.password?.toBuilder(); - _multipleLinks = $v.multipleLinks; - _expireDate = $v.expireDate?.toBuilder(); - _expireDateInternal = $v.expireDateInternal?.toBuilder(); - _expireDateRemote = $v.expireDateRemote?.toBuilder(); - _sendMail = $v.sendMail; - _upload = $v.upload; - _uploadFilesDrop = $v.uploadFilesDrop; + _version = $v.version; + _accountPropertyScopesVersion = $v.accountPropertyScopesVersion; + _accountPropertyScopesFederatedEnabled = $v.accountPropertyScopesFederatedEnabled; + _accountPropertyScopesPublishedEnabled = $v.accountPropertyScopesPublishedEnabled; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Public other) { + void replace(covariant ProvisioningApiCapabilities_ProvisioningApi other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Public; + _$v = other as _$ProvisioningApiCapabilities_ProvisioningApi; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? updates) { + void update(void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Public build() => _build(); - - _$FilesSharingCapabilities_FilesSharing_Public _build() { - _$FilesSharingCapabilities_FilesSharing_Public _$result; - try { - _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Public._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public', 'enabled'), - password: _password?.build(), - multipleLinks: multipleLinks, - expireDate: _expireDate?.build(), - expireDateInternal: _expireDateInternal?.build(), - expireDateRemote: _expireDateRemote?.build(), - sendMail: sendMail, - upload: upload, - uploadFilesDrop: uploadFilesDrop); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'password'; - _password?.build(); + ProvisioningApiCapabilities_ProvisioningApi build() => _build(); - _$failedField = 'expireDate'; - _expireDate?.build(); - _$failedField = 'expireDateInternal'; - _expireDateInternal?.build(); - _$failedField = 'expireDateRemote'; - _expireDateRemote?.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing_Public', _$failedField, e.toString()); - } - rethrow; - } + _$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; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_User_ExpireDateInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_User_ExpireDateInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class ProvisioningApiCapabilitiesInterfaceBuilder { + void replace(ProvisioningApiCapabilitiesInterface other); + void update(void Function(ProvisioningApiCapabilitiesInterfaceBuilder) updates); + ProvisioningApiCapabilities_ProvisioningApiBuilder get provisioningApi; + set provisioningApi(ProvisioningApiCapabilities_ProvisioningApiBuilder? provisioningApi); } -class _$FilesSharingCapabilities_FilesSharing_User_ExpireDate - extends FilesSharingCapabilities_FilesSharing_User_ExpireDate { +class _$ProvisioningApiCapabilities extends ProvisioningApiCapabilities { @override - final bool enabled; + final ProvisioningApiCapabilities_ProvisioningApi provisioningApi; - factory _$FilesSharingCapabilities_FilesSharing_User_ExpireDate( - [void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder()..update(updates))._build(); + factory _$ProvisioningApiCapabilities([void Function(ProvisioningApiCapabilitiesBuilder)? updates]) => + (ProvisioningApiCapabilitiesBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_User_ExpireDate._({required this.enabled}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'FilesSharingCapabilities_FilesSharing_User_ExpireDate', 'enabled'); + _$ProvisioningApiCapabilities._({required this.provisioningApi}) : super._() { + BuiltValueNullFieldError.checkNotNull(provisioningApi, r'ProvisioningApiCapabilities', 'provisioningApi'); } @override - FilesSharingCapabilities_FilesSharing_User_ExpireDate rebuild( - void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder) updates) => + ProvisioningApiCapabilities rebuild(void Function(ProvisioningApiCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder()..replace(this); + ProvisioningApiCapabilitiesBuilder toBuilder() => ProvisioningApiCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_User_ExpireDate && enabled == other.enabled; + return other is ProvisioningApiCapabilities && provisioningApi == other.provisioningApi; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, provisioningApi.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_User_ExpireDate') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'ProvisioningApiCapabilities')..add('provisioningApi', provisioningApi)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder +class ProvisioningApiCapabilitiesBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_User_ExpireDateInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_User_ExpireDate? _$v; + Builder, + ProvisioningApiCapabilitiesInterfaceBuilder { + _$ProvisioningApiCapabilities? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + ProvisioningApiCapabilities_ProvisioningApiBuilder? _provisioningApi; + ProvisioningApiCapabilities_ProvisioningApiBuilder get provisioningApi => + _$this._provisioningApi ??= ProvisioningApiCapabilities_ProvisioningApiBuilder(); + set provisioningApi(covariant ProvisioningApiCapabilities_ProvisioningApiBuilder? provisioningApi) => + _$this._provisioningApi = provisioningApi; - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); + ProvisioningApiCapabilitiesBuilder(); - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get _$this { + ProvisioningApiCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _provisioningApi = $v.provisioningApi.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_User_ExpireDate other) { + void replace(covariant ProvisioningApiCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_User_ExpireDate; + _$v = other as _$ProvisioningApiCapabilities; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? updates) { + void update(void Function(ProvisioningApiCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_User_ExpireDate build() => _build(); + ProvisioningApiCapabilities build() => _build(); - _$FilesSharingCapabilities_FilesSharing_User_ExpireDate _build() { - final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_User_ExpireDate._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_User_ExpireDate', 'enabled')); + _$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; + } replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_UserInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_UserInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_UserInterfaceBuilder) updates); - bool? get sendMail; - set sendMail(bool? sendMail); - - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get expireDate; - set expireDate(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? expireDate); +abstract mixin class SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder { + void replace(SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropInterface other); + void update(void Function(SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); } -class _$FilesSharingCapabilities_FilesSharing_User extends FilesSharingCapabilities_FilesSharing_User { - @override - final bool sendMail; +class _$SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop + extends SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop { @override - final FilesSharingCapabilities_FilesSharing_User_ExpireDate? expireDate; + final bool enabled; - factory _$FilesSharingCapabilities_FilesSharing_User( - [void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_UserBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop( + [void Function(SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder)? updates]) => + (SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_User._({required this.sendMail, this.expireDate}) : super._() { - BuiltValueNullFieldError.checkNotNull(sendMail, r'FilesSharingCapabilities_FilesSharing_User', 'sendMail'); + _$SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop._({required this.enabled}) : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop', 'enabled'); } @override - FilesSharingCapabilities_FilesSharing_User rebuild( - void Function(FilesSharingCapabilities_FilesSharing_UserBuilder) updates) => + SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop rebuild( + void Function(SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_UserBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_UserBuilder()..replace(this); + SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder toBuilder() => + SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_User && - sendMail == other.sendMail && - expireDate == other.expireDate; + return other is SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop && enabled == other.enabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, sendMail.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_User') - ..add('sendMail', sendMail) - ..add('expireDate', expireDate)) + return (newBuiltValueToStringHelper(r'SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop') + ..add('enabled', enabled)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_UserBuilder +class SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_UserInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_User? _$v; - - bool? _sendMail; - bool? get sendMail => _$this._sendMail; - set sendMail(covariant bool? sendMail) => _$this._sendMail = sendMail; + Builder, + SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder { + _$SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop? _$v; - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? _expireDate; - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get expireDate => - _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); - set expireDate(covariant FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - FilesSharingCapabilities_FilesSharing_UserBuilder(); + SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder(); - FilesSharingCapabilities_FilesSharing_UserBuilder get _$this { + SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder get _$this { final $v = _$v; if ($v != null) { - _sendMail = $v.sendMail; - _expireDate = $v.expireDate?.toBuilder(); + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_User other) { + void replace(covariant SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_User; + _$v = other as _$SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? updates) { + void update(void Function(SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_User build() => _build(); + SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop build() => _build(); - _$FilesSharingCapabilities_FilesSharing_User _build() { - _$FilesSharingCapabilities_FilesSharing_User _$result; - try { - _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_User._( - sendMail: BuiltValueNullFieldError.checkNotNull( - sendMail, r'FilesSharingCapabilities_FilesSharing_User', 'sendMail'), - expireDate: _expireDate?.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'expireDate'; - _expireDate?.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing_User', _$failedField, e.toString()); - } - rethrow; - } + _$SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop _build() { + final _$result = _$v ?? + _$SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop', 'enabled')); replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterfaceBuilder) updates); +abstract mixin class SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordInterfaceBuilder { + void replace(SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordInterface other); + void update(void Function(SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordInterfaceBuilder) updates); bool? get enabled; set enabled(bool? enabled); + + bool? get enforced; + set enforced(bool? enforced); } -class _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate - extends FilesSharingCapabilities_FilesSharing_Group_ExpireDate { +class _$SharebymailCapabilities0_FilesSharing_Sharebymail_Password + extends SharebymailCapabilities0_FilesSharing_Sharebymail_Password { @override final bool enabled; + @override + final bool enforced; - factory _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate( - [void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities0_FilesSharing_Sharebymail_Password( + [void Function(SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordBuilder)? updates]) => + (SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate._({required this.enabled}) : super._() { + _$SharebymailCapabilities0_FilesSharing_Sharebymail_Password._({required this.enabled, required this.enforced}) + : super._() { BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate', 'enabled'); + enabled, r'SharebymailCapabilities0_FilesSharing_Sharebymail_Password', 'enabled'); + BuiltValueNullFieldError.checkNotNull( + enforced, r'SharebymailCapabilities0_FilesSharing_Sharebymail_Password', 'enforced'); } @override - FilesSharingCapabilities_FilesSharing_Group_ExpireDate rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder) updates) => + SharebymailCapabilities0_FilesSharing_Sharebymail_Password rebuild( + void Function(SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder()..replace(this); + SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordBuilder toBuilder() => + SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Group_ExpireDate && enabled == other.enabled; + return other is SharebymailCapabilities0_FilesSharing_Sharebymail_Password && + enabled == other.enabled && + enforced == other.enforced; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'SharebymailCapabilities0_FilesSharing_Sharebymail_Password') + ..add('enabled', enabled) + ..add('enforced', enforced)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder +class SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate? _$v; + Builder, + SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordInterfaceBuilder { + _$SharebymailCapabilities0_FilesSharing_Sharebymail_Password? _$v; bool? _enabled; bool? get enabled => _$this._enabled; set enabled(covariant bool? enabled) => _$this._enabled = enabled; - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(covariant bool? enforced) => _$this._enforced = enforced; - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get _$this { + SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordBuilder(); + + SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordBuilder get _$this { final $v = _$v; if ($v != null) { _enabled = $v.enabled; + _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Group_ExpireDate other) { + void replace(covariant SharebymailCapabilities0_FilesSharing_Sharebymail_Password other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate; + _$v = other as _$SharebymailCapabilities0_FilesSharing_Sharebymail_Password; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? updates) { + void update(void Function(SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Group_ExpireDate build() => _build(); + SharebymailCapabilities0_FilesSharing_Sharebymail_Password build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate _build() { + _$SharebymailCapabilities0_FilesSharing_Sharebymail_Password _build() { final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate._( + _$SharebymailCapabilities0_FilesSharing_Sharebymail_Password._( enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate', 'enabled')); + enabled, r'SharebymailCapabilities0_FilesSharing_Sharebymail_Password', 'enabled'), + enforced: BuiltValueNullFieldError.checkNotNull( + enforced, r'SharebymailCapabilities0_FilesSharing_Sharebymail_Password', 'enforced')); replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_GroupInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_GroupInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_GroupInterfaceBuilder) updates); +abstract mixin class SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder { + void replace(SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateInterface other); + void update(void Function(SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder) updates); bool? get enabled; set enabled(bool? enabled); - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get expireDate; - set expireDate(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? expireDate); + bool? get enforced; + set enforced(bool? enforced); } -class _$FilesSharingCapabilities_FilesSharing_Group extends FilesSharingCapabilities_FilesSharing_Group { +class _$SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate + extends SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate { @override final bool enabled; @override - final FilesSharingCapabilities_FilesSharing_Group_ExpireDate? expireDate; + final bool enforced; - factory _$FilesSharingCapabilities_FilesSharing_Group( - [void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_GroupBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate( + [void Function(SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateBuilder)? updates]) => + (SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Group._({required this.enabled, this.expireDate}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'FilesSharingCapabilities_FilesSharing_Group', 'enabled'); + _$SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate._({required this.enabled, required this.enforced}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate', 'enabled'); + BuiltValueNullFieldError.checkNotNull( + enforced, r'SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate', 'enforced'); } @override - FilesSharingCapabilities_FilesSharing_Group rebuild( - void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder) updates) => + SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate rebuild( + void Function(SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_GroupBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_GroupBuilder()..replace(this); + SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateBuilder toBuilder() => + SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Group && + return other is SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate && enabled == other.enabled && - expireDate == other.expireDate; + enforced == other.enforced; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Group') + return (newBuiltValueToStringHelper(r'SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate') ..add('enabled', enabled) - ..add('expireDate', expireDate)) + ..add('enforced', enforced)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_GroupBuilder +class SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_GroupInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Group? _$v; + Builder, + SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder { + _$SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate? _$v; bool? _enabled; bool? get enabled => _$this._enabled; set enabled(covariant bool? enabled) => _$this._enabled = enabled; - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? _expireDate; - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get expireDate => - _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); - set expireDate(covariant FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(covariant bool? enforced) => _$this._enforced = enforced; - FilesSharingCapabilities_FilesSharing_GroupBuilder(); + SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateBuilder(); - FilesSharingCapabilities_FilesSharing_GroupBuilder get _$this { + SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateBuilder get _$this { final $v = _$v; if ($v != null) { _enabled = $v.enabled; - _expireDate = $v.expireDate?.toBuilder(); + _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Group other) { + void replace(covariant SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Group; + _$v = other as _$SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? updates) { + void update(void Function(SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Group build() => _build(); + SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Group _build() { - _$FilesSharingCapabilities_FilesSharing_Group _$result; - try { - _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Group._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Group', 'enabled'), - expireDate: _expireDate?.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'expireDate'; - _expireDate?.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing_Group', _$failedField, e.toString()); - } - rethrow; - } + _$SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate _build() { + final _$result = _$v ?? + _$SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate', 'enabled'), + enforced: BuiltValueNullFieldError.checkNotNull( + enforced, r'SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate', 'enforced')); replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterfaceBuilder) updates); +abstract mixin class SharebymailCapabilities0_FilesSharing_SharebymailInterfaceBuilder { + void replace(SharebymailCapabilities0_FilesSharing_SharebymailInterface other); + void update(void Function(SharebymailCapabilities0_FilesSharing_SharebymailInterfaceBuilder) updates); bool? get enabled; set enabled(bool? enabled); + + bool? get sendPasswordByMail; + set sendPasswordByMail(bool? sendPasswordByMail); + + SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder get uploadFilesDrop; + set uploadFilesDrop(SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder? uploadFilesDrop); + + SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordBuilder get password; + set password(SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordBuilder? password); + + SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateBuilder get expireDate; + set expireDate(SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateBuilder? expireDate); } -class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate - extends FilesSharingCapabilities_FilesSharing_Federation_ExpireDate { +class _$SharebymailCapabilities0_FilesSharing_Sharebymail extends SharebymailCapabilities0_FilesSharing_Sharebymail { @override final bool enabled; + @override + final bool sendPasswordByMail; + @override + final SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDrop uploadFilesDrop; + @override + final SharebymailCapabilities0_FilesSharing_Sharebymail_Password password; + @override + final SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDate expireDate; - factory _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate( - [void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities0_FilesSharing_Sharebymail( + [void Function(SharebymailCapabilities0_FilesSharing_SharebymailBuilder)? updates]) => + (SharebymailCapabilities0_FilesSharing_SharebymailBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._({required this.enabled}) : super._() { + _$SharebymailCapabilities0_FilesSharing_Sharebymail._( + {required this.enabled, + required this.sendPasswordByMail, + required this.uploadFilesDrop, + required this.password, + required this.expireDate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'SharebymailCapabilities0_FilesSharing_Sharebymail', 'enabled'); BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate', 'enabled'); + sendPasswordByMail, r'SharebymailCapabilities0_FilesSharing_Sharebymail', 'sendPasswordByMail'); + BuiltValueNullFieldError.checkNotNull( + uploadFilesDrop, r'SharebymailCapabilities0_FilesSharing_Sharebymail', 'uploadFilesDrop'); + BuiltValueNullFieldError.checkNotNull(password, r'SharebymailCapabilities0_FilesSharing_Sharebymail', 'password'); + BuiltValueNullFieldError.checkNotNull( + expireDate, r'SharebymailCapabilities0_FilesSharing_Sharebymail', 'expireDate'); } @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDate rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder) updates) => + SharebymailCapabilities0_FilesSharing_Sharebymail rebuild( + void Function(SharebymailCapabilities0_FilesSharing_SharebymailBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder()..replace(this); + SharebymailCapabilities0_FilesSharing_SharebymailBuilder toBuilder() => + SharebymailCapabilities0_FilesSharing_SharebymailBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Federation_ExpireDate && enabled == other.enabled; + return other is SharebymailCapabilities0_FilesSharing_Sharebymail && + enabled == other.enabled && + sendPasswordByMail == other.sendPasswordByMail && + uploadFilesDrop == other.uploadFilesDrop && + password == other.password && + expireDate == other.expireDate; } @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 = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'SharebymailCapabilities0_FilesSharing_Sharebymail') + ..add('enabled', enabled) + ..add('sendPasswordByMail', sendPasswordByMail) + ..add('uploadFilesDrop', uploadFilesDrop) + ..add('password', password) + ..add('expireDate', expireDate)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder +class SharebymailCapabilities0_FilesSharing_SharebymailBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate? _$v; + Builder, + SharebymailCapabilities0_FilesSharing_SharebymailInterfaceBuilder { + _$SharebymailCapabilities0_FilesSharing_Sharebymail? _$v; bool? _enabled; bool? get enabled => _$this._enabled; set enabled(covariant bool? enabled) => _$this._enabled = enabled; - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); + bool? _sendPasswordByMail; + bool? get sendPasswordByMail => _$this._sendPasswordByMail; + set sendPasswordByMail(covariant bool? sendPasswordByMail) => _$this._sendPasswordByMail = sendPasswordByMail; - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get _$this { + SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder? _uploadFilesDrop; + SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder get uploadFilesDrop => + _$this._uploadFilesDrop ??= SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder(); + set uploadFilesDrop( + covariant SharebymailCapabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder? uploadFilesDrop) => + _$this._uploadFilesDrop = uploadFilesDrop; + + SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordBuilder? _password; + SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordBuilder get password => + _$this._password ??= SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordBuilder(); + set password(covariant SharebymailCapabilities0_FilesSharing_Sharebymail_PasswordBuilder? password) => + _$this._password = password; + + SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateBuilder? _expireDate; + SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateBuilder get expireDate => + _$this._expireDate ??= SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateBuilder(); + set expireDate(covariant SharebymailCapabilities0_FilesSharing_Sharebymail_ExpireDateBuilder? expireDate) => + _$this._expireDate = expireDate; + + SharebymailCapabilities0_FilesSharing_SharebymailBuilder(); + + SharebymailCapabilities0_FilesSharing_SharebymailBuilder 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(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDate other) { + void replace(covariant SharebymailCapabilities0_FilesSharing_Sharebymail other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate; + _$v = other as _$SharebymailCapabilities0_FilesSharing_Sharebymail; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? updates) { + void update(void Function(SharebymailCapabilities0_FilesSharing_SharebymailBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDate build() => _build(); + SharebymailCapabilities0_FilesSharing_Sharebymail build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate _build() { - final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate', 'enabled')); + _$SharebymailCapabilities0_FilesSharing_Sharebymail _build() { + _$SharebymailCapabilities0_FilesSharing_Sharebymail _$result; + try { + _$result = _$v ?? + _$SharebymailCapabilities0_FilesSharing_Sharebymail._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'SharebymailCapabilities0_FilesSharing_Sharebymail', 'enabled'), + sendPasswordByMail: BuiltValueNullFieldError.checkNotNull( + sendPasswordByMail, r'SharebymailCapabilities0_FilesSharing_Sharebymail', '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'SharebymailCapabilities0_FilesSharing_Sharebymail', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterface other); - void update( - void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class SharebymailCapabilities0_FilesSharingInterfaceBuilder { + void replace(SharebymailCapabilities0_FilesSharingInterface other); + void update(void Function(SharebymailCapabilities0_FilesSharingInterfaceBuilder) updates); + SharebymailCapabilities0_FilesSharing_SharebymailBuilder get sharebymail; + set sharebymail(SharebymailCapabilities0_FilesSharing_SharebymailBuilder? sharebymail); } -class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported - extends FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported { +class _$SharebymailCapabilities0_FilesSharing extends SharebymailCapabilities0_FilesSharing { @override - final bool enabled; + final SharebymailCapabilities0_FilesSharing_Sharebymail sharebymail; - factory _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported( - [void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities0_FilesSharing( + [void Function(SharebymailCapabilities0_FilesSharingBuilder)? updates]) => + (SharebymailCapabilities0_FilesSharingBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._({required this.enabled}) : super._() { - BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported', 'enabled'); + _$SharebymailCapabilities0_FilesSharing._({required this.sharebymail}) : super._() { + BuiltValueNullFieldError.checkNotNull(sharebymail, r'SharebymailCapabilities0_FilesSharing', 'sharebymail'); } @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder) updates) => + SharebymailCapabilities0_FilesSharing rebuild(void Function(SharebymailCapabilities0_FilesSharingBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder()..replace(this); + SharebymailCapabilities0_FilesSharingBuilder toBuilder() => + SharebymailCapabilities0_FilesSharingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported && enabled == other.enabled; + return other is SharebymailCapabilities0_FilesSharing && sharebymail == other.sharebymail; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, sharebymail.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'SharebymailCapabilities0_FilesSharing')..add('sharebymail', sharebymail)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder +class SharebymailCapabilities0_FilesSharingBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + Builder, + SharebymailCapabilities0_FilesSharingInterfaceBuilder { + _$SharebymailCapabilities0_FilesSharing? _$v; + + SharebymailCapabilities0_FilesSharing_SharebymailBuilder? _sharebymail; + SharebymailCapabilities0_FilesSharing_SharebymailBuilder get sharebymail => + _$this._sharebymail ??= SharebymailCapabilities0_FilesSharing_SharebymailBuilder(); + set sharebymail(covariant SharebymailCapabilities0_FilesSharing_SharebymailBuilder? sharebymail) => + _$this._sharebymail = sharebymail; - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); + SharebymailCapabilities0_FilesSharingBuilder(); - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get _$this { + SharebymailCapabilities0_FilesSharingBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _sharebymail = $v.sharebymail.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported other) { + void replace(covariant SharebymailCapabilities0_FilesSharing other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported; + _$v = other as _$SharebymailCapabilities0_FilesSharing; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? updates) { + void update(void Function(SharebymailCapabilities0_FilesSharingBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported build() => _build(); + SharebymailCapabilities0_FilesSharing build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported _build() { - final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported', 'enabled')); + _$SharebymailCapabilities0_FilesSharing _build() { + _$SharebymailCapabilities0_FilesSharing _$result; + try { + _$result = _$v ?? _$SharebymailCapabilities0_FilesSharing._(sharebymail: sharebymail.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'sharebymail'; + sharebymail.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'SharebymailCapabilities0_FilesSharing', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_FederationInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_FederationInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_FederationInterfaceBuilder) updates); - bool? get outgoing; - set outgoing(bool? outgoing); - - bool? get incoming; - set incoming(bool? incoming); - - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get expireDate; - set expireDate(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? expireDate); - - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get expireDateSupported; - set expireDateSupported( - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? expireDateSupported); +abstract mixin class SharebymailCapabilities0InterfaceBuilder { + void replace(SharebymailCapabilities0Interface other); + void update(void Function(SharebymailCapabilities0InterfaceBuilder) updates); + SharebymailCapabilities0_FilesSharingBuilder get filesSharing; + set filesSharing(SharebymailCapabilities0_FilesSharingBuilder? filesSharing); } -class _$FilesSharingCapabilities_FilesSharing_Federation extends FilesSharingCapabilities_FilesSharing_Federation { - @override - final bool outgoing; - @override - final bool incoming; - @override - final FilesSharingCapabilities_FilesSharing_Federation_ExpireDate expireDate; +class _$SharebymailCapabilities0 extends SharebymailCapabilities0 { @override - final FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported expireDateSupported; + final SharebymailCapabilities0_FilesSharing filesSharing; - factory _$FilesSharingCapabilities_FilesSharing_Federation( - [void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_FederationBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities0([void Function(SharebymailCapabilities0Builder)? updates]) => + (SharebymailCapabilities0Builder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Federation._( - {required this.outgoing, required this.incoming, required this.expireDate, required this.expireDateSupported}) - : super._() { - BuiltValueNullFieldError.checkNotNull(outgoing, r'FilesSharingCapabilities_FilesSharing_Federation', 'outgoing'); - BuiltValueNullFieldError.checkNotNull(incoming, r'FilesSharingCapabilities_FilesSharing_Federation', 'incoming'); - BuiltValueNullFieldError.checkNotNull( - expireDate, r'FilesSharingCapabilities_FilesSharing_Federation', 'expireDate'); - BuiltValueNullFieldError.checkNotNull( - expireDateSupported, r'FilesSharingCapabilities_FilesSharing_Federation', 'expireDateSupported'); + _$SharebymailCapabilities0._({required this.filesSharing}) : super._() { + BuiltValueNullFieldError.checkNotNull(filesSharing, r'SharebymailCapabilities0', 'filesSharing'); } @override - FilesSharingCapabilities_FilesSharing_Federation rebuild( - void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder) updates) => + SharebymailCapabilities0 rebuild(void Function(SharebymailCapabilities0Builder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_FederationBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_FederationBuilder()..replace(this); + SharebymailCapabilities0Builder toBuilder() => SharebymailCapabilities0Builder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Federation && - outgoing == other.outgoing && - incoming == other.incoming && - expireDate == other.expireDate && - expireDateSupported == other.expireDateSupported; + return other is SharebymailCapabilities0 && filesSharing == other.filesSharing; } @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, filesSharing.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Federation') - ..add('outgoing', outgoing) - ..add('incoming', incoming) - ..add('expireDate', expireDate) - ..add('expireDateSupported', expireDateSupported)) - .toString(); + return (newBuiltValueToStringHelper(r'SharebymailCapabilities0')..add('filesSharing', filesSharing)).toString(); } } -class FilesSharingCapabilities_FilesSharing_FederationBuilder +class SharebymailCapabilities0Builder implements - Builder, - FilesSharingCapabilities_FilesSharing_FederationInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Federation? _$v; - - bool? _outgoing; - bool? get outgoing => _$this._outgoing; - set outgoing(covariant bool? outgoing) => _$this._outgoing = outgoing; - - bool? _incoming; - bool? get incoming => _$this._incoming; - set incoming(covariant bool? incoming) => _$this._incoming = incoming; - - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? _expireDate; - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get expireDate => - _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); - set expireDate(covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; - - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? _expireDateSupported; - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get expireDateSupported => - _$this._expireDateSupported ??= FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); - set expireDateSupported( - covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? expireDateSupported) => - _$this._expireDateSupported = expireDateSupported; + Builder, + SharebymailCapabilities0InterfaceBuilder { + _$SharebymailCapabilities0? _$v; + + SharebymailCapabilities0_FilesSharingBuilder? _filesSharing; + SharebymailCapabilities0_FilesSharingBuilder get filesSharing => + _$this._filesSharing ??= SharebymailCapabilities0_FilesSharingBuilder(); + set filesSharing(covariant SharebymailCapabilities0_FilesSharingBuilder? filesSharing) => + _$this._filesSharing = filesSharing; - FilesSharingCapabilities_FilesSharing_FederationBuilder(); + SharebymailCapabilities0Builder(); - FilesSharingCapabilities_FilesSharing_FederationBuilder get _$this { + SharebymailCapabilities0Builder get _$this { final $v = _$v; if ($v != null) { - _outgoing = $v.outgoing; - _incoming = $v.incoming; - _expireDate = $v.expireDate.toBuilder(); - _expireDateSupported = $v.expireDateSupported.toBuilder(); + _filesSharing = $v.filesSharing.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Federation other) { + void replace(covariant SharebymailCapabilities0 other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation; + _$v = other as _$SharebymailCapabilities0; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder)? updates) { + void update(void Function(SharebymailCapabilities0Builder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Federation build() => _build(); + SharebymailCapabilities0 build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Federation _build() { - _$FilesSharingCapabilities_FilesSharing_Federation _$result; + _$SharebymailCapabilities0 _build() { + _$SharebymailCapabilities0 _$result; try { - _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Federation._( - outgoing: BuiltValueNullFieldError.checkNotNull( - outgoing, r'FilesSharingCapabilities_FilesSharing_Federation', 'outgoing'), - incoming: BuiltValueNullFieldError.checkNotNull( - incoming, r'FilesSharingCapabilities_FilesSharing_Federation', 'incoming'), - expireDate: expireDate.build(), - expireDateSupported: expireDateSupported.build()); + _$result = _$v ?? _$SharebymailCapabilities0._(filesSharing: filesSharing.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'expireDate'; - expireDate.build(); - _$failedField = 'expireDateSupported'; - expireDateSupported.build(); + _$failedField = 'filesSharing'; + filesSharing.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'FilesSharingCapabilities_FilesSharing_Federation', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'SharebymailCapabilities0', _$failedField, e.toString()); } rethrow; } @@ -17288,465 +20440,507 @@ class FilesSharingCapabilities_FilesSharing_FederationBuilder } } -abstract mixin class FilesSharingCapabilities_FilesSharing_ShareeInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_ShareeInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_ShareeInterfaceBuilder) updates); - bool? get queryLookupDefault; - set queryLookupDefault(bool? queryLookupDefault); +abstract mixin class SharebymailCapabilitiesInterfaceBuilder { + void replace(SharebymailCapabilitiesInterface other); + void update(void Function(SharebymailCapabilitiesInterfaceBuilder) updates); + SharebymailCapabilities0Builder get sharebymailCapabilities0; + set sharebymailCapabilities0(SharebymailCapabilities0Builder? sharebymailCapabilities0); - bool? get alwaysShowUnique; - set alwaysShowUnique(bool? alwaysShowUnique); + ListBuilder get builtListJsonObject; + set builtListJsonObject(ListBuilder? builtListJsonObject); } -class _$FilesSharingCapabilities_FilesSharing_Sharee extends FilesSharingCapabilities_FilesSharing_Sharee { +class _$SharebymailCapabilities extends SharebymailCapabilities { @override - final bool queryLookupDefault; + final JsonObject data; @override - final bool alwaysShowUnique; + final SharebymailCapabilities0? sharebymailCapabilities0; + @override + final BuiltList? builtListJsonObject; - factory _$FilesSharingCapabilities_FilesSharing_Sharee( - [void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_ShareeBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities([void Function(SharebymailCapabilitiesBuilder)? updates]) => + (SharebymailCapabilitiesBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Sharee._({required this.queryLookupDefault, required this.alwaysShowUnique}) + _$SharebymailCapabilities._({required this.data, this.sharebymailCapabilities0, this.builtListJsonObject}) : super._() { - BuiltValueNullFieldError.checkNotNull( - queryLookupDefault, r'FilesSharingCapabilities_FilesSharing_Sharee', 'queryLookupDefault'); - BuiltValueNullFieldError.checkNotNull( - alwaysShowUnique, r'FilesSharingCapabilities_FilesSharing_Sharee', 'alwaysShowUnique'); + BuiltValueNullFieldError.checkNotNull(data, r'SharebymailCapabilities', 'data'); } - @override - FilesSharingCapabilities_FilesSharing_Sharee rebuild( - void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder) updates) => + @override + SharebymailCapabilities rebuild(void Function(SharebymailCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_ShareeBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_ShareeBuilder()..replace(this); + SharebymailCapabilitiesBuilder toBuilder() => SharebymailCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Sharee && - queryLookupDefault == other.queryLookupDefault && - alwaysShowUnique == other.alwaysShowUnique; + return other is SharebymailCapabilities && + data == other.data && + sharebymailCapabilities0 == other.sharebymailCapabilities0 && + builtListJsonObject == other.builtListJsonObject; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, queryLookupDefault.hashCode); - _$hash = $jc(_$hash, alwaysShowUnique.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, sharebymailCapabilities0.hashCode); + _$hash = $jc(_$hash, builtListJsonObject.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Sharee') - ..add('queryLookupDefault', queryLookupDefault) - ..add('alwaysShowUnique', alwaysShowUnique)) + return (newBuiltValueToStringHelper(r'SharebymailCapabilities') + ..add('data', data) + ..add('sharebymailCapabilities0', sharebymailCapabilities0) + ..add('builtListJsonObject', builtListJsonObject)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_ShareeBuilder +class SharebymailCapabilitiesBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_ShareeInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Sharee? _$v; + Builder, + SharebymailCapabilitiesInterfaceBuilder { + _$SharebymailCapabilities? _$v; - bool? _queryLookupDefault; - bool? get queryLookupDefault => _$this._queryLookupDefault; - set queryLookupDefault(covariant bool? queryLookupDefault) => _$this._queryLookupDefault = queryLookupDefault; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; - bool? _alwaysShowUnique; - bool? get alwaysShowUnique => _$this._alwaysShowUnique; - set alwaysShowUnique(covariant bool? alwaysShowUnique) => _$this._alwaysShowUnique = alwaysShowUnique; + SharebymailCapabilities0Builder? _sharebymailCapabilities0; + SharebymailCapabilities0Builder get sharebymailCapabilities0 => + _$this._sharebymailCapabilities0 ??= SharebymailCapabilities0Builder(); + set sharebymailCapabilities0(covariant SharebymailCapabilities0Builder? sharebymailCapabilities0) => + _$this._sharebymailCapabilities0 = sharebymailCapabilities0; - FilesSharingCapabilities_FilesSharing_ShareeBuilder(); + ListBuilder? _builtListJsonObject; + ListBuilder get builtListJsonObject => _$this._builtListJsonObject ??= ListBuilder(); + set builtListJsonObject(covariant ListBuilder? builtListJsonObject) => + _$this._builtListJsonObject = builtListJsonObject; - FilesSharingCapabilities_FilesSharing_ShareeBuilder get _$this { + SharebymailCapabilitiesBuilder(); + + SharebymailCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _queryLookupDefault = $v.queryLookupDefault; - _alwaysShowUnique = $v.alwaysShowUnique; + _data = $v.data; + _sharebymailCapabilities0 = $v.sharebymailCapabilities0?.toBuilder(); + _builtListJsonObject = $v.builtListJsonObject?.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Sharee other) { + void replace(covariant SharebymailCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Sharee; + _$v = other as _$SharebymailCapabilities; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? updates) { + void update(void Function(SharebymailCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Sharee build() => _build(); + SharebymailCapabilities build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Sharee _build() { - final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Sharee._( - queryLookupDefault: BuiltValueNullFieldError.checkNotNull( - queryLookupDefault, r'FilesSharingCapabilities_FilesSharing_Sharee', 'queryLookupDefault'), - alwaysShowUnique: BuiltValueNullFieldError.checkNotNull( - alwaysShowUnique, r'FilesSharingCapabilities_FilesSharing_Sharee', 'alwaysShowUnique')); + _$SharebymailCapabilities _build() { + SharebymailCapabilities._validate(this); + _$SharebymailCapabilities _$result; + try { + _$result = _$v ?? + _$SharebymailCapabilities._( + data: BuiltValueNullFieldError.checkNotNull(data, r'SharebymailCapabilities', 'data'), + sharebymailCapabilities0: _sharebymailCapabilities0?.build(), + builtListJsonObject: _builtListJsonObject?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'sharebymailCapabilities0'; + _sharebymailCapabilities0?.build(); + _$failedField = 'builtListJsonObject'; + _builtListJsonObject?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'SharebymailCapabilities', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharingInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharingInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharingInterfaceBuilder) updates); - bool? get apiEnabled; - set apiEnabled(bool? apiEnabled); - - FilesSharingCapabilities_FilesSharing_PublicBuilder get public; - set public(FilesSharingCapabilities_FilesSharing_PublicBuilder? public); - - FilesSharingCapabilities_FilesSharing_UserBuilder get user; - set user(FilesSharingCapabilities_FilesSharing_UserBuilder? user); - - bool? get resharing; - set resharing(bool? resharing); - - bool? get groupSharing; - set groupSharing(bool? groupSharing); - - FilesSharingCapabilities_FilesSharing_GroupBuilder get group; - set group(FilesSharingCapabilities_FilesSharing_GroupBuilder? group); - - int? get defaultPermissions; - set defaultPermissions(int? defaultPermissions); - - FilesSharingCapabilities_FilesSharing_FederationBuilder get federation; - set federation(FilesSharingCapabilities_FilesSharing_FederationBuilder? federation); +abstract mixin class SpreedPublicCapabilities0_Spreed_Config_AttachmentsInterfaceBuilder { + void replace(SpreedPublicCapabilities0_Spreed_Config_AttachmentsInterface other); + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_AttachmentsInterfaceBuilder) updates); + bool? get allowed; + set allowed(bool? allowed); - FilesSharingCapabilities_FilesSharing_ShareeBuilder get sharee; - set sharee(FilesSharingCapabilities_FilesSharing_ShareeBuilder? sharee); + String? get folder; + set folder(String? folder); } -class _$FilesSharingCapabilities_FilesSharing extends FilesSharingCapabilities_FilesSharing { - @override - final bool apiEnabled; - @override - final FilesSharingCapabilities_FilesSharing_Public public; - @override - final FilesSharingCapabilities_FilesSharing_User user; - @override - final bool resharing; - @override - final bool? groupSharing; - @override - final FilesSharingCapabilities_FilesSharing_Group? group; - @override - final int? defaultPermissions; +class _$SpreedPublicCapabilities0_Spreed_Config_Attachments + extends SpreedPublicCapabilities0_Spreed_Config_Attachments { @override - final FilesSharingCapabilities_FilesSharing_Federation federation; + final bool allowed; @override - final FilesSharingCapabilities_FilesSharing_Sharee sharee; + final String? folder; - factory _$FilesSharingCapabilities_FilesSharing( - [void Function(FilesSharingCapabilities_FilesSharingBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharingBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities0_Spreed_Config_Attachments( + [void Function(SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder)? updates]) => + (SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing._( - {required this.apiEnabled, - required this.public, - required this.user, - required this.resharing, - this.groupSharing, - this.group, - this.defaultPermissions, - required this.federation, - required this.sharee}) - : super._() { - BuiltValueNullFieldError.checkNotNull(apiEnabled, r'FilesSharingCapabilities_FilesSharing', 'apiEnabled'); - BuiltValueNullFieldError.checkNotNull(public, r'FilesSharingCapabilities_FilesSharing', 'public'); - BuiltValueNullFieldError.checkNotNull(user, r'FilesSharingCapabilities_FilesSharing', 'user'); - BuiltValueNullFieldError.checkNotNull(resharing, r'FilesSharingCapabilities_FilesSharing', 'resharing'); - BuiltValueNullFieldError.checkNotNull(federation, r'FilesSharingCapabilities_FilesSharing', 'federation'); - BuiltValueNullFieldError.checkNotNull(sharee, r'FilesSharingCapabilities_FilesSharing', 'sharee'); + _$SpreedPublicCapabilities0_Spreed_Config_Attachments._({required this.allowed, this.folder}) : super._() { + BuiltValueNullFieldError.checkNotNull(allowed, r'SpreedPublicCapabilities0_Spreed_Config_Attachments', 'allowed'); } @override - FilesSharingCapabilities_FilesSharing rebuild(void Function(FilesSharingCapabilities_FilesSharingBuilder) updates) => + SpreedPublicCapabilities0_Spreed_Config_Attachments rebuild( + void Function(SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharingBuilder toBuilder() => - FilesSharingCapabilities_FilesSharingBuilder()..replace(this); + SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder toBuilder() => + SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing && - apiEnabled == other.apiEnabled && - public == other.public && - user == other.user && - resharing == other.resharing && - groupSharing == other.groupSharing && - group == other.group && - defaultPermissions == other.defaultPermissions && - federation == other.federation && - sharee == other.sharee; + return other is SpreedPublicCapabilities0_Spreed_Config_Attachments && + allowed == other.allowed && + folder == other.folder; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, apiEnabled.hashCode); - _$hash = $jc(_$hash, public.hashCode); - _$hash = $jc(_$hash, user.hashCode); - _$hash = $jc(_$hash, resharing.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, allowed.hashCode); + _$hash = $jc(_$hash, folder.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing') - ..add('apiEnabled', apiEnabled) - ..add('public', public) - ..add('user', user) - ..add('resharing', resharing) - ..add('groupSharing', groupSharing) - ..add('group', group) - ..add('defaultPermissions', defaultPermissions) - ..add('federation', federation) - ..add('sharee', sharee)) + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config_Attachments') + ..add('allowed', allowed) + ..add('folder', folder)) .toString(); } } -class FilesSharingCapabilities_FilesSharingBuilder +class SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder implements - Builder, - FilesSharingCapabilities_FilesSharingInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing? _$v; - - bool? _apiEnabled; - bool? get apiEnabled => _$this._apiEnabled; - set apiEnabled(covariant bool? apiEnabled) => _$this._apiEnabled = apiEnabled; - - FilesSharingCapabilities_FilesSharing_PublicBuilder? _public; - FilesSharingCapabilities_FilesSharing_PublicBuilder get public => - _$this._public ??= FilesSharingCapabilities_FilesSharing_PublicBuilder(); - set public(covariant FilesSharingCapabilities_FilesSharing_PublicBuilder? public) => _$this._public = public; - - FilesSharingCapabilities_FilesSharing_UserBuilder? _user; - FilesSharingCapabilities_FilesSharing_UserBuilder get user => - _$this._user ??= FilesSharingCapabilities_FilesSharing_UserBuilder(); - set user(covariant FilesSharingCapabilities_FilesSharing_UserBuilder? user) => _$this._user = user; - - bool? _resharing; - bool? get resharing => _$this._resharing; - set resharing(covariant bool? resharing) => _$this._resharing = resharing; - - bool? _groupSharing; - bool? get groupSharing => _$this._groupSharing; - set groupSharing(covariant bool? groupSharing) => _$this._groupSharing = groupSharing; - - FilesSharingCapabilities_FilesSharing_GroupBuilder? _group; - FilesSharingCapabilities_FilesSharing_GroupBuilder get group => - _$this._group ??= FilesSharingCapabilities_FilesSharing_GroupBuilder(); - set group(covariant FilesSharingCapabilities_FilesSharing_GroupBuilder? group) => _$this._group = group; - - int? _defaultPermissions; - int? get defaultPermissions => _$this._defaultPermissions; - set defaultPermissions(covariant int? defaultPermissions) => _$this._defaultPermissions = defaultPermissions; - - FilesSharingCapabilities_FilesSharing_FederationBuilder? _federation; - FilesSharingCapabilities_FilesSharing_FederationBuilder get federation => - _$this._federation ??= FilesSharingCapabilities_FilesSharing_FederationBuilder(); - set federation(covariant FilesSharingCapabilities_FilesSharing_FederationBuilder? federation) => - _$this._federation = federation; + Builder, + SpreedPublicCapabilities0_Spreed_Config_AttachmentsInterfaceBuilder { + _$SpreedPublicCapabilities0_Spreed_Config_Attachments? _$v; - FilesSharingCapabilities_FilesSharing_ShareeBuilder? _sharee; - FilesSharingCapabilities_FilesSharing_ShareeBuilder get sharee => - _$this._sharee ??= FilesSharingCapabilities_FilesSharing_ShareeBuilder(); - set sharee(covariant FilesSharingCapabilities_FilesSharing_ShareeBuilder? sharee) => _$this._sharee = sharee; + bool? _allowed; + bool? get allowed => _$this._allowed; + set allowed(covariant bool? allowed) => _$this._allowed = allowed; - FilesSharingCapabilities_FilesSharingBuilder(); + String? _folder; + String? get folder => _$this._folder; + set folder(covariant String? folder) => _$this._folder = folder; - FilesSharingCapabilities_FilesSharingBuilder get _$this { + SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder(); + + SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder get _$this { final $v = _$v; if ($v != null) { - _apiEnabled = $v.apiEnabled; - _public = $v.public.toBuilder(); - _user = $v.user.toBuilder(); - _resharing = $v.resharing; - _groupSharing = $v.groupSharing; - _group = $v.group?.toBuilder(); - _defaultPermissions = $v.defaultPermissions; - _federation = $v.federation.toBuilder(); - _sharee = $v.sharee.toBuilder(); + _allowed = $v.allowed; + _folder = $v.folder; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing other) { + void replace(covariant SpreedPublicCapabilities0_Spreed_Config_Attachments other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing; + _$v = other as _$SpreedPublicCapabilities0_Spreed_Config_Attachments; } @override - void update(void Function(FilesSharingCapabilities_FilesSharingBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing build() => _build(); - - _$FilesSharingCapabilities_FilesSharing _build() { - _$FilesSharingCapabilities_FilesSharing _$result; - try { - _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing._( - apiEnabled: BuiltValueNullFieldError.checkNotNull( - apiEnabled, r'FilesSharingCapabilities_FilesSharing', 'apiEnabled'), - public: public.build(), - user: user.build(), - resharing: BuiltValueNullFieldError.checkNotNull( - resharing, r'FilesSharingCapabilities_FilesSharing', 'resharing'), - groupSharing: groupSharing, - group: _group?.build(), - defaultPermissions: defaultPermissions, - federation: federation.build(), - sharee: sharee.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'public'; - public.build(); - _$failedField = 'user'; - user.build(); - - _$failedField = 'group'; - _group?.build(); + SpreedPublicCapabilities0_Spreed_Config_Attachments build() => _build(); - _$failedField = 'federation'; - federation.build(); - _$failedField = 'sharee'; - sharee.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing', _$failedField, e.toString()); - } - rethrow; - } + _$SpreedPublicCapabilities0_Spreed_Config_Attachments _build() { + final _$result = _$v ?? + _$SpreedPublicCapabilities0_Spreed_Config_Attachments._( + allowed: BuiltValueNullFieldError.checkNotNull( + allowed, r'SpreedPublicCapabilities0_Spreed_Config_Attachments', 'allowed'), + folder: folder); replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilitiesInterfaceBuilder { - void replace(FilesSharingCapabilitiesInterface other); - void update(void Function(FilesSharingCapabilitiesInterfaceBuilder) updates); - FilesSharingCapabilities_FilesSharingBuilder get filesSharing; - set filesSharing(FilesSharingCapabilities_FilesSharingBuilder? filesSharing); +abstract mixin class SpreedPublicCapabilities0_Spreed_Config_CallInterfaceBuilder { + void replace(SpreedPublicCapabilities0_Spreed_Config_CallInterface other); + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_CallInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); + + bool? get breakoutRooms; + set breakoutRooms(bool? breakoutRooms); + + bool? get recording; + set recording(bool? recording); + + int? get recordingConsent; + set recordingConsent(int? recordingConsent); + + ListBuilder get supportedReactions; + set supportedReactions(ListBuilder? supportedReactions); + + ListBuilder get predefinedBackgrounds; + set predefinedBackgrounds(ListBuilder? predefinedBackgrounds); + + bool? get canUploadBackground; + set canUploadBackground(bool? canUploadBackground); + + bool? get sipEnabled; + set sipEnabled(bool? sipEnabled); + + bool? get sipDialoutEnabled; + set sipDialoutEnabled(bool? sipDialoutEnabled); + + bool? get canEnableSip; + set canEnableSip(bool? canEnableSip); } -class _$FilesSharingCapabilities extends FilesSharingCapabilities { +class _$SpreedPublicCapabilities0_Spreed_Config_Call extends SpreedPublicCapabilities0_Spreed_Config_Call { @override - final FilesSharingCapabilities_FilesSharing filesSharing; + final bool enabled; + @override + final bool breakoutRooms; + @override + final bool recording; + @override + final int? recordingConsent; + @override + final BuiltList supportedReactions; + @override + final BuiltList predefinedBackgrounds; + @override + final bool canUploadBackground; + @override + final bool? sipEnabled; + @override + final bool? sipDialoutEnabled; + @override + final bool? canEnableSip; - factory _$FilesSharingCapabilities([void Function(FilesSharingCapabilitiesBuilder)? updates]) => - (FilesSharingCapabilitiesBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities0_Spreed_Config_Call( + [void Function(SpreedPublicCapabilities0_Spreed_Config_CallBuilder)? updates]) => + (SpreedPublicCapabilities0_Spreed_Config_CallBuilder()..update(updates))._build(); - _$FilesSharingCapabilities._({required this.filesSharing}) : super._() { - BuiltValueNullFieldError.checkNotNull(filesSharing, r'FilesSharingCapabilities', 'filesSharing'); + _$SpreedPublicCapabilities0_Spreed_Config_Call._( + {required this.enabled, + required this.breakoutRooms, + required this.recording, + this.recordingConsent, + required this.supportedReactions, + required this.predefinedBackgrounds, + required this.canUploadBackground, + this.sipEnabled, + this.sipDialoutEnabled, + this.canEnableSip}) + : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'enabled'); + BuiltValueNullFieldError.checkNotNull( + breakoutRooms, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'breakoutRooms'); + BuiltValueNullFieldError.checkNotNull(recording, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'recording'); + BuiltValueNullFieldError.checkNotNull( + supportedReactions, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'supportedReactions'); + BuiltValueNullFieldError.checkNotNull( + predefinedBackgrounds, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'predefinedBackgrounds'); + BuiltValueNullFieldError.checkNotNull( + canUploadBackground, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'canUploadBackground'); } @override - FilesSharingCapabilities rebuild(void Function(FilesSharingCapabilitiesBuilder) updates) => + SpreedPublicCapabilities0_Spreed_Config_Call rebuild( + void Function(SpreedPublicCapabilities0_Spreed_Config_CallBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilitiesBuilder toBuilder() => FilesSharingCapabilitiesBuilder()..replace(this); + SpreedPublicCapabilities0_Spreed_Config_CallBuilder toBuilder() => + SpreedPublicCapabilities0_Spreed_Config_CallBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities && filesSharing == other.filesSharing; + return other is SpreedPublicCapabilities0_Spreed_Config_Call && + enabled == other.enabled && + breakoutRooms == other.breakoutRooms && + recording == other.recording && + recordingConsent == other.recordingConsent && + supportedReactions == other.supportedReactions && + predefinedBackgrounds == other.predefinedBackgrounds && + canUploadBackground == other.canUploadBackground && + sipEnabled == other.sipEnabled && + sipDialoutEnabled == other.sipDialoutEnabled && + canEnableSip == other.canEnableSip; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, filesSharing.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, breakoutRooms.hashCode); + _$hash = $jc(_$hash, recording.hashCode); + _$hash = $jc(_$hash, recordingConsent.hashCode); + _$hash = $jc(_$hash, supportedReactions.hashCode); + _$hash = $jc(_$hash, predefinedBackgrounds.hashCode); + _$hash = $jc(_$hash, canUploadBackground.hashCode); + _$hash = $jc(_$hash, sipEnabled.hashCode); + _$hash = $jc(_$hash, sipDialoutEnabled.hashCode); + _$hash = $jc(_$hash, canEnableSip.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities')..add('filesSharing', filesSharing)).toString(); + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config_Call') + ..add('enabled', enabled) + ..add('breakoutRooms', breakoutRooms) + ..add('recording', recording) + ..add('recordingConsent', recordingConsent) + ..add('supportedReactions', supportedReactions) + ..add('predefinedBackgrounds', predefinedBackgrounds) + ..add('canUploadBackground', canUploadBackground) + ..add('sipEnabled', sipEnabled) + ..add('sipDialoutEnabled', sipDialoutEnabled) + ..add('canEnableSip', canEnableSip)) + .toString(); } } -class FilesSharingCapabilitiesBuilder +class SpreedPublicCapabilities0_Spreed_Config_CallBuilder implements - Builder, - FilesSharingCapabilitiesInterfaceBuilder { - _$FilesSharingCapabilities? _$v; + Builder, + SpreedPublicCapabilities0_Spreed_Config_CallInterfaceBuilder { + _$SpreedPublicCapabilities0_Spreed_Config_Call? _$v; - FilesSharingCapabilities_FilesSharingBuilder? _filesSharing; - FilesSharingCapabilities_FilesSharingBuilder get filesSharing => - _$this._filesSharing ??= FilesSharingCapabilities_FilesSharingBuilder(); - set filesSharing(covariant FilesSharingCapabilities_FilesSharingBuilder? filesSharing) => - _$this._filesSharing = filesSharing; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - FilesSharingCapabilitiesBuilder(); + bool? _breakoutRooms; + bool? get breakoutRooms => _$this._breakoutRooms; + set breakoutRooms(covariant bool? breakoutRooms) => _$this._breakoutRooms = breakoutRooms; + + bool? _recording; + bool? get recording => _$this._recording; + set recording(covariant bool? recording) => _$this._recording = recording; + + int? _recordingConsent; + int? get recordingConsent => _$this._recordingConsent; + set recordingConsent(covariant int? recordingConsent) => _$this._recordingConsent = recordingConsent; + + ListBuilder? _supportedReactions; + ListBuilder get supportedReactions => _$this._supportedReactions ??= ListBuilder(); + set supportedReactions(covariant ListBuilder? supportedReactions) => + _$this._supportedReactions = supportedReactions; + + ListBuilder? _predefinedBackgrounds; + ListBuilder get predefinedBackgrounds => _$this._predefinedBackgrounds ??= ListBuilder(); + set predefinedBackgrounds(covariant ListBuilder? predefinedBackgrounds) => + _$this._predefinedBackgrounds = predefinedBackgrounds; + + bool? _canUploadBackground; + bool? get canUploadBackground => _$this._canUploadBackground; + set canUploadBackground(covariant bool? canUploadBackground) => _$this._canUploadBackground = canUploadBackground; + + bool? _sipEnabled; + bool? get sipEnabled => _$this._sipEnabled; + set sipEnabled(covariant bool? sipEnabled) => _$this._sipEnabled = sipEnabled; + + bool? _sipDialoutEnabled; + bool? get sipDialoutEnabled => _$this._sipDialoutEnabled; + set sipDialoutEnabled(covariant bool? sipDialoutEnabled) => _$this._sipDialoutEnabled = sipDialoutEnabled; + + bool? _canEnableSip; + bool? get canEnableSip => _$this._canEnableSip; + set canEnableSip(covariant bool? canEnableSip) => _$this._canEnableSip = canEnableSip; + + SpreedPublicCapabilities0_Spreed_Config_CallBuilder(); - FilesSharingCapabilitiesBuilder get _$this { + SpreedPublicCapabilities0_Spreed_Config_CallBuilder get _$this { final $v = _$v; if ($v != null) { - _filesSharing = $v.filesSharing.toBuilder(); + _enabled = $v.enabled; + _breakoutRooms = $v.breakoutRooms; + _recording = $v.recording; + _recordingConsent = $v.recordingConsent; + _supportedReactions = $v.supportedReactions.toBuilder(); + _predefinedBackgrounds = $v.predefinedBackgrounds.toBuilder(); + _canUploadBackground = $v.canUploadBackground; + _sipEnabled = $v.sipEnabled; + _sipDialoutEnabled = $v.sipDialoutEnabled; + _canEnableSip = $v.canEnableSip; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities other) { + void replace(covariant SpreedPublicCapabilities0_Spreed_Config_Call other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities; + _$v = other as _$SpreedPublicCapabilities0_Spreed_Config_Call; } @override - void update(void Function(FilesSharingCapabilitiesBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_CallBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities build() => _build(); + SpreedPublicCapabilities0_Spreed_Config_Call build() => _build(); - _$FilesSharingCapabilities _build() { - _$FilesSharingCapabilities _$result; + _$SpreedPublicCapabilities0_Spreed_Config_Call _build() { + _$SpreedPublicCapabilities0_Spreed_Config_Call _$result; try { - _$result = _$v ?? _$FilesSharingCapabilities._(filesSharing: filesSharing.build()); + _$result = _$v ?? + _$SpreedPublicCapabilities0_Spreed_Config_Call._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'enabled'), + breakoutRooms: BuiltValueNullFieldError.checkNotNull( + breakoutRooms, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'breakoutRooms'), + recording: BuiltValueNullFieldError.checkNotNull( + recording, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'recording'), + recordingConsent: recordingConsent, + supportedReactions: supportedReactions.build(), + predefinedBackgrounds: predefinedBackgrounds.build(), + canUploadBackground: BuiltValueNullFieldError.checkNotNull( + canUploadBackground, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'canUploadBackground'), + sipEnabled: sipEnabled, + sipDialoutEnabled: sipDialoutEnabled, + canEnableSip: canEnableSip); } catch (_) { late String _$failedField; try { - _$failedField = 'filesSharing'; - filesSharing.build(); + _$failedField = 'supportedReactions'; + supportedReactions.build(); + _$failedField = 'predefinedBackgrounds'; + predefinedBackgrounds.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'FilesSharingCapabilities', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities0_Spreed_Config_Call', _$failedField, e.toString()); } rethrow; } @@ -17755,186 +20949,174 @@ class FilesSharingCapabilitiesBuilder } } -abstract mixin class FilesTrashbinCapabilities_FilesInterfaceBuilder { - void replace(FilesTrashbinCapabilities_FilesInterface other); - void update(void Function(FilesTrashbinCapabilities_FilesInterfaceBuilder) updates); - bool? get undelete; - set undelete(bool? undelete); -} - -class _$FilesTrashbinCapabilities_Files extends FilesTrashbinCapabilities_Files { - @override - final bool undelete; - - factory _$FilesTrashbinCapabilities_Files([void Function(FilesTrashbinCapabilities_FilesBuilder)? updates]) => - (FilesTrashbinCapabilities_FilesBuilder()..update(updates))._build(); - - _$FilesTrashbinCapabilities_Files._({required this.undelete}) : super._() { - BuiltValueNullFieldError.checkNotNull(undelete, r'FilesTrashbinCapabilities_Files', 'undelete'); - } - - @override - FilesTrashbinCapabilities_Files rebuild(void Function(FilesTrashbinCapabilities_FilesBuilder) updates) => - (toBuilder()..update(updates)).build(); +abstract mixin class SpreedPublicCapabilities0_Spreed_Config_ChatInterfaceBuilder { + void replace(SpreedPublicCapabilities0_Spreed_Config_ChatInterface other); + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_ChatInterfaceBuilder) updates); + int? get maxLength; + set maxLength(int? maxLength); - @override - FilesTrashbinCapabilities_FilesBuilder toBuilder() => FilesTrashbinCapabilities_FilesBuilder()..replace(this); + int? get readPrivacy; + set readPrivacy(int? readPrivacy); - @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is FilesTrashbinCapabilities_Files && undelete == other.undelete; - } + bool? get hasTranslationProviders; + set hasTranslationProviders(bool? hasTranslationProviders); - @override - int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, undelete.hashCode); - _$hash = $jf(_$hash); - return _$hash; - } + int? get typingPrivacy; + set typingPrivacy(int? typingPrivacy); - @override - String toString() { - return (newBuiltValueToStringHelper(r'FilesTrashbinCapabilities_Files')..add('undelete', undelete)).toString(); - } + ListBuilder get translations; + set translations(ListBuilder? translations); } -class FilesTrashbinCapabilities_FilesBuilder - implements - Builder, - FilesTrashbinCapabilities_FilesInterfaceBuilder { - _$FilesTrashbinCapabilities_Files? _$v; - - bool? _undelete; - bool? get undelete => _$this._undelete; - set undelete(covariant bool? undelete) => _$this._undelete = undelete; - - FilesTrashbinCapabilities_FilesBuilder(); - - FilesTrashbinCapabilities_FilesBuilder get _$this { - final $v = _$v; - if ($v != null) { - _undelete = $v.undelete; - _$v = null; - } - return this; - } - +class _$SpreedPublicCapabilities0_Spreed_Config_Chat extends SpreedPublicCapabilities0_Spreed_Config_Chat { @override - void replace(covariant FilesTrashbinCapabilities_Files other) { - ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesTrashbinCapabilities_Files; - } - + final int maxLength; @override - void update(void Function(FilesTrashbinCapabilities_FilesBuilder)? updates) { - if (updates != null) updates(this); - } - + final int readPrivacy; @override - FilesTrashbinCapabilities_Files build() => _build(); - - _$FilesTrashbinCapabilities_Files _build() { - final _$result = _$v ?? - _$FilesTrashbinCapabilities_Files._( - undelete: BuiltValueNullFieldError.checkNotNull(undelete, r'FilesTrashbinCapabilities_Files', 'undelete')); - replace(_$result); - return _$result; - } -} - -abstract mixin class FilesTrashbinCapabilitiesInterfaceBuilder { - void replace(FilesTrashbinCapabilitiesInterface other); - void update(void Function(FilesTrashbinCapabilitiesInterfaceBuilder) updates); - FilesTrashbinCapabilities_FilesBuilder get files; - set files(FilesTrashbinCapabilities_FilesBuilder? files); -} - -class _$FilesTrashbinCapabilities extends FilesTrashbinCapabilities { + final bool? hasTranslationProviders; @override - final FilesTrashbinCapabilities_Files files; + final int typingPrivacy; + @override + final BuiltList? translations; - factory _$FilesTrashbinCapabilities([void Function(FilesTrashbinCapabilitiesBuilder)? updates]) => - (FilesTrashbinCapabilitiesBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities0_Spreed_Config_Chat( + [void Function(SpreedPublicCapabilities0_Spreed_Config_ChatBuilder)? updates]) => + (SpreedPublicCapabilities0_Spreed_Config_ChatBuilder()..update(updates))._build(); - _$FilesTrashbinCapabilities._({required this.files}) : super._() { - BuiltValueNullFieldError.checkNotNull(files, r'FilesTrashbinCapabilities', 'files'); + _$SpreedPublicCapabilities0_Spreed_Config_Chat._( + {required this.maxLength, + required this.readPrivacy, + this.hasTranslationProviders, + required this.typingPrivacy, + this.translations}) + : super._() { + BuiltValueNullFieldError.checkNotNull(maxLength, r'SpreedPublicCapabilities0_Spreed_Config_Chat', 'maxLength'); + BuiltValueNullFieldError.checkNotNull(readPrivacy, r'SpreedPublicCapabilities0_Spreed_Config_Chat', 'readPrivacy'); + BuiltValueNullFieldError.checkNotNull( + typingPrivacy, r'SpreedPublicCapabilities0_Spreed_Config_Chat', 'typingPrivacy'); } @override - FilesTrashbinCapabilities rebuild(void Function(FilesTrashbinCapabilitiesBuilder) updates) => + SpreedPublicCapabilities0_Spreed_Config_Chat rebuild( + void Function(SpreedPublicCapabilities0_Spreed_Config_ChatBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesTrashbinCapabilitiesBuilder toBuilder() => FilesTrashbinCapabilitiesBuilder()..replace(this); + SpreedPublicCapabilities0_Spreed_Config_ChatBuilder toBuilder() => + SpreedPublicCapabilities0_Spreed_Config_ChatBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesTrashbinCapabilities && files == other.files; + return other is SpreedPublicCapabilities0_Spreed_Config_Chat && + maxLength == other.maxLength && + readPrivacy == other.readPrivacy && + hasTranslationProviders == other.hasTranslationProviders && + typingPrivacy == other.typingPrivacy && + translations == other.translations; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, files.hashCode); + _$hash = $jc(_$hash, maxLength.hashCode); + _$hash = $jc(_$hash, readPrivacy.hashCode); + _$hash = $jc(_$hash, hasTranslationProviders.hashCode); + _$hash = $jc(_$hash, typingPrivacy.hashCode); + _$hash = $jc(_$hash, translations.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesTrashbinCapabilities')..add('files', files)).toString(); + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config_Chat') + ..add('maxLength', maxLength) + ..add('readPrivacy', readPrivacy) + ..add('hasTranslationProviders', hasTranslationProviders) + ..add('typingPrivacy', typingPrivacy) + ..add('translations', translations)) + .toString(); } } -class FilesTrashbinCapabilitiesBuilder +class SpreedPublicCapabilities0_Spreed_Config_ChatBuilder implements - Builder, - FilesTrashbinCapabilitiesInterfaceBuilder { - _$FilesTrashbinCapabilities? _$v; + Builder, + SpreedPublicCapabilities0_Spreed_Config_ChatInterfaceBuilder { + _$SpreedPublicCapabilities0_Spreed_Config_Chat? _$v; - FilesTrashbinCapabilities_FilesBuilder? _files; - FilesTrashbinCapabilities_FilesBuilder get files => _$this._files ??= FilesTrashbinCapabilities_FilesBuilder(); - set files(covariant FilesTrashbinCapabilities_FilesBuilder? files) => _$this._files = files; + int? _maxLength; + int? get maxLength => _$this._maxLength; + set maxLength(covariant int? maxLength) => _$this._maxLength = maxLength; - FilesTrashbinCapabilitiesBuilder(); + int? _readPrivacy; + int? get readPrivacy => _$this._readPrivacy; + set readPrivacy(covariant int? readPrivacy) => _$this._readPrivacy = readPrivacy; - FilesTrashbinCapabilitiesBuilder get _$this { + bool? _hasTranslationProviders; + bool? get hasTranslationProviders => _$this._hasTranslationProviders; + set hasTranslationProviders(covariant bool? hasTranslationProviders) => + _$this._hasTranslationProviders = hasTranslationProviders; + + int? _typingPrivacy; + int? get typingPrivacy => _$this._typingPrivacy; + set typingPrivacy(covariant int? typingPrivacy) => _$this._typingPrivacy = typingPrivacy; + + ListBuilder? _translations; + ListBuilder get translations => _$this._translations ??= ListBuilder(); + set translations(covariant ListBuilder? translations) => _$this._translations = translations; + + SpreedPublicCapabilities0_Spreed_Config_ChatBuilder(); + + SpreedPublicCapabilities0_Spreed_Config_ChatBuilder get _$this { final $v = _$v; if ($v != null) { - _files = $v.files.toBuilder(); + _maxLength = $v.maxLength; + _readPrivacy = $v.readPrivacy; + _hasTranslationProviders = $v.hasTranslationProviders; + _typingPrivacy = $v.typingPrivacy; + _translations = $v.translations?.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesTrashbinCapabilities other) { + void replace(covariant SpreedPublicCapabilities0_Spreed_Config_Chat other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesTrashbinCapabilities; + _$v = other as _$SpreedPublicCapabilities0_Spreed_Config_Chat; } @override - void update(void Function(FilesTrashbinCapabilitiesBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_ChatBuilder)? updates) { if (updates != null) updates(this); } @override - FilesTrashbinCapabilities build() => _build(); + SpreedPublicCapabilities0_Spreed_Config_Chat build() => _build(); - _$FilesTrashbinCapabilities _build() { - _$FilesTrashbinCapabilities _$result; + _$SpreedPublicCapabilities0_Spreed_Config_Chat _build() { + _$SpreedPublicCapabilities0_Spreed_Config_Chat _$result; try { - _$result = _$v ?? _$FilesTrashbinCapabilities._(files: files.build()); + _$result = _$v ?? + _$SpreedPublicCapabilities0_Spreed_Config_Chat._( + maxLength: BuiltValueNullFieldError.checkNotNull( + maxLength, r'SpreedPublicCapabilities0_Spreed_Config_Chat', 'maxLength'), + readPrivacy: BuiltValueNullFieldError.checkNotNull( + readPrivacy, r'SpreedPublicCapabilities0_Spreed_Config_Chat', 'readPrivacy'), + hasTranslationProviders: hasTranslationProviders, + typingPrivacy: BuiltValueNullFieldError.checkNotNull( + typingPrivacy, r'SpreedPublicCapabilities0_Spreed_Config_Chat', 'typingPrivacy'), + translations: _translations?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'files'; - files.build(); + _$failedField = 'translations'; + _translations?.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'FilesTrashbinCapabilities', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities0_Spreed_Config_Chat', _$failedField, e.toString()); } rethrow; } @@ -17943,431 +21125,515 @@ class FilesTrashbinCapabilitiesBuilder } } -abstract mixin class FilesVersionsCapabilities_FilesInterfaceBuilder { - void replace(FilesVersionsCapabilities_FilesInterface other); - void update(void Function(FilesVersionsCapabilities_FilesInterfaceBuilder) updates); - bool? get versioning; - set versioning(bool? versioning); - - bool? get versionLabeling; - set versionLabeling(bool? versionLabeling); - - bool? get versionDeletion; - set versionDeletion(bool? versionDeletion); +abstract mixin class SpreedPublicCapabilities0_Spreed_Config_ConversationsInterfaceBuilder { + void replace(SpreedPublicCapabilities0_Spreed_Config_ConversationsInterface other); + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_ConversationsInterfaceBuilder) updates); + bool? get canCreate; + set canCreate(bool? canCreate); } -class _$FilesVersionsCapabilities_Files extends FilesVersionsCapabilities_Files { - @override - final bool versioning; - @override - final bool versionLabeling; +class _$SpreedPublicCapabilities0_Spreed_Config_Conversations + extends SpreedPublicCapabilities0_Spreed_Config_Conversations { @override - final bool versionDeletion; + final bool canCreate; - factory _$FilesVersionsCapabilities_Files([void Function(FilesVersionsCapabilities_FilesBuilder)? updates]) => - (FilesVersionsCapabilities_FilesBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities0_Spreed_Config_Conversations( + [void Function(SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder)? updates]) => + (SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder()..update(updates))._build(); - _$FilesVersionsCapabilities_Files._( - {required this.versioning, required this.versionLabeling, required this.versionDeletion}) - : super._() { - BuiltValueNullFieldError.checkNotNull(versioning, r'FilesVersionsCapabilities_Files', 'versioning'); - BuiltValueNullFieldError.checkNotNull(versionLabeling, r'FilesVersionsCapabilities_Files', 'versionLabeling'); - BuiltValueNullFieldError.checkNotNull(versionDeletion, r'FilesVersionsCapabilities_Files', 'versionDeletion'); + _$SpreedPublicCapabilities0_Spreed_Config_Conversations._({required this.canCreate}) : super._() { + BuiltValueNullFieldError.checkNotNull( + canCreate, r'SpreedPublicCapabilities0_Spreed_Config_Conversations', 'canCreate'); } @override - FilesVersionsCapabilities_Files rebuild(void Function(FilesVersionsCapabilities_FilesBuilder) updates) => + SpreedPublicCapabilities0_Spreed_Config_Conversations rebuild( + void Function(SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesVersionsCapabilities_FilesBuilder toBuilder() => FilesVersionsCapabilities_FilesBuilder()..replace(this); + SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder toBuilder() => + SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesVersionsCapabilities_Files && - versioning == other.versioning && - versionLabeling == other.versionLabeling && - versionDeletion == other.versionDeletion; + return other is SpreedPublicCapabilities0_Spreed_Config_Conversations && canCreate == other.canCreate; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, versioning.hashCode); - _$hash = $jc(_$hash, versionLabeling.hashCode); - _$hash = $jc(_$hash, versionDeletion.hashCode); + _$hash = $jc(_$hash, canCreate.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesVersionsCapabilities_Files') - ..add('versioning', versioning) - ..add('versionLabeling', versionLabeling) - ..add('versionDeletion', versionDeletion)) + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config_Conversations') + ..add('canCreate', canCreate)) .toString(); } } -class FilesVersionsCapabilities_FilesBuilder +class SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder implements - Builder, - FilesVersionsCapabilities_FilesInterfaceBuilder { - _$FilesVersionsCapabilities_Files? _$v; - - bool? _versioning; - bool? get versioning => _$this._versioning; - set versioning(covariant bool? versioning) => _$this._versioning = versioning; - - bool? _versionLabeling; - bool? get versionLabeling => _$this._versionLabeling; - set versionLabeling(covariant bool? versionLabeling) => _$this._versionLabeling = versionLabeling; + Builder, + SpreedPublicCapabilities0_Spreed_Config_ConversationsInterfaceBuilder { + _$SpreedPublicCapabilities0_Spreed_Config_Conversations? _$v; - bool? _versionDeletion; - bool? get versionDeletion => _$this._versionDeletion; - set versionDeletion(covariant bool? versionDeletion) => _$this._versionDeletion = versionDeletion; + bool? _canCreate; + bool? get canCreate => _$this._canCreate; + set canCreate(covariant bool? canCreate) => _$this._canCreate = canCreate; - FilesVersionsCapabilities_FilesBuilder(); + SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder(); - FilesVersionsCapabilities_FilesBuilder get _$this { + SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder get _$this { final $v = _$v; if ($v != null) { - _versioning = $v.versioning; - _versionLabeling = $v.versionLabeling; - _versionDeletion = $v.versionDeletion; + _canCreate = $v.canCreate; _$v = null; } return this; } @override - void replace(covariant FilesVersionsCapabilities_Files other) { + void replace(covariant SpreedPublicCapabilities0_Spreed_Config_Conversations other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesVersionsCapabilities_Files; + _$v = other as _$SpreedPublicCapabilities0_Spreed_Config_Conversations; } @override - void update(void Function(FilesVersionsCapabilities_FilesBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder)? updates) { if (updates != null) updates(this); } @override - FilesVersionsCapabilities_Files build() => _build(); + SpreedPublicCapabilities0_Spreed_Config_Conversations build() => _build(); - _$FilesVersionsCapabilities_Files _build() { + _$SpreedPublicCapabilities0_Spreed_Config_Conversations _build() { final _$result = _$v ?? - _$FilesVersionsCapabilities_Files._( - versioning: - BuiltValueNullFieldError.checkNotNull(versioning, r'FilesVersionsCapabilities_Files', 'versioning'), - versionLabeling: BuiltValueNullFieldError.checkNotNull( - versionLabeling, r'FilesVersionsCapabilities_Files', 'versionLabeling'), - versionDeletion: BuiltValueNullFieldError.checkNotNull( - versionDeletion, r'FilesVersionsCapabilities_Files', 'versionDeletion')); + _$SpreedPublicCapabilities0_Spreed_Config_Conversations._( + canCreate: BuiltValueNullFieldError.checkNotNull( + canCreate, r'SpreedPublicCapabilities0_Spreed_Config_Conversations', 'canCreate')); replace(_$result); return _$result; } } -abstract mixin class FilesVersionsCapabilitiesInterfaceBuilder { - void replace(FilesVersionsCapabilitiesInterface other); - void update(void Function(FilesVersionsCapabilitiesInterfaceBuilder) updates); - FilesVersionsCapabilities_FilesBuilder get files; - set files(FilesVersionsCapabilities_FilesBuilder? files); +abstract mixin class SpreedPublicCapabilities0_Spreed_Config_PreviewsInterfaceBuilder { + void replace(SpreedPublicCapabilities0_Spreed_Config_PreviewsInterface other); + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_PreviewsInterfaceBuilder) updates); + int? get maxGifSize; + set maxGifSize(int? maxGifSize); } -class _$FilesVersionsCapabilities extends FilesVersionsCapabilities { +class _$SpreedPublicCapabilities0_Spreed_Config_Previews extends SpreedPublicCapabilities0_Spreed_Config_Previews { @override - final FilesVersionsCapabilities_Files files; + final int maxGifSize; - factory _$FilesVersionsCapabilities([void Function(FilesVersionsCapabilitiesBuilder)? updates]) => - (FilesVersionsCapabilitiesBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities0_Spreed_Config_Previews( + [void Function(SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder)? updates]) => + (SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder()..update(updates))._build(); - _$FilesVersionsCapabilities._({required this.files}) : super._() { - BuiltValueNullFieldError.checkNotNull(files, r'FilesVersionsCapabilities', 'files'); + _$SpreedPublicCapabilities0_Spreed_Config_Previews._({required this.maxGifSize}) : super._() { + BuiltValueNullFieldError.checkNotNull( + maxGifSize, r'SpreedPublicCapabilities0_Spreed_Config_Previews', 'maxGifSize'); } @override - FilesVersionsCapabilities rebuild(void Function(FilesVersionsCapabilitiesBuilder) updates) => + SpreedPublicCapabilities0_Spreed_Config_Previews rebuild( + void Function(SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesVersionsCapabilitiesBuilder toBuilder() => FilesVersionsCapabilitiesBuilder()..replace(this); + SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder toBuilder() => + SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesVersionsCapabilities && files == other.files; + return other is SpreedPublicCapabilities0_Spreed_Config_Previews && maxGifSize == other.maxGifSize; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, files.hashCode); + _$hash = $jc(_$hash, maxGifSize.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesVersionsCapabilities')..add('files', files)).toString(); + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config_Previews') + ..add('maxGifSize', maxGifSize)) + .toString(); } } -class FilesVersionsCapabilitiesBuilder +class SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder implements - Builder, - FilesVersionsCapabilitiesInterfaceBuilder { - _$FilesVersionsCapabilities? _$v; + Builder, + SpreedPublicCapabilities0_Spreed_Config_PreviewsInterfaceBuilder { + _$SpreedPublicCapabilities0_Spreed_Config_Previews? _$v; - FilesVersionsCapabilities_FilesBuilder? _files; - FilesVersionsCapabilities_FilesBuilder get files => _$this._files ??= FilesVersionsCapabilities_FilesBuilder(); - set files(covariant FilesVersionsCapabilities_FilesBuilder? files) => _$this._files = files; + int? _maxGifSize; + int? get maxGifSize => _$this._maxGifSize; + set maxGifSize(covariant int? maxGifSize) => _$this._maxGifSize = maxGifSize; - FilesVersionsCapabilitiesBuilder(); + SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder(); - FilesVersionsCapabilitiesBuilder get _$this { + SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder get _$this { final $v = _$v; if ($v != null) { - _files = $v.files.toBuilder(); + _maxGifSize = $v.maxGifSize; _$v = null; } return this; } @override - void replace(covariant FilesVersionsCapabilities other) { + void replace(covariant SpreedPublicCapabilities0_Spreed_Config_Previews other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesVersionsCapabilities; + _$v = other as _$SpreedPublicCapabilities0_Spreed_Config_Previews; } @override - void update(void Function(FilesVersionsCapabilitiesBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder)? updates) { if (updates != null) updates(this); } @override - FilesVersionsCapabilities build() => _build(); + SpreedPublicCapabilities0_Spreed_Config_Previews build() => _build(); - _$FilesVersionsCapabilities _build() { - _$FilesVersionsCapabilities _$result; - try { - _$result = _$v ?? _$FilesVersionsCapabilities._(files: files.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'files'; - files.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'FilesVersionsCapabilities', _$failedField, e.toString()); - } - rethrow; - } + _$SpreedPublicCapabilities0_Spreed_Config_Previews _build() { + final _$result = _$v ?? + _$SpreedPublicCapabilities0_Spreed_Config_Previews._( + maxGifSize: BuiltValueNullFieldError.checkNotNull( + maxGifSize, r'SpreedPublicCapabilities0_Spreed_Config_Previews', 'maxGifSize')); replace(_$result); return _$result; } } -abstract mixin class NotesCapabilities_NotesInterfaceBuilder { - void replace(NotesCapabilities_NotesInterface other); - void update(void Function(NotesCapabilities_NotesInterfaceBuilder) updates); - ListBuilder get apiVersion; - set apiVersion(ListBuilder? apiVersion); +abstract mixin class SpreedPublicCapabilities0_Spreed_Config_SignalingInterfaceBuilder { + void replace(SpreedPublicCapabilities0_Spreed_Config_SignalingInterface other); + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_SignalingInterfaceBuilder) updates); + int? get sessionPingLimit; + set sessionPingLimit(int? sessionPingLimit); - String? get version; - set version(String? version); + String? get helloV2TokenKey; + set helloV2TokenKey(String? helloV2TokenKey); } -class _$NotesCapabilities_Notes extends NotesCapabilities_Notes { +class _$SpreedPublicCapabilities0_Spreed_Config_Signaling extends SpreedPublicCapabilities0_Spreed_Config_Signaling { @override - final BuiltList? apiVersion; + final int sessionPingLimit; @override - final String? version; + final String? helloV2TokenKey; - factory _$NotesCapabilities_Notes([void Function(NotesCapabilities_NotesBuilder)? updates]) => - (NotesCapabilities_NotesBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities0_Spreed_Config_Signaling( + [void Function(SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder)? updates]) => + (SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder()..update(updates))._build(); - _$NotesCapabilities_Notes._({this.apiVersion, this.version}) : super._(); + _$SpreedPublicCapabilities0_Spreed_Config_Signaling._({required this.sessionPingLimit, this.helloV2TokenKey}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + sessionPingLimit, r'SpreedPublicCapabilities0_Spreed_Config_Signaling', 'sessionPingLimit'); + } @override - NotesCapabilities_Notes rebuild(void Function(NotesCapabilities_NotesBuilder) updates) => + SpreedPublicCapabilities0_Spreed_Config_Signaling rebuild( + void Function(SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder) updates) => (toBuilder()..update(updates)).build(); @override - NotesCapabilities_NotesBuilder toBuilder() => NotesCapabilities_NotesBuilder()..replace(this); + SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder toBuilder() => + SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NotesCapabilities_Notes && apiVersion == other.apiVersion && version == other.version; + return other is SpreedPublicCapabilities0_Spreed_Config_Signaling && + sessionPingLimit == other.sessionPingLimit && + helloV2TokenKey == other.helloV2TokenKey; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, apiVersion.hashCode); - _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, sessionPingLimit.hashCode); + _$hash = $jc(_$hash, helloV2TokenKey.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NotesCapabilities_Notes') - ..add('apiVersion', apiVersion) - ..add('version', version)) + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config_Signaling') + ..add('sessionPingLimit', sessionPingLimit) + ..add('helloV2TokenKey', helloV2TokenKey)) .toString(); } } -class NotesCapabilities_NotesBuilder +class SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder implements - Builder, - NotesCapabilities_NotesInterfaceBuilder { - _$NotesCapabilities_Notes? _$v; + Builder, + SpreedPublicCapabilities0_Spreed_Config_SignalingInterfaceBuilder { + _$SpreedPublicCapabilities0_Spreed_Config_Signaling? _$v; - ListBuilder? _apiVersion; - ListBuilder get apiVersion => _$this._apiVersion ??= ListBuilder(); - set apiVersion(covariant ListBuilder? apiVersion) => _$this._apiVersion = apiVersion; + int? _sessionPingLimit; + int? get sessionPingLimit => _$this._sessionPingLimit; + set sessionPingLimit(covariant int? sessionPingLimit) => _$this._sessionPingLimit = sessionPingLimit; - String? _version; - String? get version => _$this._version; - set version(covariant String? version) => _$this._version = version; + String? _helloV2TokenKey; + String? get helloV2TokenKey => _$this._helloV2TokenKey; + set helloV2TokenKey(covariant String? helloV2TokenKey) => _$this._helloV2TokenKey = helloV2TokenKey; - NotesCapabilities_NotesBuilder(); + SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder(); - NotesCapabilities_NotesBuilder get _$this { + SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder get _$this { final $v = _$v; if ($v != null) { - _apiVersion = $v.apiVersion?.toBuilder(); - _version = $v.version; + _sessionPingLimit = $v.sessionPingLimit; + _helloV2TokenKey = $v.helloV2TokenKey; _$v = null; } return this; } @override - void replace(covariant NotesCapabilities_Notes other) { + void replace(covariant SpreedPublicCapabilities0_Spreed_Config_Signaling other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NotesCapabilities_Notes; + _$v = other as _$SpreedPublicCapabilities0_Spreed_Config_Signaling; } @override - void update(void Function(NotesCapabilities_NotesBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder)? updates) { if (updates != null) updates(this); } @override - NotesCapabilities_Notes build() => _build(); + SpreedPublicCapabilities0_Spreed_Config_Signaling 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; - } + _$SpreedPublicCapabilities0_Spreed_Config_Signaling _build() { + final _$result = _$v ?? + _$SpreedPublicCapabilities0_Spreed_Config_Signaling._( + sessionPingLimit: BuiltValueNullFieldError.checkNotNull( + sessionPingLimit, r'SpreedPublicCapabilities0_Spreed_Config_Signaling', 'sessionPingLimit'), + helloV2TokenKey: helloV2TokenKey); replace(_$result); return _$result; } } -abstract mixin class NotesCapabilitiesInterfaceBuilder { - void replace(NotesCapabilitiesInterface other); - void update(void Function(NotesCapabilitiesInterfaceBuilder) updates); - NotesCapabilities_NotesBuilder get notes; - set notes(NotesCapabilities_NotesBuilder? notes); +abstract mixin class SpreedPublicCapabilities0_Spreed_ConfigInterfaceBuilder { + void replace(SpreedPublicCapabilities0_Spreed_ConfigInterface other); + void update(void Function(SpreedPublicCapabilities0_Spreed_ConfigInterfaceBuilder) updates); + SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder get attachments; + set attachments(SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder? attachments); + + SpreedPublicCapabilities0_Spreed_Config_CallBuilder get call; + set call(SpreedPublicCapabilities0_Spreed_Config_CallBuilder? call); + + SpreedPublicCapabilities0_Spreed_Config_ChatBuilder get chat; + set chat(SpreedPublicCapabilities0_Spreed_Config_ChatBuilder? chat); + + SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder get conversations; + set conversations(SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder? conversations); + + SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder get previews; + set previews(SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder? previews); + + SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder get signaling; + set signaling(SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder? signaling); } -class _$NotesCapabilities extends NotesCapabilities { +class _$SpreedPublicCapabilities0_Spreed_Config extends SpreedPublicCapabilities0_Spreed_Config { @override - final NotesCapabilities_Notes notes; + final SpreedPublicCapabilities0_Spreed_Config_Attachments attachments; + @override + final SpreedPublicCapabilities0_Spreed_Config_Call call; + @override + final SpreedPublicCapabilities0_Spreed_Config_Chat chat; + @override + final SpreedPublicCapabilities0_Spreed_Config_Conversations conversations; + @override + final SpreedPublicCapabilities0_Spreed_Config_Previews previews; + @override + final SpreedPublicCapabilities0_Spreed_Config_Signaling signaling; - factory _$NotesCapabilities([void Function(NotesCapabilitiesBuilder)? updates]) => - (NotesCapabilitiesBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities0_Spreed_Config( + [void Function(SpreedPublicCapabilities0_Spreed_ConfigBuilder)? updates]) => + (SpreedPublicCapabilities0_Spreed_ConfigBuilder()..update(updates))._build(); - _$NotesCapabilities._({required this.notes}) : super._() { - BuiltValueNullFieldError.checkNotNull(notes, r'NotesCapabilities', 'notes'); + _$SpreedPublicCapabilities0_Spreed_Config._( + {required this.attachments, + required this.call, + required this.chat, + required this.conversations, + required this.previews, + required this.signaling}) + : super._() { + BuiltValueNullFieldError.checkNotNull(attachments, r'SpreedPublicCapabilities0_Spreed_Config', 'attachments'); + BuiltValueNullFieldError.checkNotNull(call, r'SpreedPublicCapabilities0_Spreed_Config', 'call'); + BuiltValueNullFieldError.checkNotNull(chat, r'SpreedPublicCapabilities0_Spreed_Config', 'chat'); + BuiltValueNullFieldError.checkNotNull(conversations, r'SpreedPublicCapabilities0_Spreed_Config', 'conversations'); + BuiltValueNullFieldError.checkNotNull(previews, r'SpreedPublicCapabilities0_Spreed_Config', 'previews'); + BuiltValueNullFieldError.checkNotNull(signaling, r'SpreedPublicCapabilities0_Spreed_Config', 'signaling'); } @override - NotesCapabilities rebuild(void Function(NotesCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); + SpreedPublicCapabilities0_Spreed_Config rebuild( + void Function(SpreedPublicCapabilities0_Spreed_ConfigBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - NotesCapabilitiesBuilder toBuilder() => NotesCapabilitiesBuilder()..replace(this); + SpreedPublicCapabilities0_Spreed_ConfigBuilder toBuilder() => + SpreedPublicCapabilities0_Spreed_ConfigBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NotesCapabilities && notes == other.notes; + return other is SpreedPublicCapabilities0_Spreed_Config && + attachments == other.attachments && + call == other.call && + chat == other.chat && + conversations == other.conversations && + previews == other.previews && + signaling == other.signaling; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, notes.hashCode); + _$hash = $jc(_$hash, attachments.hashCode); + _$hash = $jc(_$hash, call.hashCode); + _$hash = $jc(_$hash, chat.hashCode); + _$hash = $jc(_$hash, conversations.hashCode); + _$hash = $jc(_$hash, previews.hashCode); + _$hash = $jc(_$hash, signaling.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NotesCapabilities')..add('notes', notes)).toString(); + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config') + ..add('attachments', attachments) + ..add('call', call) + ..add('chat', chat) + ..add('conversations', conversations) + ..add('previews', previews) + ..add('signaling', signaling)) + .toString(); } } -class NotesCapabilitiesBuilder - implements Builder, NotesCapabilitiesInterfaceBuilder { - _$NotesCapabilities? _$v; +class SpreedPublicCapabilities0_Spreed_ConfigBuilder + implements + Builder, + SpreedPublicCapabilities0_Spreed_ConfigInterfaceBuilder { + _$SpreedPublicCapabilities0_Spreed_Config? _$v; - NotesCapabilities_NotesBuilder? _notes; - NotesCapabilities_NotesBuilder get notes => _$this._notes ??= NotesCapabilities_NotesBuilder(); - set notes(covariant NotesCapabilities_NotesBuilder? notes) => _$this._notes = notes; + SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder? _attachments; + SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder get attachments => + _$this._attachments ??= SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder(); + set attachments(covariant SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder? attachments) => + _$this._attachments = attachments; - NotesCapabilitiesBuilder(); + SpreedPublicCapabilities0_Spreed_Config_CallBuilder? _call; + SpreedPublicCapabilities0_Spreed_Config_CallBuilder get call => + _$this._call ??= SpreedPublicCapabilities0_Spreed_Config_CallBuilder(); + set call(covariant SpreedPublicCapabilities0_Spreed_Config_CallBuilder? call) => _$this._call = call; - NotesCapabilitiesBuilder get _$this { + SpreedPublicCapabilities0_Spreed_Config_ChatBuilder? _chat; + SpreedPublicCapabilities0_Spreed_Config_ChatBuilder get chat => + _$this._chat ??= SpreedPublicCapabilities0_Spreed_Config_ChatBuilder(); + set chat(covariant SpreedPublicCapabilities0_Spreed_Config_ChatBuilder? chat) => _$this._chat = chat; + + SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder? _conversations; + SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder get conversations => + _$this._conversations ??= SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder(); + set conversations(covariant SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder? conversations) => + _$this._conversations = conversations; + + SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder? _previews; + SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder get previews => + _$this._previews ??= SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder(); + set previews(covariant SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder? previews) => + _$this._previews = previews; + + SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder? _signaling; + SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder get signaling => + _$this._signaling ??= SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder(); + set signaling(covariant SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder? signaling) => + _$this._signaling = signaling; + + SpreedPublicCapabilities0_Spreed_ConfigBuilder(); + + SpreedPublicCapabilities0_Spreed_ConfigBuilder get _$this { final $v = _$v; if ($v != null) { - _notes = $v.notes.toBuilder(); + _attachments = $v.attachments.toBuilder(); + _call = $v.call.toBuilder(); + _chat = $v.chat.toBuilder(); + _conversations = $v.conversations.toBuilder(); + _previews = $v.previews.toBuilder(); + _signaling = $v.signaling.toBuilder(); _$v = null; } return this; } @override - void replace(covariant NotesCapabilities other) { + void replace(covariant SpreedPublicCapabilities0_Spreed_Config other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NotesCapabilities; + _$v = other as _$SpreedPublicCapabilities0_Spreed_Config; } @override - void update(void Function(NotesCapabilitiesBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities0_Spreed_ConfigBuilder)? updates) { if (updates != null) updates(this); } @override - NotesCapabilities build() => _build(); + SpreedPublicCapabilities0_Spreed_Config build() => _build(); - _$NotesCapabilities _build() { - _$NotesCapabilities _$result; + _$SpreedPublicCapabilities0_Spreed_Config _build() { + _$SpreedPublicCapabilities0_Spreed_Config _$result; try { - _$result = _$v ?? _$NotesCapabilities._(notes: notes.build()); + _$result = _$v ?? + _$SpreedPublicCapabilities0_Spreed_Config._( + attachments: attachments.build(), + call: call.build(), + chat: chat.build(), + conversations: conversations.build(), + previews: previews.build(), + signaling: signaling.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'notes'; - notes.build(); + _$failedField = 'attachments'; + attachments.build(); + _$failedField = 'call'; + call.build(); + _$failedField = 'chat'; + chat.build(); + _$failedField = 'conversations'; + conversations.build(); + _$failedField = 'previews'; + previews.build(); + _$failedField = 'signaling'; + signaling.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'NotesCapabilities', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities0_Spreed_Config', _$failedField, e.toString()); } rethrow; } @@ -18376,141 +21642,136 @@ class NotesCapabilitiesBuilder } } -abstract mixin class NotificationsCapabilities_NotificationsInterfaceBuilder { - void replace(NotificationsCapabilities_NotificationsInterface other); - void update(void Function(NotificationsCapabilities_NotificationsInterfaceBuilder) updates); - ListBuilder get ocsEndpoints; - set ocsEndpoints(ListBuilder? ocsEndpoints); - - ListBuilder get push; - set push(ListBuilder? push); +abstract mixin class SpreedPublicCapabilities0_SpreedInterfaceBuilder { + void replace(SpreedPublicCapabilities0_SpreedInterface other); + void update(void Function(SpreedPublicCapabilities0_SpreedInterfaceBuilder) updates); + ListBuilder get features; + set features(ListBuilder? features); - ListBuilder get adminNotifications; - set adminNotifications(ListBuilder? adminNotifications); + SpreedPublicCapabilities0_Spreed_ConfigBuilder get config; + set config(SpreedPublicCapabilities0_Spreed_ConfigBuilder? config); + + String? get version; + set version(String? version); } -class _$NotificationsCapabilities_Notifications extends NotificationsCapabilities_Notifications { +class _$SpreedPublicCapabilities0_Spreed extends SpreedPublicCapabilities0_Spreed { @override - final BuiltList ocsEndpoints; + final BuiltList features; @override - final BuiltList push; + final SpreedPublicCapabilities0_Spreed_Config config; @override - final BuiltList adminNotifications; + final String version; - factory _$NotificationsCapabilities_Notifications( - [void Function(NotificationsCapabilities_NotificationsBuilder)? updates]) => - (NotificationsCapabilities_NotificationsBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities0_Spreed([void Function(SpreedPublicCapabilities0_SpreedBuilder)? updates]) => + (SpreedPublicCapabilities0_SpreedBuilder()..update(updates))._build(); - _$NotificationsCapabilities_Notifications._( - {required this.ocsEndpoints, required this.push, required this.adminNotifications}) + _$SpreedPublicCapabilities0_Spreed._({required this.features, required this.config, required this.version}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocsEndpoints, r'NotificationsCapabilities_Notifications', 'ocsEndpoints'); - BuiltValueNullFieldError.checkNotNull(push, r'NotificationsCapabilities_Notifications', 'push'); - BuiltValueNullFieldError.checkNotNull( - adminNotifications, r'NotificationsCapabilities_Notifications', 'adminNotifications'); + BuiltValueNullFieldError.checkNotNull(features, r'SpreedPublicCapabilities0_Spreed', 'features'); + BuiltValueNullFieldError.checkNotNull(config, r'SpreedPublicCapabilities0_Spreed', 'config'); + BuiltValueNullFieldError.checkNotNull(version, r'SpreedPublicCapabilities0_Spreed', 'version'); } @override - NotificationsCapabilities_Notifications rebuild( - void Function(NotificationsCapabilities_NotificationsBuilder) updates) => + SpreedPublicCapabilities0_Spreed rebuild(void Function(SpreedPublicCapabilities0_SpreedBuilder) updates) => (toBuilder()..update(updates)).build(); @override - NotificationsCapabilities_NotificationsBuilder toBuilder() => - NotificationsCapabilities_NotificationsBuilder()..replace(this); + SpreedPublicCapabilities0_SpreedBuilder toBuilder() => SpreedPublicCapabilities0_SpreedBuilder()..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; + return other is SpreedPublicCapabilities0_Spreed && + features == other.features && + config == other.config && + version == other.version; } @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, features.hashCode); + _$hash = $jc(_$hash, config.hashCode); + _$hash = $jc(_$hash, version.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NotificationsCapabilities_Notifications') - ..add('ocsEndpoints', ocsEndpoints) - ..add('push', push) - ..add('adminNotifications', adminNotifications)) + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed') + ..add('features', features) + ..add('config', config) + ..add('version', version)) .toString(); } } -class NotificationsCapabilities_NotificationsBuilder +class SpreedPublicCapabilities0_SpreedBuilder implements - Builder, - NotificationsCapabilities_NotificationsInterfaceBuilder { - _$NotificationsCapabilities_Notifications? _$v; + Builder, + SpreedPublicCapabilities0_SpreedInterfaceBuilder { + _$SpreedPublicCapabilities0_Spreed? _$v; - ListBuilder? _ocsEndpoints; - ListBuilder get ocsEndpoints => _$this._ocsEndpoints ??= ListBuilder(); - set ocsEndpoints(covariant ListBuilder? ocsEndpoints) => _$this._ocsEndpoints = ocsEndpoints; + ListBuilder? _features; + ListBuilder get features => _$this._features ??= ListBuilder(); + set features(covariant ListBuilder? features) => _$this._features = features; - ListBuilder? _push; - ListBuilder get push => _$this._push ??= ListBuilder(); - set push(covariant ListBuilder? push) => _$this._push = push; + SpreedPublicCapabilities0_Spreed_ConfigBuilder? _config; + SpreedPublicCapabilities0_Spreed_ConfigBuilder get config => + _$this._config ??= SpreedPublicCapabilities0_Spreed_ConfigBuilder(); + set config(covariant SpreedPublicCapabilities0_Spreed_ConfigBuilder? config) => _$this._config = config; - ListBuilder? _adminNotifications; - ListBuilder get adminNotifications => _$this._adminNotifications ??= ListBuilder(); - set adminNotifications(covariant ListBuilder? adminNotifications) => - _$this._adminNotifications = adminNotifications; + String? _version; + String? get version => _$this._version; + set version(covariant String? version) => _$this._version = version; - NotificationsCapabilities_NotificationsBuilder(); + SpreedPublicCapabilities0_SpreedBuilder(); - NotificationsCapabilities_NotificationsBuilder get _$this { + SpreedPublicCapabilities0_SpreedBuilder get _$this { final $v = _$v; if ($v != null) { - _ocsEndpoints = $v.ocsEndpoints.toBuilder(); - _push = $v.push.toBuilder(); - _adminNotifications = $v.adminNotifications.toBuilder(); + _features = $v.features.toBuilder(); + _config = $v.config.toBuilder(); + _version = $v.version; _$v = null; } return this; } @override - void replace(covariant NotificationsCapabilities_Notifications other) { + void replace(covariant SpreedPublicCapabilities0_Spreed other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NotificationsCapabilities_Notifications; + _$v = other as _$SpreedPublicCapabilities0_Spreed; } @override - void update(void Function(NotificationsCapabilities_NotificationsBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities0_SpreedBuilder)? updates) { if (updates != null) updates(this); } @override - NotificationsCapabilities_Notifications build() => _build(); + SpreedPublicCapabilities0_Spreed build() => _build(); - _$NotificationsCapabilities_Notifications _build() { - _$NotificationsCapabilities_Notifications _$result; + _$SpreedPublicCapabilities0_Spreed _build() { + _$SpreedPublicCapabilities0_Spreed _$result; try { _$result = _$v ?? - _$NotificationsCapabilities_Notifications._( - ocsEndpoints: ocsEndpoints.build(), push: push.build(), adminNotifications: adminNotifications.build()); + _$SpreedPublicCapabilities0_Spreed._( + features: features.build(), + config: config.build(), + version: BuiltValueNullFieldError.checkNotNull(version, r'SpreedPublicCapabilities0_Spreed', 'version')); } catch (_) { late String _$failedField; try { - _$failedField = 'ocsEndpoints'; - ocsEndpoints.build(); - _$failedField = 'push'; - push.build(); - _$failedField = 'adminNotifications'; - adminNotifications.build(); + _$failedField = 'features'; + features.build(); + _$failedField = 'config'; + config.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'NotificationsCapabilities_Notifications', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities0_Spreed', _$failedField, e.toString()); } rethrow; } @@ -18519,99 +21780,97 @@ class NotificationsCapabilities_NotificationsBuilder } } -abstract mixin class NotificationsCapabilitiesInterfaceBuilder { - void replace(NotificationsCapabilitiesInterface other); - void update(void Function(NotificationsCapabilitiesInterfaceBuilder) updates); - NotificationsCapabilities_NotificationsBuilder get notifications; - set notifications(NotificationsCapabilities_NotificationsBuilder? notifications); +abstract mixin class SpreedPublicCapabilities0InterfaceBuilder { + void replace(SpreedPublicCapabilities0Interface other); + void update(void Function(SpreedPublicCapabilities0InterfaceBuilder) updates); + SpreedPublicCapabilities0_SpreedBuilder get spreed; + set spreed(SpreedPublicCapabilities0_SpreedBuilder? spreed); } -class _$NotificationsCapabilities extends NotificationsCapabilities { +class _$SpreedPublicCapabilities0 extends SpreedPublicCapabilities0 { @override - final NotificationsCapabilities_Notifications notifications; + final SpreedPublicCapabilities0_Spreed spreed; - factory _$NotificationsCapabilities([void Function(NotificationsCapabilitiesBuilder)? updates]) => - (NotificationsCapabilitiesBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities0([void Function(SpreedPublicCapabilities0Builder)? updates]) => + (SpreedPublicCapabilities0Builder()..update(updates))._build(); - _$NotificationsCapabilities._({required this.notifications}) : super._() { - BuiltValueNullFieldError.checkNotNull(notifications, r'NotificationsCapabilities', 'notifications'); + _$SpreedPublicCapabilities0._({required this.spreed}) : super._() { + BuiltValueNullFieldError.checkNotNull(spreed, r'SpreedPublicCapabilities0', 'spreed'); } @override - NotificationsCapabilities rebuild(void Function(NotificationsCapabilitiesBuilder) updates) => + SpreedPublicCapabilities0 rebuild(void Function(SpreedPublicCapabilities0Builder) updates) => (toBuilder()..update(updates)).build(); @override - NotificationsCapabilitiesBuilder toBuilder() => NotificationsCapabilitiesBuilder()..replace(this); + SpreedPublicCapabilities0Builder toBuilder() => SpreedPublicCapabilities0Builder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NotificationsCapabilities && notifications == other.notifications; + return other is SpreedPublicCapabilities0 && spreed == other.spreed; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, notifications.hashCode); + _$hash = $jc(_$hash, spreed.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NotificationsCapabilities')..add('notifications', notifications)).toString(); + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0')..add('spreed', spreed)).toString(); } } -class NotificationsCapabilitiesBuilder +class SpreedPublicCapabilities0Builder implements - Builder, - NotificationsCapabilitiesInterfaceBuilder { - _$NotificationsCapabilities? _$v; + Builder, + SpreedPublicCapabilities0InterfaceBuilder { + _$SpreedPublicCapabilities0? _$v; - NotificationsCapabilities_NotificationsBuilder? _notifications; - NotificationsCapabilities_NotificationsBuilder get notifications => - _$this._notifications ??= NotificationsCapabilities_NotificationsBuilder(); - set notifications(covariant NotificationsCapabilities_NotificationsBuilder? notifications) => - _$this._notifications = notifications; + SpreedPublicCapabilities0_SpreedBuilder? _spreed; + SpreedPublicCapabilities0_SpreedBuilder get spreed => _$this._spreed ??= SpreedPublicCapabilities0_SpreedBuilder(); + set spreed(covariant SpreedPublicCapabilities0_SpreedBuilder? spreed) => _$this._spreed = spreed; - NotificationsCapabilitiesBuilder(); + SpreedPublicCapabilities0Builder(); - NotificationsCapabilitiesBuilder get _$this { + SpreedPublicCapabilities0Builder get _$this { final $v = _$v; if ($v != null) { - _notifications = $v.notifications.toBuilder(); + _spreed = $v.spreed.toBuilder(); _$v = null; } return this; } @override - void replace(covariant NotificationsCapabilities other) { + void replace(covariant SpreedPublicCapabilities0 other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NotificationsCapabilities; + _$v = other as _$SpreedPublicCapabilities0; } @override - void update(void Function(NotificationsCapabilitiesBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities0Builder)? updates) { if (updates != null) updates(this); } @override - NotificationsCapabilities build() => _build(); + SpreedPublicCapabilities0 build() => _build(); - _$NotificationsCapabilities _build() { - _$NotificationsCapabilities _$result; + _$SpreedPublicCapabilities0 _build() { + _$SpreedPublicCapabilities0 _$result; try { - _$result = _$v ?? _$NotificationsCapabilities._(notifications: notifications.build()); + _$result = _$v ?? _$SpreedPublicCapabilities0._(spreed: spreed.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'notifications'; - notifications.build(); + _$failedField = 'spreed'; + spreed.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'NotificationsCapabilities', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities0', _$failedField, e.toString()); } rethrow; } @@ -18620,886 +21879,962 @@ class NotificationsCapabilitiesBuilder } } -abstract mixin class ProvisioningApiCapabilities_ProvisioningApiInterfaceBuilder { - void replace(ProvisioningApiCapabilities_ProvisioningApiInterface other); - void update(void Function(ProvisioningApiCapabilities_ProvisioningApiInterfaceBuilder) updates); - String? get version; - set version(String? version); - - int? get accountPropertyScopesVersion; - set accountPropertyScopesVersion(int? accountPropertyScopesVersion); - - bool? get accountPropertyScopesFederatedEnabled; - set accountPropertyScopesFederatedEnabled(bool? accountPropertyScopesFederatedEnabled); +abstract mixin class SpreedPublicCapabilitiesInterfaceBuilder { + void replace(SpreedPublicCapabilitiesInterface other); + void update(void Function(SpreedPublicCapabilitiesInterfaceBuilder) updates); + SpreedPublicCapabilities0Builder get spreedPublicCapabilities0; + set spreedPublicCapabilities0(SpreedPublicCapabilities0Builder? spreedPublicCapabilities0); - bool? get accountPropertyScopesPublishedEnabled; - set accountPropertyScopesPublishedEnabled(bool? accountPropertyScopesPublishedEnabled); + ListBuilder get builtListJsonObject; + set builtListJsonObject(ListBuilder? builtListJsonObject); } -class _$ProvisioningApiCapabilities_ProvisioningApi extends ProvisioningApiCapabilities_ProvisioningApi { - @override - final String version; +class _$SpreedPublicCapabilities extends SpreedPublicCapabilities { @override - final int accountPropertyScopesVersion; + final JsonObject data; @override - final bool accountPropertyScopesFederatedEnabled; + final SpreedPublicCapabilities0? spreedPublicCapabilities0; @override - final bool accountPropertyScopesPublishedEnabled; + final BuiltList? builtListJsonObject; - factory _$ProvisioningApiCapabilities_ProvisioningApi( - [void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? updates]) => - (ProvisioningApiCapabilities_ProvisioningApiBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities([void Function(SpreedPublicCapabilitiesBuilder)? updates]) => + (SpreedPublicCapabilitiesBuilder()..update(updates))._build(); - _$ProvisioningApiCapabilities_ProvisioningApi._( - {required this.version, - required this.accountPropertyScopesVersion, - required this.accountPropertyScopesFederatedEnabled, - required this.accountPropertyScopesPublishedEnabled}) + _$SpreedPublicCapabilities._({required this.data, this.spreedPublicCapabilities0, this.builtListJsonObject}) : 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'); + BuiltValueNullFieldError.checkNotNull(data, r'SpreedPublicCapabilities', 'data'); } @override - ProvisioningApiCapabilities_ProvisioningApi rebuild( - void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder) updates) => + SpreedPublicCapabilities rebuild(void Function(SpreedPublicCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ProvisioningApiCapabilities_ProvisioningApiBuilder toBuilder() => - ProvisioningApiCapabilities_ProvisioningApiBuilder()..replace(this); + SpreedPublicCapabilitiesBuilder toBuilder() => SpreedPublicCapabilitiesBuilder()..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; + return other is SpreedPublicCapabilities && + data == other.data && + spreedPublicCapabilities0 == other.spreedPublicCapabilities0 && + builtListJsonObject == other.builtListJsonObject; } @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, data.hashCode); + _$hash = $jc(_$hash, spreedPublicCapabilities0.hashCode); + _$hash = $jc(_$hash, builtListJsonObject.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)) + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities') + ..add('data', data) + ..add('spreedPublicCapabilities0', spreedPublicCapabilities0) + ..add('builtListJsonObject', builtListJsonObject)) .toString(); } } -class ProvisioningApiCapabilities_ProvisioningApiBuilder +class SpreedPublicCapabilitiesBuilder implements - Builder, - ProvisioningApiCapabilities_ProvisioningApiInterfaceBuilder { - _$ProvisioningApiCapabilities_ProvisioningApi? _$v; - - String? _version; - String? get version => _$this._version; - set version(covariant String? version) => _$this._version = version; + Builder, + SpreedPublicCapabilitiesInterfaceBuilder { + _$SpreedPublicCapabilities? _$v; - int? _accountPropertyScopesVersion; - int? get accountPropertyScopesVersion => _$this._accountPropertyScopesVersion; - set accountPropertyScopesVersion(covariant int? accountPropertyScopesVersion) => - _$this._accountPropertyScopesVersion = accountPropertyScopesVersion; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; - bool? _accountPropertyScopesFederatedEnabled; - bool? get accountPropertyScopesFederatedEnabled => _$this._accountPropertyScopesFederatedEnabled; - set accountPropertyScopesFederatedEnabled(covariant bool? accountPropertyScopesFederatedEnabled) => - _$this._accountPropertyScopesFederatedEnabled = accountPropertyScopesFederatedEnabled; + SpreedPublicCapabilities0Builder? _spreedPublicCapabilities0; + SpreedPublicCapabilities0Builder get spreedPublicCapabilities0 => + _$this._spreedPublicCapabilities0 ??= SpreedPublicCapabilities0Builder(); + set spreedPublicCapabilities0(covariant SpreedPublicCapabilities0Builder? spreedPublicCapabilities0) => + _$this._spreedPublicCapabilities0 = spreedPublicCapabilities0; - bool? _accountPropertyScopesPublishedEnabled; - bool? get accountPropertyScopesPublishedEnabled => _$this._accountPropertyScopesPublishedEnabled; - set accountPropertyScopesPublishedEnabled(covariant bool? accountPropertyScopesPublishedEnabled) => - _$this._accountPropertyScopesPublishedEnabled = accountPropertyScopesPublishedEnabled; + ListBuilder? _builtListJsonObject; + ListBuilder get builtListJsonObject => _$this._builtListJsonObject ??= ListBuilder(); + set builtListJsonObject(covariant ListBuilder? builtListJsonObject) => + _$this._builtListJsonObject = builtListJsonObject; - ProvisioningApiCapabilities_ProvisioningApiBuilder(); + SpreedPublicCapabilitiesBuilder(); - ProvisioningApiCapabilities_ProvisioningApiBuilder get _$this { + SpreedPublicCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _version = $v.version; - _accountPropertyScopesVersion = $v.accountPropertyScopesVersion; - _accountPropertyScopesFederatedEnabled = $v.accountPropertyScopesFederatedEnabled; - _accountPropertyScopesPublishedEnabled = $v.accountPropertyScopesPublishedEnabled; + _data = $v.data; + _spreedPublicCapabilities0 = $v.spreedPublicCapabilities0?.toBuilder(); + _builtListJsonObject = $v.builtListJsonObject?.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ProvisioningApiCapabilities_ProvisioningApi other) { + void replace(covariant SpreedPublicCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ProvisioningApiCapabilities_ProvisioningApi; + _$v = other as _$SpreedPublicCapabilities; } @override - void update(void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? updates) { + void update(void Function(SpreedPublicCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - ProvisioningApiCapabilities_ProvisioningApi build() => _build(); + SpreedPublicCapabilities 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')); + _$SpreedPublicCapabilities _build() { + SpreedPublicCapabilities._validate(this); + _$SpreedPublicCapabilities _$result; + try { + _$result = _$v ?? + _$SpreedPublicCapabilities._( + data: BuiltValueNullFieldError.checkNotNull(data, r'SpreedPublicCapabilities', 'data'), + spreedPublicCapabilities0: _spreedPublicCapabilities0?.build(), + builtListJsonObject: _builtListJsonObject?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'spreedPublicCapabilities0'; + _spreedPublicCapabilities0?.build(); + _$failedField = 'builtListJsonObject'; + _builtListJsonObject?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class ProvisioningApiCapabilitiesInterfaceBuilder { - void replace(ProvisioningApiCapabilitiesInterface other); - void update(void Function(ProvisioningApiCapabilitiesInterfaceBuilder) updates); - ProvisioningApiCapabilities_ProvisioningApiBuilder get provisioningApi; - set provisioningApi(ProvisioningApiCapabilities_ProvisioningApiBuilder? provisioningApi); +abstract mixin class ThemingPublicCapabilities_ThemingInterfaceBuilder { + void replace(ThemingPublicCapabilities_ThemingInterface other); + void update(void Function(ThemingPublicCapabilities_ThemingInterfaceBuilder) updates); + String? get name; + set name(String? name); + + String? get url; + set url(String? url); + + String? get slogan; + set slogan(String? slogan); + + String? get color; + set color(String? color); + + String? get colorText; + set colorText(String? colorText); + + String? get colorElement; + set colorElement(String? colorElement); + + String? get colorElementBright; + set colorElementBright(String? colorElementBright); + + String? get colorElementDark; + set colorElementDark(String? colorElementDark); + + String? get logo; + set logo(String? logo); + + String? get background; + set background(String? background); + + bool? get backgroundPlain; + set backgroundPlain(bool? backgroundPlain); + + bool? get backgroundDefault; + set backgroundDefault(bool? backgroundDefault); + + String? get logoheader; + set logoheader(String? logoheader); + + String? get favicon; + set favicon(String? favicon); } -class _$ProvisioningApiCapabilities extends ProvisioningApiCapabilities { +class _$ThemingPublicCapabilities_Theming extends ThemingPublicCapabilities_Theming { @override - final ProvisioningApiCapabilities_ProvisioningApi provisioningApi; + 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 _$ProvisioningApiCapabilities([void Function(ProvisioningApiCapabilitiesBuilder)? updates]) => - (ProvisioningApiCapabilitiesBuilder()..update(updates))._build(); + factory _$ThemingPublicCapabilities_Theming([void Function(ThemingPublicCapabilities_ThemingBuilder)? updates]) => + (ThemingPublicCapabilities_ThemingBuilder()..update(updates))._build(); - _$ProvisioningApiCapabilities._({required this.provisioningApi}) : super._() { - BuiltValueNullFieldError.checkNotNull(provisioningApi, r'ProvisioningApiCapabilities', 'provisioningApi'); + _$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 - ProvisioningApiCapabilities rebuild(void Function(ProvisioningApiCapabilitiesBuilder) updates) => + ThemingPublicCapabilities_Theming rebuild(void Function(ThemingPublicCapabilities_ThemingBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ProvisioningApiCapabilitiesBuilder toBuilder() => ProvisioningApiCapabilitiesBuilder()..replace(this); + ThemingPublicCapabilities_ThemingBuilder toBuilder() => ThemingPublicCapabilities_ThemingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ProvisioningApiCapabilities && provisioningApi == other.provisioningApi; + 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, provisioningApi.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'ProvisioningApiCapabilities')..add('provisioningApi', provisioningApi)) + 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 ProvisioningApiCapabilitiesBuilder +class ThemingPublicCapabilities_ThemingBuilder implements - Builder, - ProvisioningApiCapabilitiesInterfaceBuilder { - _$ProvisioningApiCapabilities? _$v; + Builder, + ThemingPublicCapabilities_ThemingInterfaceBuilder { + _$ThemingPublicCapabilities_Theming? _$v; - ProvisioningApiCapabilities_ProvisioningApiBuilder? _provisioningApi; - ProvisioningApiCapabilities_ProvisioningApiBuilder get provisioningApi => - _$this._provisioningApi ??= ProvisioningApiCapabilities_ProvisioningApiBuilder(); - set provisioningApi(covariant ProvisioningApiCapabilities_ProvisioningApiBuilder? provisioningApi) => - _$this._provisioningApi = provisioningApi; + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; - ProvisioningApiCapabilitiesBuilder(); + String? _url; + String? get url => _$this._url; + set url(covariant String? url) => _$this._url = url; - ProvisioningApiCapabilitiesBuilder get _$this { + String? _slogan; + String? get slogan => _$this._slogan; + set slogan(covariant String? slogan) => _$this._slogan = slogan; + + String? _color; + String? get color => _$this._color; + set color(covariant String? color) => _$this._color = color; + + String? _colorText; + String? get colorText => _$this._colorText; + set colorText(covariant String? colorText) => _$this._colorText = colorText; + + String? _colorElement; + String? get colorElement => _$this._colorElement; + set colorElement(covariant String? colorElement) => _$this._colorElement = colorElement; + + String? _colorElementBright; + String? get colorElementBright => _$this._colorElementBright; + set colorElementBright(covariant String? colorElementBright) => _$this._colorElementBright = colorElementBright; + + String? _colorElementDark; + String? get colorElementDark => _$this._colorElementDark; + set colorElementDark(covariant String? colorElementDark) => _$this._colorElementDark = colorElementDark; + + String? _logo; + String? get logo => _$this._logo; + set logo(covariant String? logo) => _$this._logo = logo; + + String? _background; + String? get background => _$this._background; + set background(covariant String? background) => _$this._background = background; + + bool? _backgroundPlain; + bool? get backgroundPlain => _$this._backgroundPlain; + set backgroundPlain(covariant bool? backgroundPlain) => _$this._backgroundPlain = backgroundPlain; + + bool? _backgroundDefault; + bool? get backgroundDefault => _$this._backgroundDefault; + set backgroundDefault(covariant bool? backgroundDefault) => _$this._backgroundDefault = backgroundDefault; + + String? _logoheader; + String? get logoheader => _$this._logoheader; + set logoheader(covariant String? logoheader) => _$this._logoheader = logoheader; + + String? _favicon; + String? get favicon => _$this._favicon; + set favicon(covariant String? favicon) => _$this._favicon = favicon; + + ThemingPublicCapabilities_ThemingBuilder(); + + ThemingPublicCapabilities_ThemingBuilder get _$this { final $v = _$v; if ($v != null) { - _provisioningApi = $v.provisioningApi.toBuilder(); + _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(covariant ProvisioningApiCapabilities other) { + void replace(covariant ThemingPublicCapabilities_Theming other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ProvisioningApiCapabilities; + _$v = other as _$ThemingPublicCapabilities_Theming; } @override - void update(void Function(ProvisioningApiCapabilitiesBuilder)? updates) { + void update(void Function(ThemingPublicCapabilities_ThemingBuilder)? updates) { if (updates != null) updates(this); } @override - ProvisioningApiCapabilities build() => _build(); + ThemingPublicCapabilities_Theming 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; - } + _$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; } } -abstract mixin class SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder { - void replace(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterface other); - void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class ThemingPublicCapabilitiesInterfaceBuilder { + void replace(ThemingPublicCapabilitiesInterface other); + void update(void Function(ThemingPublicCapabilitiesInterfaceBuilder) updates); + ThemingPublicCapabilities_ThemingBuilder get theming; + set theming(ThemingPublicCapabilities_ThemingBuilder? theming); } -class _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop - extends SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop { +class _$ThemingPublicCapabilities extends ThemingPublicCapabilities { @override - final bool enabled; + final ThemingPublicCapabilities_Theming theming; - factory _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop( - [void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? updates]) => - (SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder()..update(updates))._build(); + factory _$ThemingPublicCapabilities([void Function(ThemingPublicCapabilitiesBuilder)? updates]) => + (ThemingPublicCapabilitiesBuilder()..update(updates))._build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop._({required this.enabled}) : super._() { - BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop', 'enabled'); + _$ThemingPublicCapabilities._({required this.theming}) : super._() { + BuiltValueNullFieldError.checkNotNull(theming, r'ThemingPublicCapabilities', 'theming'); } @override - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop rebuild( - void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder) updates) => + ThemingPublicCapabilities rebuild(void Function(ThemingPublicCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder toBuilder() => - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder()..replace(this); + ThemingPublicCapabilitiesBuilder toBuilder() => ThemingPublicCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop && enabled == other.enabled; + return other is ThemingPublicCapabilities && theming == other.theming; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, theming.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop') - ..add('enabled', enabled)) - .toString(); + return (newBuiltValueToStringHelper(r'ThemingPublicCapabilities')..add('theming', theming)).toString(); } } -class SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder +class ThemingPublicCapabilitiesBuilder implements - Builder, - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder { - _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop? _$v; + Builder, + ThemingPublicCapabilitiesInterfaceBuilder { + _$ThemingPublicCapabilities? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + ThemingPublicCapabilities_ThemingBuilder? _theming; + ThemingPublicCapabilities_ThemingBuilder get theming => + _$this._theming ??= ThemingPublicCapabilities_ThemingBuilder(); + set theming(covariant ThemingPublicCapabilities_ThemingBuilder? theming) => _$this._theming = theming; - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); + ThemingPublicCapabilitiesBuilder(); - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder get _$this { + ThemingPublicCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _theming = $v.theming.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop other) { + void replace(covariant ThemingPublicCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop; + _$v = other as _$ThemingPublicCapabilities; } @override - void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? updates) { + void update(void Function(ThemingPublicCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop build() => _build(); + ThemingPublicCapabilities build() => _build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop _build() { - final _$result = _$v ?? - _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop', 'enabled')); + _$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; } } -abstract mixin class SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterfaceBuilder { - void replace(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterface other); - void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterfaceBuilder) updates); +abstract mixin class UserStatusCapabilities_UserStatusInterfaceBuilder { + void replace(UserStatusCapabilities_UserStatusInterface other); + void update(void Function(UserStatusCapabilities_UserStatusInterfaceBuilder) updates); bool? get enabled; set enabled(bool? enabled); - bool? get enforced; - set enforced(bool? enforced); + bool? get restore; + set restore(bool? restore); + + bool? get supportsEmoji; + set supportsEmoji(bool? supportsEmoji); } -class _$SharebymailCapabilities_FilesSharing_Sharebymail_Password - extends SharebymailCapabilities_FilesSharing_Sharebymail_Password { +class _$UserStatusCapabilities_UserStatus extends UserStatusCapabilities_UserStatus { @override final bool enabled; @override - final bool enforced; + final bool restore; + @override + final bool supportsEmoji; - factory _$SharebymailCapabilities_FilesSharing_Sharebymail_Password( - [void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder)? updates]) => - (SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder()..update(updates))._build(); + factory _$UserStatusCapabilities_UserStatus([void Function(UserStatusCapabilities_UserStatusBuilder)? updates]) => + (UserStatusCapabilities_UserStatusBuilder()..update(updates))._build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail_Password._({required this.enabled, required this.enforced}) + _$UserStatusCapabilities_UserStatus._({required this.enabled, required this.restore, required this.supportsEmoji}) : super._() { - BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', 'enabled'); - BuiltValueNullFieldError.checkNotNull( - enforced, r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', 'enforced'); + BuiltValueNullFieldError.checkNotNull(enabled, r'UserStatusCapabilities_UserStatus', 'enabled'); + BuiltValueNullFieldError.checkNotNull(restore, r'UserStatusCapabilities_UserStatus', 'restore'); + BuiltValueNullFieldError.checkNotNull(supportsEmoji, r'UserStatusCapabilities_UserStatus', 'supportsEmoji'); } @override - SharebymailCapabilities_FilesSharing_Sharebymail_Password rebuild( - void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder) updates) => + UserStatusCapabilities_UserStatus rebuild(void Function(UserStatusCapabilities_UserStatusBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder toBuilder() => - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder()..replace(this); + UserStatusCapabilities_UserStatusBuilder toBuilder() => UserStatusCapabilities_UserStatusBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SharebymailCapabilities_FilesSharing_Sharebymail_Password && + return other is UserStatusCapabilities_UserStatus && enabled == other.enabled && - enforced == other.enforced; + restore == other.restore && + supportsEmoji == other.supportsEmoji; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, restore.hashCode); + _$hash = $jc(_$hash, supportsEmoji.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing_Sharebymail_Password') + return (newBuiltValueToStringHelper(r'UserStatusCapabilities_UserStatus') ..add('enabled', enabled) - ..add('enforced', enforced)) + ..add('restore', restore) + ..add('supportsEmoji', supportsEmoji)) .toString(); } } -class SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder +class UserStatusCapabilities_UserStatusBuilder implements - Builder, - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterfaceBuilder { - _$SharebymailCapabilities_FilesSharing_Sharebymail_Password? _$v; + Builder, + UserStatusCapabilities_UserStatusInterfaceBuilder { + _$UserStatusCapabilities_UserStatus? _$v; bool? _enabled; bool? get enabled => _$this._enabled; set enabled(covariant bool? enabled) => _$this._enabled = enabled; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(covariant bool? enforced) => _$this._enforced = enforced; + bool? _restore; + bool? get restore => _$this._restore; + set restore(covariant bool? restore) => _$this._restore = restore; + + bool? _supportsEmoji; + bool? get supportsEmoji => _$this._supportsEmoji; + set supportsEmoji(covariant bool? supportsEmoji) => _$this._supportsEmoji = supportsEmoji; - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder(); + UserStatusCapabilities_UserStatusBuilder(); - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder get _$this { + UserStatusCapabilities_UserStatusBuilder get _$this { final $v = _$v; if ($v != null) { _enabled = $v.enabled; - _enforced = $v.enforced; + _restore = $v.restore; + _supportsEmoji = $v.supportsEmoji; _$v = null; } return this; } @override - void replace(covariant SharebymailCapabilities_FilesSharing_Sharebymail_Password other) { + void replace(covariant UserStatusCapabilities_UserStatus other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SharebymailCapabilities_FilesSharing_Sharebymail_Password; + _$v = other as _$UserStatusCapabilities_UserStatus; } @override - void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder)? updates) { + void update(void Function(UserStatusCapabilities_UserStatusBuilder)? updates) { if (updates != null) updates(this); } @override - SharebymailCapabilities_FilesSharing_Sharebymail_Password build() => _build(); + UserStatusCapabilities_UserStatus build() => _build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail_Password _build() { + _$UserStatusCapabilities_UserStatus _build() { final _$result = _$v ?? - _$SharebymailCapabilities_FilesSharing_Sharebymail_Password._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', 'enabled'), - enforced: BuiltValueNullFieldError.checkNotNull( - enforced, r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', 'enforced')); + _$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; } } -abstract mixin class SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder { - void replace(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterface other); - void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); - - bool? get enforced; - set enforced(bool? enforced); +abstract mixin class UserStatusCapabilitiesInterfaceBuilder { + void replace(UserStatusCapabilitiesInterface other); + void update(void Function(UserStatusCapabilitiesInterfaceBuilder) updates); + UserStatusCapabilities_UserStatusBuilder get userStatus; + set userStatus(UserStatusCapabilities_UserStatusBuilder? userStatus); } -class _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate - extends SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate { - @override - final bool enabled; +class _$UserStatusCapabilities extends UserStatusCapabilities { @override - final bool enforced; + final UserStatusCapabilities_UserStatus userStatus; - factory _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate( - [void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? updates]) => - (SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder()..update(updates))._build(); + factory _$UserStatusCapabilities([void Function(UserStatusCapabilitiesBuilder)? updates]) => + (UserStatusCapabilitiesBuilder()..update(updates))._build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate._({required this.enabled, required this.enforced}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', 'enabled'); - BuiltValueNullFieldError.checkNotNull( - enforced, r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', 'enforced'); + _$UserStatusCapabilities._({required this.userStatus}) : super._() { + BuiltValueNullFieldError.checkNotNull(userStatus, r'UserStatusCapabilities', 'userStatus'); } @override - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate rebuild( - void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder) updates) => + UserStatusCapabilities rebuild(void Function(UserStatusCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder toBuilder() => - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder()..replace(this); + UserStatusCapabilitiesBuilder toBuilder() => UserStatusCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate && - enabled == other.enabled && - enforced == other.enforced; + return other is UserStatusCapabilities && userStatus == other.userStatus; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, userStatus.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate') - ..add('enabled', enabled) - ..add('enforced', enforced)) - .toString(); + return (newBuiltValueToStringHelper(r'UserStatusCapabilities')..add('userStatus', userStatus)).toString(); } } -class SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder - implements - Builder, - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder { - _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; +class UserStatusCapabilitiesBuilder + implements Builder, UserStatusCapabilitiesInterfaceBuilder { + _$UserStatusCapabilities? _$v; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(covariant bool? enforced) => _$this._enforced = enforced; + UserStatusCapabilities_UserStatusBuilder? _userStatus; + UserStatusCapabilities_UserStatusBuilder get userStatus => + _$this._userStatus ??= UserStatusCapabilities_UserStatusBuilder(); + set userStatus(covariant UserStatusCapabilities_UserStatusBuilder? userStatus) => _$this._userStatus = userStatus; - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); + UserStatusCapabilitiesBuilder(); - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder get _$this { + UserStatusCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _enforced = $v.enforced; + _userStatus = $v.userStatus.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate other) { + void replace(covariant UserStatusCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate; + _$v = other as _$UserStatusCapabilities; } @override - void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? updates) { + void update(void Function(UserStatusCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate build() => _build(); + UserStatusCapabilities build() => _build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate _build() { - final _$result = _$v ?? - _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', 'enabled'), - enforced: BuiltValueNullFieldError.checkNotNull( - enforced, r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', 'enforced')); + _$UserStatusCapabilities _build() { + _$UserStatusCapabilities _$result; + try { + _$result = _$v ?? _$UserStatusCapabilities._(userStatus: userStatus.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'userStatus'; + userStatus.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'UserStatusCapabilities', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class SharebymailCapabilities_FilesSharing_SharebymailInterfaceBuilder { - void replace(SharebymailCapabilities_FilesSharing_SharebymailInterface other); - void update(void Function(SharebymailCapabilities_FilesSharing_SharebymailInterfaceBuilder) updates); +abstract mixin class WeatherStatusCapabilities_WeatherStatusInterfaceBuilder { + void replace(WeatherStatusCapabilities_WeatherStatusInterface other); + void update(void Function(WeatherStatusCapabilities_WeatherStatusInterfaceBuilder) updates); bool? get enabled; set enabled(bool? enabled); - - bool? get sendPasswordByMail; - set sendPasswordByMail(bool? sendPasswordByMail); - - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder get uploadFilesDrop; - set uploadFilesDrop(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? uploadFilesDrop); - - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder get password; - set password(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder? password); - - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder get expireDate; - set expireDate(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder? expireDate); } -class _$SharebymailCapabilities_FilesSharing_Sharebymail extends SharebymailCapabilities_FilesSharing_Sharebymail { +class _$WeatherStatusCapabilities_WeatherStatus extends WeatherStatusCapabilities_WeatherStatus { @override final bool enabled; - @override - final bool sendPasswordByMail; - @override - final SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop uploadFilesDrop; - @override - final SharebymailCapabilities_FilesSharing_Sharebymail_Password password; - @override - final SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate expireDate; - factory _$SharebymailCapabilities_FilesSharing_Sharebymail( - [void Function(SharebymailCapabilities_FilesSharing_SharebymailBuilder)? updates]) => - (SharebymailCapabilities_FilesSharing_SharebymailBuilder()..update(updates))._build(); + factory _$WeatherStatusCapabilities_WeatherStatus( + [void Function(WeatherStatusCapabilities_WeatherStatusBuilder)? updates]) => + (WeatherStatusCapabilities_WeatherStatusBuilder()..update(updates))._build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail._( - {required this.enabled, - required this.sendPasswordByMail, - required this.uploadFilesDrop, - required this.password, - required this.expireDate}) - : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'enabled'); - BuiltValueNullFieldError.checkNotNull( - sendPasswordByMail, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'sendPasswordByMail'); - BuiltValueNullFieldError.checkNotNull( - uploadFilesDrop, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'uploadFilesDrop'); - BuiltValueNullFieldError.checkNotNull(password, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'password'); - BuiltValueNullFieldError.checkNotNull( - expireDate, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'expireDate'); + _$WeatherStatusCapabilities_WeatherStatus._({required this.enabled}) : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'WeatherStatusCapabilities_WeatherStatus', 'enabled'); } @override - SharebymailCapabilities_FilesSharing_Sharebymail rebuild( - void Function(SharebymailCapabilities_FilesSharing_SharebymailBuilder) updates) => + WeatherStatusCapabilities_WeatherStatus rebuild( + void Function(WeatherStatusCapabilities_WeatherStatusBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SharebymailCapabilities_FilesSharing_SharebymailBuilder toBuilder() => - SharebymailCapabilities_FilesSharing_SharebymailBuilder()..replace(this); + WeatherStatusCapabilities_WeatherStatusBuilder toBuilder() => + WeatherStatusCapabilities_WeatherStatusBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SharebymailCapabilities_FilesSharing_Sharebymail && - enabled == other.enabled && - sendPasswordByMail == other.sendPasswordByMail && - uploadFilesDrop == other.uploadFilesDrop && - password == other.password && - expireDate == other.expireDate; + return other is WeatherStatusCapabilities_WeatherStatus && enabled == other.enabled; } @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 = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing_Sharebymail') - ..add('enabled', enabled) - ..add('sendPasswordByMail', sendPasswordByMail) - ..add('uploadFilesDrop', uploadFilesDrop) - ..add('password', password) - ..add('expireDate', expireDate)) + return (newBuiltValueToStringHelper(r'WeatherStatusCapabilities_WeatherStatus')..add('enabled', enabled)) .toString(); } } -class SharebymailCapabilities_FilesSharing_SharebymailBuilder +class WeatherStatusCapabilities_WeatherStatusBuilder implements - Builder, - SharebymailCapabilities_FilesSharing_SharebymailInterfaceBuilder { - _$SharebymailCapabilities_FilesSharing_Sharebymail? _$v; + Builder, + WeatherStatusCapabilities_WeatherStatusInterfaceBuilder { + _$WeatherStatusCapabilities_WeatherStatus? _$v; bool? _enabled; bool? get enabled => _$this._enabled; set enabled(covariant bool? enabled) => _$this._enabled = enabled; - bool? _sendPasswordByMail; - bool? get sendPasswordByMail => _$this._sendPasswordByMail; - set sendPasswordByMail(covariant bool? sendPasswordByMail) => _$this._sendPasswordByMail = sendPasswordByMail; - - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? _uploadFilesDrop; - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder get uploadFilesDrop => - _$this._uploadFilesDrop ??= SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); - set uploadFilesDrop( - covariant SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? uploadFilesDrop) => - _$this._uploadFilesDrop = uploadFilesDrop; - - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder? _password; - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder get password => - _$this._password ??= SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder(); - set password(covariant SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder? password) => - _$this._password = password; - - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder? _expireDate; - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder get expireDate => - _$this._expireDate ??= SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); - set expireDate(covariant SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; - - SharebymailCapabilities_FilesSharing_SharebymailBuilder(); + WeatherStatusCapabilities_WeatherStatusBuilder(); - SharebymailCapabilities_FilesSharing_SharebymailBuilder get _$this { + WeatherStatusCapabilities_WeatherStatusBuilder 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(); _$v = null; } return this; } @override - void replace(covariant SharebymailCapabilities_FilesSharing_Sharebymail other) { + void replace(covariant WeatherStatusCapabilities_WeatherStatus other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SharebymailCapabilities_FilesSharing_Sharebymail; + _$v = other as _$WeatherStatusCapabilities_WeatherStatus; } @override - void update(void Function(SharebymailCapabilities_FilesSharing_SharebymailBuilder)? updates) { + void update(void Function(WeatherStatusCapabilities_WeatherStatusBuilder)? updates) { if (updates != null) updates(this); } @override - SharebymailCapabilities_FilesSharing_Sharebymail build() => _build(); + WeatherStatusCapabilities_WeatherStatus build() => _build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail _build() { - _$SharebymailCapabilities_FilesSharing_Sharebymail _$result; - try { - _$result = _$v ?? - _$SharebymailCapabilities_FilesSharing_Sharebymail._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'enabled'), - sendPasswordByMail: BuiltValueNullFieldError.checkNotNull( - sendPasswordByMail, r'SharebymailCapabilities_FilesSharing_Sharebymail', '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'SharebymailCapabilities_FilesSharing_Sharebymail', _$failedField, e.toString()); - } - rethrow; - } + _$WeatherStatusCapabilities_WeatherStatus _build() { + final _$result = _$v ?? + _$WeatherStatusCapabilities_WeatherStatus._( + enabled: + BuiltValueNullFieldError.checkNotNull(enabled, r'WeatherStatusCapabilities_WeatherStatus', 'enabled')); replace(_$result); return _$result; } } -abstract mixin class SharebymailCapabilities_FilesSharingInterfaceBuilder { - void replace(SharebymailCapabilities_FilesSharingInterface other); - void update(void Function(SharebymailCapabilities_FilesSharingInterfaceBuilder) updates); - SharebymailCapabilities_FilesSharing_SharebymailBuilder get sharebymail; - set sharebymail(SharebymailCapabilities_FilesSharing_SharebymailBuilder? sharebymail); +abstract mixin class WeatherStatusCapabilitiesInterfaceBuilder { + void replace(WeatherStatusCapabilitiesInterface other); + void update(void Function(WeatherStatusCapabilitiesInterfaceBuilder) updates); + WeatherStatusCapabilities_WeatherStatusBuilder get weatherStatus; + set weatherStatus(WeatherStatusCapabilities_WeatherStatusBuilder? weatherStatus); } -class _$SharebymailCapabilities_FilesSharing extends SharebymailCapabilities_FilesSharing { +class _$WeatherStatusCapabilities extends WeatherStatusCapabilities { @override - final SharebymailCapabilities_FilesSharing_Sharebymail sharebymail; + final WeatherStatusCapabilities_WeatherStatus weatherStatus; - factory _$SharebymailCapabilities_FilesSharing( - [void Function(SharebymailCapabilities_FilesSharingBuilder)? updates]) => - (SharebymailCapabilities_FilesSharingBuilder()..update(updates))._build(); + factory _$WeatherStatusCapabilities([void Function(WeatherStatusCapabilitiesBuilder)? updates]) => + (WeatherStatusCapabilitiesBuilder()..update(updates))._build(); - _$SharebymailCapabilities_FilesSharing._({required this.sharebymail}) : super._() { - BuiltValueNullFieldError.checkNotNull(sharebymail, r'SharebymailCapabilities_FilesSharing', 'sharebymail'); + _$WeatherStatusCapabilities._({required this.weatherStatus}) : super._() { + BuiltValueNullFieldError.checkNotNull(weatherStatus, r'WeatherStatusCapabilities', 'weatherStatus'); } @override - SharebymailCapabilities_FilesSharing rebuild(void Function(SharebymailCapabilities_FilesSharingBuilder) updates) => + WeatherStatusCapabilities rebuild(void Function(WeatherStatusCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SharebymailCapabilities_FilesSharingBuilder toBuilder() => - SharebymailCapabilities_FilesSharingBuilder()..replace(this); + WeatherStatusCapabilitiesBuilder toBuilder() => WeatherStatusCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SharebymailCapabilities_FilesSharing && sharebymail == other.sharebymail; + return other is WeatherStatusCapabilities && weatherStatus == other.weatherStatus; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, sharebymail.hashCode); + _$hash = $jc(_$hash, weatherStatus.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing')..add('sharebymail', sharebymail)) - .toString(); + return (newBuiltValueToStringHelper(r'WeatherStatusCapabilities')..add('weatherStatus', weatherStatus)).toString(); } } -class SharebymailCapabilities_FilesSharingBuilder +class WeatherStatusCapabilitiesBuilder implements - Builder, - SharebymailCapabilities_FilesSharingInterfaceBuilder { - _$SharebymailCapabilities_FilesSharing? _$v; - - SharebymailCapabilities_FilesSharing_SharebymailBuilder? _sharebymail; - SharebymailCapabilities_FilesSharing_SharebymailBuilder get sharebymail => - _$this._sharebymail ??= SharebymailCapabilities_FilesSharing_SharebymailBuilder(); - set sharebymail(covariant SharebymailCapabilities_FilesSharing_SharebymailBuilder? sharebymail) => - _$this._sharebymail = sharebymail; + Builder, + WeatherStatusCapabilitiesInterfaceBuilder { + _$WeatherStatusCapabilities? _$v; + + WeatherStatusCapabilities_WeatherStatusBuilder? _weatherStatus; + WeatherStatusCapabilities_WeatherStatusBuilder get weatherStatus => + _$this._weatherStatus ??= WeatherStatusCapabilities_WeatherStatusBuilder(); + set weatherStatus(covariant WeatherStatusCapabilities_WeatherStatusBuilder? weatherStatus) => + _$this._weatherStatus = weatherStatus; - SharebymailCapabilities_FilesSharingBuilder(); + WeatherStatusCapabilitiesBuilder(); - SharebymailCapabilities_FilesSharingBuilder get _$this { + WeatherStatusCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _sharebymail = $v.sharebymail.toBuilder(); + _weatherStatus = $v.weatherStatus.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SharebymailCapabilities_FilesSharing other) { + void replace(covariant WeatherStatusCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SharebymailCapabilities_FilesSharing; + _$v = other as _$WeatherStatusCapabilities; } @override - void update(void Function(SharebymailCapabilities_FilesSharingBuilder)? updates) { + void update(void Function(WeatherStatusCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - SharebymailCapabilities_FilesSharing build() => _build(); + WeatherStatusCapabilities build() => _build(); - _$SharebymailCapabilities_FilesSharing _build() { - _$SharebymailCapabilities_FilesSharing _$result; + _$WeatherStatusCapabilities _build() { + _$WeatherStatusCapabilities _$result; try { - _$result = _$v ?? _$SharebymailCapabilities_FilesSharing._(sharebymail: sharebymail.build()); + _$result = _$v ?? _$WeatherStatusCapabilities._(weatherStatus: weatherStatus.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'sharebymail'; - sharebymail.build(); + _$failedField = 'weatherStatus'; + weatherStatus.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'SharebymailCapabilities_FilesSharing', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'WeatherStatusCapabilities', _$failedField, e.toString()); } rethrow; } @@ -19508,472 +22843,501 @@ class SharebymailCapabilities_FilesSharingBuilder } } -abstract mixin class SharebymailCapabilitiesInterfaceBuilder { - void replace(SharebymailCapabilitiesInterface other); - void update(void Function(SharebymailCapabilitiesInterfaceBuilder) updates); - SharebymailCapabilities_FilesSharingBuilder get filesSharing; - set filesSharing(SharebymailCapabilities_FilesSharingBuilder? filesSharing); +abstract mixin class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterfaceBuilder { + void replace(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterface other); + void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterfaceBuilder) updates); + CommentsCapabilitiesBuilder get commentsCapabilities; + set commentsCapabilities(CommentsCapabilitiesBuilder? commentsCapabilities); + + DavCapabilitiesBuilder get davCapabilities; + set davCapabilities(DavCapabilitiesBuilder? davCapabilities); + + FilesCapabilitiesBuilder get filesCapabilities; + set filesCapabilities(FilesCapabilitiesBuilder? filesCapabilities); + + FilesSharingCapabilitiesBuilder get filesSharingCapabilities; + set filesSharingCapabilities(FilesSharingCapabilitiesBuilder? filesSharingCapabilities); + + FilesTrashbinCapabilitiesBuilder get filesTrashbinCapabilities; + set filesTrashbinCapabilities(FilesTrashbinCapabilitiesBuilder? filesTrashbinCapabilities); + + FilesVersionsCapabilitiesBuilder get filesVersionsCapabilities; + set filesVersionsCapabilities(FilesVersionsCapabilitiesBuilder? filesVersionsCapabilities); + + NotesCapabilitiesBuilder get notesCapabilities; + set notesCapabilities(NotesCapabilitiesBuilder? notesCapabilities); + + NotificationsCapabilitiesBuilder get notificationsCapabilities; + set notificationsCapabilities(NotificationsCapabilitiesBuilder? notificationsCapabilities); + + ProvisioningApiCapabilitiesBuilder get provisioningApiCapabilities; + set provisioningApiCapabilities(ProvisioningApiCapabilitiesBuilder? provisioningApiCapabilities); + + SharebymailCapabilitiesBuilder get sharebymailCapabilities; + set sharebymailCapabilities(SharebymailCapabilitiesBuilder? sharebymailCapabilities); + + SpreedPublicCapabilitiesBuilder get spreedPublicCapabilities; + set spreedPublicCapabilities(SpreedPublicCapabilitiesBuilder? spreedPublicCapabilities); + + ThemingPublicCapabilitiesBuilder get themingPublicCapabilities; + set themingPublicCapabilities(ThemingPublicCapabilitiesBuilder? themingPublicCapabilities); + + UserStatusCapabilitiesBuilder get userStatusCapabilities; + set userStatusCapabilities(UserStatusCapabilitiesBuilder? userStatusCapabilities); + + WeatherStatusCapabilitiesBuilder get weatherStatusCapabilities; + set weatherStatusCapabilities(WeatherStatusCapabilitiesBuilder? weatherStatusCapabilities); } -class _$SharebymailCapabilities extends SharebymailCapabilities { +class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities + extends OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities { + @override + final JsonObject data; + @override + final CommentsCapabilities? commentsCapabilities; + @override + final DavCapabilities? davCapabilities; + @override + final FilesCapabilities? filesCapabilities; + @override + final FilesSharingCapabilities? filesSharingCapabilities; + @override + final FilesTrashbinCapabilities? filesTrashbinCapabilities; + @override + final FilesVersionsCapabilities? filesVersionsCapabilities; @override - final SharebymailCapabilities_FilesSharing filesSharing; + final NotesCapabilities? notesCapabilities; + @override + final NotificationsCapabilities? notificationsCapabilities; + @override + final ProvisioningApiCapabilities? provisioningApiCapabilities; + @override + final SharebymailCapabilities? sharebymailCapabilities; + @override + final SpreedPublicCapabilities? spreedPublicCapabilities; + @override + final ThemingPublicCapabilities? themingPublicCapabilities; + @override + final UserStatusCapabilities? userStatusCapabilities; + @override + final WeatherStatusCapabilities? weatherStatusCapabilities; - factory _$SharebymailCapabilities([void Function(SharebymailCapabilitiesBuilder)? updates]) => - (SharebymailCapabilitiesBuilder()..update(updates))._build(); + factory _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities( + [void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder)? updates]) => + (OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder()..update(updates))._build(); - _$SharebymailCapabilities._({required this.filesSharing}) : super._() { - BuiltValueNullFieldError.checkNotNull(filesSharing, r'SharebymailCapabilities', 'filesSharing'); + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities._( + {required this.data, + this.commentsCapabilities, + this.davCapabilities, + this.filesCapabilities, + this.filesSharingCapabilities, + this.filesTrashbinCapabilities, + this.filesVersionsCapabilities, + this.notesCapabilities, + this.notificationsCapabilities, + this.provisioningApiCapabilities, + this.sharebymailCapabilities, + this.spreedPublicCapabilities, + this.themingPublicCapabilities, + this.userStatusCapabilities, + this.weatherStatusCapabilities}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + data, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities', 'data'); } @override - SharebymailCapabilities rebuild(void Function(SharebymailCapabilitiesBuilder) updates) => + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities rebuild( + void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SharebymailCapabilitiesBuilder toBuilder() => SharebymailCapabilitiesBuilder()..replace(this); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder toBuilder() => + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SharebymailCapabilities && filesSharing == other.filesSharing; + return other is OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities && + data == other.data && + commentsCapabilities == other.commentsCapabilities && + davCapabilities == other.davCapabilities && + filesCapabilities == other.filesCapabilities && + filesSharingCapabilities == other.filesSharingCapabilities && + filesTrashbinCapabilities == other.filesTrashbinCapabilities && + filesVersionsCapabilities == other.filesVersionsCapabilities && + notesCapabilities == other.notesCapabilities && + notificationsCapabilities == other.notificationsCapabilities && + provisioningApiCapabilities == other.provisioningApiCapabilities && + sharebymailCapabilities == other.sharebymailCapabilities && + spreedPublicCapabilities == other.spreedPublicCapabilities && + themingPublicCapabilities == other.themingPublicCapabilities && + userStatusCapabilities == other.userStatusCapabilities && + weatherStatusCapabilities == other.weatherStatusCapabilities; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, filesSharing.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, commentsCapabilities.hashCode); + _$hash = $jc(_$hash, davCapabilities.hashCode); + _$hash = $jc(_$hash, filesCapabilities.hashCode); + _$hash = $jc(_$hash, filesSharingCapabilities.hashCode); + _$hash = $jc(_$hash, filesTrashbinCapabilities.hashCode); + _$hash = $jc(_$hash, filesVersionsCapabilities.hashCode); + _$hash = $jc(_$hash, notesCapabilities.hashCode); + _$hash = $jc(_$hash, notificationsCapabilities.hashCode); + _$hash = $jc(_$hash, provisioningApiCapabilities.hashCode); + _$hash = $jc(_$hash, sharebymailCapabilities.hashCode); + _$hash = $jc(_$hash, spreedPublicCapabilities.hashCode); + _$hash = $jc(_$hash, themingPublicCapabilities.hashCode); + _$hash = $jc(_$hash, userStatusCapabilities.hashCode); + _$hash = $jc(_$hash, weatherStatusCapabilities.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SharebymailCapabilities')..add('filesSharing', filesSharing)).toString(); + return (newBuiltValueToStringHelper(r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities') + ..add('data', data) + ..add('commentsCapabilities', commentsCapabilities) + ..add('davCapabilities', davCapabilities) + ..add('filesCapabilities', filesCapabilities) + ..add('filesSharingCapabilities', filesSharingCapabilities) + ..add('filesTrashbinCapabilities', filesTrashbinCapabilities) + ..add('filesVersionsCapabilities', filesVersionsCapabilities) + ..add('notesCapabilities', notesCapabilities) + ..add('notificationsCapabilities', notificationsCapabilities) + ..add('provisioningApiCapabilities', provisioningApiCapabilities) + ..add('sharebymailCapabilities', sharebymailCapabilities) + ..add('spreedPublicCapabilities', spreedPublicCapabilities) + ..add('themingPublicCapabilities', themingPublicCapabilities) + ..add('userStatusCapabilities', userStatusCapabilities) + ..add('weatherStatusCapabilities', weatherStatusCapabilities)) + .toString(); } } -class SharebymailCapabilitiesBuilder +class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder implements - Builder, - SharebymailCapabilitiesInterfaceBuilder { - _$SharebymailCapabilities? _$v; - - SharebymailCapabilities_FilesSharingBuilder? _filesSharing; - SharebymailCapabilities_FilesSharingBuilder get filesSharing => - _$this._filesSharing ??= SharebymailCapabilities_FilesSharingBuilder(); - set filesSharing(covariant SharebymailCapabilities_FilesSharingBuilder? filesSharing) => - _$this._filesSharing = filesSharing; - - SharebymailCapabilitiesBuilder(); - - SharebymailCapabilitiesBuilder get _$this { - final $v = _$v; - if ($v != null) { - _filesSharing = $v.filesSharing.toBuilder(); - _$v = null; - } - return this; - } - - @override - void replace(covariant SharebymailCapabilities other) { - ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SharebymailCapabilities; - } - - @override - void update(void Function(SharebymailCapabilitiesBuilder)? updates) { - if (updates != null) updates(this); - } - - @override - SharebymailCapabilities build() => _build(); + Builder, + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterfaceBuilder { + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities? _$v; - _$SharebymailCapabilities _build() { - _$SharebymailCapabilities _$result; - try { - _$result = _$v ?? _$SharebymailCapabilities._(filesSharing: filesSharing.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'filesSharing'; - filesSharing.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'SharebymailCapabilities', _$failedField, e.toString()); - } - rethrow; - } - replace(_$result); - return _$result; - } -} + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; -abstract mixin class SpreedPublicCapabilities0_Spreed_Config_AttachmentsInterfaceBuilder { - void replace(SpreedPublicCapabilities0_Spreed_Config_AttachmentsInterface other); - void update(void Function(SpreedPublicCapabilities0_Spreed_Config_AttachmentsInterfaceBuilder) updates); - bool? get allowed; - set allowed(bool? allowed); + CommentsCapabilitiesBuilder? _commentsCapabilities; + CommentsCapabilitiesBuilder get commentsCapabilities => + _$this._commentsCapabilities ??= CommentsCapabilitiesBuilder(); + set commentsCapabilities(covariant CommentsCapabilitiesBuilder? commentsCapabilities) => + _$this._commentsCapabilities = commentsCapabilities; - String? get folder; - set folder(String? folder); -} + DavCapabilitiesBuilder? _davCapabilities; + DavCapabilitiesBuilder get davCapabilities => _$this._davCapabilities ??= DavCapabilitiesBuilder(); + set davCapabilities(covariant DavCapabilitiesBuilder? davCapabilities) => _$this._davCapabilities = davCapabilities; -class _$SpreedPublicCapabilities0_Spreed_Config_Attachments - extends SpreedPublicCapabilities0_Spreed_Config_Attachments { - @override - final bool allowed; - @override - final String? folder; + FilesCapabilitiesBuilder? _filesCapabilities; + FilesCapabilitiesBuilder get filesCapabilities => _$this._filesCapabilities ??= FilesCapabilitiesBuilder(); + set filesCapabilities(covariant FilesCapabilitiesBuilder? filesCapabilities) => + _$this._filesCapabilities = filesCapabilities; - factory _$SpreedPublicCapabilities0_Spreed_Config_Attachments( - [void Function(SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder)? updates]) => - (SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder()..update(updates))._build(); + FilesSharingCapabilitiesBuilder? _filesSharingCapabilities; + FilesSharingCapabilitiesBuilder get filesSharingCapabilities => + _$this._filesSharingCapabilities ??= FilesSharingCapabilitiesBuilder(); + set filesSharingCapabilities(covariant FilesSharingCapabilitiesBuilder? filesSharingCapabilities) => + _$this._filesSharingCapabilities = filesSharingCapabilities; - _$SpreedPublicCapabilities0_Spreed_Config_Attachments._({required this.allowed, this.folder}) : super._() { - BuiltValueNullFieldError.checkNotNull(allowed, r'SpreedPublicCapabilities0_Spreed_Config_Attachments', 'allowed'); - } + FilesTrashbinCapabilitiesBuilder? _filesTrashbinCapabilities; + FilesTrashbinCapabilitiesBuilder get filesTrashbinCapabilities => + _$this._filesTrashbinCapabilities ??= FilesTrashbinCapabilitiesBuilder(); + set filesTrashbinCapabilities(covariant FilesTrashbinCapabilitiesBuilder? filesTrashbinCapabilities) => + _$this._filesTrashbinCapabilities = filesTrashbinCapabilities; - @override - SpreedPublicCapabilities0_Spreed_Config_Attachments rebuild( - void Function(SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder) updates) => - (toBuilder()..update(updates)).build(); + FilesVersionsCapabilitiesBuilder? _filesVersionsCapabilities; + FilesVersionsCapabilitiesBuilder get filesVersionsCapabilities => + _$this._filesVersionsCapabilities ??= FilesVersionsCapabilitiesBuilder(); + set filesVersionsCapabilities(covariant FilesVersionsCapabilitiesBuilder? filesVersionsCapabilities) => + _$this._filesVersionsCapabilities = filesVersionsCapabilities; - @override - SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder toBuilder() => - SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder()..replace(this); + NotesCapabilitiesBuilder? _notesCapabilities; + NotesCapabilitiesBuilder get notesCapabilities => _$this._notesCapabilities ??= NotesCapabilitiesBuilder(); + set notesCapabilities(covariant NotesCapabilitiesBuilder? notesCapabilities) => + _$this._notesCapabilities = notesCapabilities; - @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is SpreedPublicCapabilities0_Spreed_Config_Attachments && - allowed == other.allowed && - folder == other.folder; - } + NotificationsCapabilitiesBuilder? _notificationsCapabilities; + NotificationsCapabilitiesBuilder get notificationsCapabilities => + _$this._notificationsCapabilities ??= NotificationsCapabilitiesBuilder(); + set notificationsCapabilities(covariant NotificationsCapabilitiesBuilder? notificationsCapabilities) => + _$this._notificationsCapabilities = notificationsCapabilities; - @override - int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, allowed.hashCode); - _$hash = $jc(_$hash, folder.hashCode); - _$hash = $jf(_$hash); - return _$hash; - } + ProvisioningApiCapabilitiesBuilder? _provisioningApiCapabilities; + ProvisioningApiCapabilitiesBuilder get provisioningApiCapabilities => + _$this._provisioningApiCapabilities ??= ProvisioningApiCapabilitiesBuilder(); + set provisioningApiCapabilities(covariant ProvisioningApiCapabilitiesBuilder? provisioningApiCapabilities) => + _$this._provisioningApiCapabilities = provisioningApiCapabilities; - @override - String toString() { - return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config_Attachments') - ..add('allowed', allowed) - ..add('folder', folder)) - .toString(); - } -} + SharebymailCapabilitiesBuilder? _sharebymailCapabilities; + SharebymailCapabilitiesBuilder get sharebymailCapabilities => + _$this._sharebymailCapabilities ??= SharebymailCapabilitiesBuilder(); + set sharebymailCapabilities(covariant SharebymailCapabilitiesBuilder? sharebymailCapabilities) => + _$this._sharebymailCapabilities = sharebymailCapabilities; -class SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder - implements - Builder, - SpreedPublicCapabilities0_Spreed_Config_AttachmentsInterfaceBuilder { - _$SpreedPublicCapabilities0_Spreed_Config_Attachments? _$v; + SpreedPublicCapabilitiesBuilder? _spreedPublicCapabilities; + SpreedPublicCapabilitiesBuilder get spreedPublicCapabilities => + _$this._spreedPublicCapabilities ??= SpreedPublicCapabilitiesBuilder(); + set spreedPublicCapabilities(covariant SpreedPublicCapabilitiesBuilder? spreedPublicCapabilities) => + _$this._spreedPublicCapabilities = spreedPublicCapabilities; - bool? _allowed; - bool? get allowed => _$this._allowed; - set allowed(covariant bool? allowed) => _$this._allowed = allowed; + ThemingPublicCapabilitiesBuilder? _themingPublicCapabilities; + ThemingPublicCapabilitiesBuilder get themingPublicCapabilities => + _$this._themingPublicCapabilities ??= ThemingPublicCapabilitiesBuilder(); + set themingPublicCapabilities(covariant ThemingPublicCapabilitiesBuilder? themingPublicCapabilities) => + _$this._themingPublicCapabilities = themingPublicCapabilities; - String? _folder; - String? get folder => _$this._folder; - set folder(covariant String? folder) => _$this._folder = folder; + UserStatusCapabilitiesBuilder? _userStatusCapabilities; + UserStatusCapabilitiesBuilder get userStatusCapabilities => + _$this._userStatusCapabilities ??= UserStatusCapabilitiesBuilder(); + set userStatusCapabilities(covariant UserStatusCapabilitiesBuilder? userStatusCapabilities) => + _$this._userStatusCapabilities = userStatusCapabilities; - SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder(); + WeatherStatusCapabilitiesBuilder? _weatherStatusCapabilities; + WeatherStatusCapabilitiesBuilder get weatherStatusCapabilities => + _$this._weatherStatusCapabilities ??= WeatherStatusCapabilitiesBuilder(); + set weatherStatusCapabilities(covariant WeatherStatusCapabilitiesBuilder? weatherStatusCapabilities) => + _$this._weatherStatusCapabilities = weatherStatusCapabilities; - SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder get _$this { + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder(); + + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _allowed = $v.allowed; - _folder = $v.folder; + _data = $v.data; + _commentsCapabilities = $v.commentsCapabilities?.toBuilder(); + _davCapabilities = $v.davCapabilities?.toBuilder(); + _filesCapabilities = $v.filesCapabilities?.toBuilder(); + _filesSharingCapabilities = $v.filesSharingCapabilities?.toBuilder(); + _filesTrashbinCapabilities = $v.filesTrashbinCapabilities?.toBuilder(); + _filesVersionsCapabilities = $v.filesVersionsCapabilities?.toBuilder(); + _notesCapabilities = $v.notesCapabilities?.toBuilder(); + _notificationsCapabilities = $v.notificationsCapabilities?.toBuilder(); + _provisioningApiCapabilities = $v.provisioningApiCapabilities?.toBuilder(); + _sharebymailCapabilities = $v.sharebymailCapabilities?.toBuilder(); + _spreedPublicCapabilities = $v.spreedPublicCapabilities?.toBuilder(); + _themingPublicCapabilities = $v.themingPublicCapabilities?.toBuilder(); + _userStatusCapabilities = $v.userStatusCapabilities?.toBuilder(); + _weatherStatusCapabilities = $v.weatherStatusCapabilities?.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SpreedPublicCapabilities0_Spreed_Config_Attachments other) { + void replace(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SpreedPublicCapabilities0_Spreed_Config_Attachments; + _$v = other as _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities; } @override - void update(void Function(SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder)? updates) { + void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - SpreedPublicCapabilities0_Spreed_Config_Attachments build() => _build(); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities build() => _build(); - _$SpreedPublicCapabilities0_Spreed_Config_Attachments _build() { - final _$result = _$v ?? - _$SpreedPublicCapabilities0_Spreed_Config_Attachments._( - allowed: BuiltValueNullFieldError.checkNotNull( - allowed, r'SpreedPublicCapabilities0_Spreed_Config_Attachments', 'allowed'), - folder: folder); + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities _build() { + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities._validate(this); + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities _$result; + try { + _$result = _$v ?? + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities._( + data: BuiltValueNullFieldError.checkNotNull( + data, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities', 'data'), + commentsCapabilities: _commentsCapabilities?.build(), + davCapabilities: _davCapabilities?.build(), + filesCapabilities: _filesCapabilities?.build(), + filesSharingCapabilities: _filesSharingCapabilities?.build(), + filesTrashbinCapabilities: _filesTrashbinCapabilities?.build(), + filesVersionsCapabilities: _filesVersionsCapabilities?.build(), + notesCapabilities: _notesCapabilities?.build(), + notificationsCapabilities: _notificationsCapabilities?.build(), + provisioningApiCapabilities: _provisioningApiCapabilities?.build(), + sharebymailCapabilities: _sharebymailCapabilities?.build(), + spreedPublicCapabilities: _spreedPublicCapabilities?.build(), + themingPublicCapabilities: _themingPublicCapabilities?.build(), + userStatusCapabilities: _userStatusCapabilities?.build(), + weatherStatusCapabilities: _weatherStatusCapabilities?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'commentsCapabilities'; + _commentsCapabilities?.build(); + _$failedField = 'davCapabilities'; + _davCapabilities?.build(); + _$failedField = 'filesCapabilities'; + _filesCapabilities?.build(); + _$failedField = 'filesSharingCapabilities'; + _filesSharingCapabilities?.build(); + _$failedField = 'filesTrashbinCapabilities'; + _filesTrashbinCapabilities?.build(); + _$failedField = 'filesVersionsCapabilities'; + _filesVersionsCapabilities?.build(); + _$failedField = 'notesCapabilities'; + _notesCapabilities?.build(); + _$failedField = 'notificationsCapabilities'; + _notificationsCapabilities?.build(); + _$failedField = 'provisioningApiCapabilities'; + _provisioningApiCapabilities?.build(); + _$failedField = 'sharebymailCapabilities'; + _sharebymailCapabilities?.build(); + _$failedField = 'spreedPublicCapabilities'; + _spreedPublicCapabilities?.build(); + _$failedField = 'themingPublicCapabilities'; + _themingPublicCapabilities?.build(); + _$failedField = 'userStatusCapabilities'; + _userStatusCapabilities?.build(); + _$failedField = 'weatherStatusCapabilities'; + _weatherStatusCapabilities?.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class SpreedPublicCapabilities0_Spreed_Config_CallInterfaceBuilder { - void replace(SpreedPublicCapabilities0_Spreed_Config_CallInterface other); - void update(void Function(SpreedPublicCapabilities0_Spreed_Config_CallInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); - - bool? get breakoutRooms; - set breakoutRooms(bool? breakoutRooms); - - bool? get recording; - set recording(bool? recording); - - int? get recordingConsent; - set recordingConsent(int? recordingConsent); - - ListBuilder get supportedReactions; - set supportedReactions(ListBuilder? supportedReactions); - - ListBuilder get predefinedBackgrounds; - set predefinedBackgrounds(ListBuilder? predefinedBackgrounds); - - bool? get canUploadBackground; - set canUploadBackground(bool? canUploadBackground); - - bool? get sipEnabled; - set sipEnabled(bool? sipEnabled); - - bool? get sipDialoutEnabled; - set sipDialoutEnabled(bool? sipDialoutEnabled); +abstract mixin class OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder get version; + set version(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder? version); - bool? get canEnableSip; - set canEnableSip(bool? canEnableSip); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder get capabilities; + set capabilities(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder? capabilities); } -class _$SpreedPublicCapabilities0_Spreed_Config_Call extends SpreedPublicCapabilities0_Spreed_Config_Call { - @override - final bool enabled; - @override - final bool breakoutRooms; - @override - final bool recording; - @override - final int? recordingConsent; - @override - final BuiltList supportedReactions; - @override - final BuiltList predefinedBackgrounds; - @override - final bool canUploadBackground; - @override - final bool? sipEnabled; +class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data extends OcsGetCapabilitiesResponseApplicationJson_Ocs_Data { @override - final bool? sipDialoutEnabled; + final OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version version; @override - final bool? canEnableSip; - - factory _$SpreedPublicCapabilities0_Spreed_Config_Call( - [void Function(SpreedPublicCapabilities0_Spreed_Config_CallBuilder)? updates]) => - (SpreedPublicCapabilities0_Spreed_Config_CallBuilder()..update(updates))._build(); - - _$SpreedPublicCapabilities0_Spreed_Config_Call._( - {required this.enabled, - required this.breakoutRooms, - required this.recording, - this.recordingConsent, - required this.supportedReactions, - required this.predefinedBackgrounds, - required this.canUploadBackground, - this.sipEnabled, - this.sipDialoutEnabled, - this.canEnableSip}) + final OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities capabilities; + + factory _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data( + [void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data._({required this.version, required this.capabilities}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'enabled'); - BuiltValueNullFieldError.checkNotNull( - breakoutRooms, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'breakoutRooms'); - BuiltValueNullFieldError.checkNotNull(recording, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'recording'); - BuiltValueNullFieldError.checkNotNull( - supportedReactions, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'supportedReactions'); - BuiltValueNullFieldError.checkNotNull( - predefinedBackgrounds, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'predefinedBackgrounds'); + BuiltValueNullFieldError.checkNotNull(version, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data', 'version'); BuiltValueNullFieldError.checkNotNull( - canUploadBackground, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'canUploadBackground'); + capabilities, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data', 'capabilities'); } @override - SpreedPublicCapabilities0_Spreed_Config_Call rebuild( - void Function(SpreedPublicCapabilities0_Spreed_Config_CallBuilder) updates) => + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data rebuild( + void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SpreedPublicCapabilities0_Spreed_Config_CallBuilder toBuilder() => - SpreedPublicCapabilities0_Spreed_Config_CallBuilder()..replace(this); + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder toBuilder() => + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SpreedPublicCapabilities0_Spreed_Config_Call && - enabled == other.enabled && - breakoutRooms == other.breakoutRooms && - recording == other.recording && - recordingConsent == other.recordingConsent && - supportedReactions == other.supportedReactions && - predefinedBackgrounds == other.predefinedBackgrounds && - canUploadBackground == other.canUploadBackground && - sipEnabled == other.sipEnabled && - sipDialoutEnabled == other.sipDialoutEnabled && - canEnableSip == other.canEnableSip; + return other is OcsGetCapabilitiesResponseApplicationJson_Ocs_Data && + version == other.version && + capabilities == other.capabilities; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, breakoutRooms.hashCode); - _$hash = $jc(_$hash, recording.hashCode); - _$hash = $jc(_$hash, recordingConsent.hashCode); - _$hash = $jc(_$hash, supportedReactions.hashCode); - _$hash = $jc(_$hash, predefinedBackgrounds.hashCode); - _$hash = $jc(_$hash, canUploadBackground.hashCode); - _$hash = $jc(_$hash, sipEnabled.hashCode); - _$hash = $jc(_$hash, sipDialoutEnabled.hashCode); - _$hash = $jc(_$hash, canEnableSip.hashCode); + _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, capabilities.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config_Call') - ..add('enabled', enabled) - ..add('breakoutRooms', breakoutRooms) - ..add('recording', recording) - ..add('recordingConsent', recordingConsent) - ..add('supportedReactions', supportedReactions) - ..add('predefinedBackgrounds', predefinedBackgrounds) - ..add('canUploadBackground', canUploadBackground) - ..add('sipEnabled', sipEnabled) - ..add('sipDialoutEnabled', sipDialoutEnabled) - ..add('canEnableSip', canEnableSip)) + return (newBuiltValueToStringHelper(r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data') + ..add('version', version) + ..add('capabilities', capabilities)) .toString(); } } -class SpreedPublicCapabilities0_Spreed_Config_CallBuilder +class OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder implements - Builder, - SpreedPublicCapabilities0_Spreed_Config_CallInterfaceBuilder { - _$SpreedPublicCapabilities0_Spreed_Config_Call? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; - - bool? _breakoutRooms; - bool? get breakoutRooms => _$this._breakoutRooms; - set breakoutRooms(covariant bool? breakoutRooms) => _$this._breakoutRooms = breakoutRooms; - - bool? _recording; - bool? get recording => _$this._recording; - set recording(covariant bool? recording) => _$this._recording = recording; - - int? _recordingConsent; - int? get recordingConsent => _$this._recordingConsent; - set recordingConsent(covariant int? recordingConsent) => _$this._recordingConsent = recordingConsent; - - ListBuilder? _supportedReactions; - ListBuilder get supportedReactions => _$this._supportedReactions ??= ListBuilder(); - set supportedReactions(covariant ListBuilder? supportedReactions) => - _$this._supportedReactions = supportedReactions; - - ListBuilder? _predefinedBackgrounds; - ListBuilder get predefinedBackgrounds => _$this._predefinedBackgrounds ??= ListBuilder(); - set predefinedBackgrounds(covariant ListBuilder? predefinedBackgrounds) => - _$this._predefinedBackgrounds = predefinedBackgrounds; - - bool? _canUploadBackground; - bool? get canUploadBackground => _$this._canUploadBackground; - set canUploadBackground(covariant bool? canUploadBackground) => _$this._canUploadBackground = canUploadBackground; - - bool? _sipEnabled; - bool? get sipEnabled => _$this._sipEnabled; - set sipEnabled(covariant bool? sipEnabled) => _$this._sipEnabled = sipEnabled; + Builder, + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data? _$v; - bool? _sipDialoutEnabled; - bool? get sipDialoutEnabled => _$this._sipDialoutEnabled; - set sipDialoutEnabled(covariant bool? sipDialoutEnabled) => _$this._sipDialoutEnabled = sipDialoutEnabled; + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder? _version; + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder get version => + _$this._version ??= OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder(); + set version(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder? version) => + _$this._version = version; - bool? _canEnableSip; - bool? get canEnableSip => _$this._canEnableSip; - set canEnableSip(covariant bool? canEnableSip) => _$this._canEnableSip = canEnableSip; + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder? _capabilities; + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder get capabilities => + _$this._capabilities ??= OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder(); + set capabilities(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder? capabilities) => + _$this._capabilities = capabilities; - SpreedPublicCapabilities0_Spreed_Config_CallBuilder(); + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder(); - SpreedPublicCapabilities0_Spreed_Config_CallBuilder get _$this { + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _breakoutRooms = $v.breakoutRooms; - _recording = $v.recording; - _recordingConsent = $v.recordingConsent; - _supportedReactions = $v.supportedReactions.toBuilder(); - _predefinedBackgrounds = $v.predefinedBackgrounds.toBuilder(); - _canUploadBackground = $v.canUploadBackground; - _sipEnabled = $v.sipEnabled; - _sipDialoutEnabled = $v.sipDialoutEnabled; - _canEnableSip = $v.canEnableSip; + _version = $v.version.toBuilder(); + _capabilities = $v.capabilities.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SpreedPublicCapabilities0_Spreed_Config_Call other) { + void replace(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SpreedPublicCapabilities0_Spreed_Config_Call; + _$v = other as _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data; } @override - void update(void Function(SpreedPublicCapabilities0_Spreed_Config_CallBuilder)? updates) { + void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - SpreedPublicCapabilities0_Spreed_Config_Call build() => _build(); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data build() => _build(); - _$SpreedPublicCapabilities0_Spreed_Config_Call _build() { - _$SpreedPublicCapabilities0_Spreed_Config_Call _$result; + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data _build() { + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data _$result; try { _$result = _$v ?? - _$SpreedPublicCapabilities0_Spreed_Config_Call._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'enabled'), - breakoutRooms: BuiltValueNullFieldError.checkNotNull( - breakoutRooms, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'breakoutRooms'), - recording: BuiltValueNullFieldError.checkNotNull( - recording, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'recording'), - recordingConsent: recordingConsent, - supportedReactions: supportedReactions.build(), - predefinedBackgrounds: predefinedBackgrounds.build(), - canUploadBackground: BuiltValueNullFieldError.checkNotNull( - canUploadBackground, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'canUploadBackground'), - sipEnabled: sipEnabled, - sipDialoutEnabled: sipDialoutEnabled, - canEnableSip: canEnableSip); + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data._( + version: version.build(), capabilities: capabilities.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'supportedReactions'; - supportedReactions.build(); - _$failedField = 'predefinedBackgrounds'; - predefinedBackgrounds.build(); + _$failedField = 'version'; + version.build(); + _$failedField = 'capabilities'; + capabilities.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities0_Spreed_Config_Call', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -19982,174 +23346,118 @@ class SpreedPublicCapabilities0_Spreed_Config_CallBuilder } } -abstract mixin class SpreedPublicCapabilities0_Spreed_Config_ChatInterfaceBuilder { - void replace(SpreedPublicCapabilities0_Spreed_Config_ChatInterface other); - void update(void Function(SpreedPublicCapabilities0_Spreed_Config_ChatInterfaceBuilder) updates); - int? get maxLength; - set maxLength(int? maxLength); - - int? get readPrivacy; - set readPrivacy(int? readPrivacy); - - bool? get hasTranslationProviders; - set hasTranslationProviders(bool? hasTranslationProviders); - - int? get typingPrivacy; - set typingPrivacy(int? typingPrivacy); +abstract mixin class OcsGetCapabilitiesResponseApplicationJson_OcsInterfaceBuilder { + void replace(OcsGetCapabilitiesResponseApplicationJson_OcsInterface other); + void update(void Function(OcsGetCapabilitiesResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - ListBuilder get translations; - set translations(ListBuilder? translations); + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder get data; + set data(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder? data); } -class _$SpreedPublicCapabilities0_Spreed_Config_Chat extends SpreedPublicCapabilities0_Spreed_Config_Chat { - @override - final int maxLength; - @override - final int readPrivacy; - @override - final bool? hasTranslationProviders; +class _$OcsGetCapabilitiesResponseApplicationJson_Ocs extends OcsGetCapabilitiesResponseApplicationJson_Ocs { @override - final int typingPrivacy; + final OCSMeta meta; @override - final BuiltList? translations; + final OcsGetCapabilitiesResponseApplicationJson_Ocs_Data data; - factory _$SpreedPublicCapabilities0_Spreed_Config_Chat( - [void Function(SpreedPublicCapabilities0_Spreed_Config_ChatBuilder)? updates]) => - (SpreedPublicCapabilities0_Spreed_Config_ChatBuilder()..update(updates))._build(); + factory _$OcsGetCapabilitiesResponseApplicationJson_Ocs( + [void Function(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder)? updates]) => + (OcsGetCapabilitiesResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$SpreedPublicCapabilities0_Spreed_Config_Chat._( - {required this.maxLength, - required this.readPrivacy, - this.hasTranslationProviders, - required this.typingPrivacy, - this.translations}) - : super._() { - BuiltValueNullFieldError.checkNotNull(maxLength, r'SpreedPublicCapabilities0_Spreed_Config_Chat', 'maxLength'); - BuiltValueNullFieldError.checkNotNull(readPrivacy, r'SpreedPublicCapabilities0_Spreed_Config_Chat', 'readPrivacy'); - BuiltValueNullFieldError.checkNotNull( - typingPrivacy, r'SpreedPublicCapabilities0_Spreed_Config_Chat', 'typingPrivacy'); + _$OcsGetCapabilitiesResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'OcsGetCapabilitiesResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'OcsGetCapabilitiesResponseApplicationJson_Ocs', 'data'); } @override - SpreedPublicCapabilities0_Spreed_Config_Chat rebuild( - void Function(SpreedPublicCapabilities0_Spreed_Config_ChatBuilder) updates) => + OcsGetCapabilitiesResponseApplicationJson_Ocs rebuild( + void Function(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SpreedPublicCapabilities0_Spreed_Config_ChatBuilder toBuilder() => - SpreedPublicCapabilities0_Spreed_Config_ChatBuilder()..replace(this); + OcsGetCapabilitiesResponseApplicationJson_OcsBuilder toBuilder() => + OcsGetCapabilitiesResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SpreedPublicCapabilities0_Spreed_Config_Chat && - maxLength == other.maxLength && - readPrivacy == other.readPrivacy && - hasTranslationProviders == other.hasTranslationProviders && - typingPrivacy == other.typingPrivacy && - translations == other.translations; + return other is OcsGetCapabilitiesResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, maxLength.hashCode); - _$hash = $jc(_$hash, readPrivacy.hashCode); - _$hash = $jc(_$hash, hasTranslationProviders.hashCode); - _$hash = $jc(_$hash, typingPrivacy.hashCode); - _$hash = $jc(_$hash, translations.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config_Chat') - ..add('maxLength', maxLength) - ..add('readPrivacy', readPrivacy) - ..add('hasTranslationProviders', hasTranslationProviders) - ..add('typingPrivacy', typingPrivacy) - ..add('translations', translations)) + return (newBuiltValueToStringHelper(r'OcsGetCapabilitiesResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class SpreedPublicCapabilities0_Spreed_Config_ChatBuilder +class OcsGetCapabilitiesResponseApplicationJson_OcsBuilder implements - Builder, - SpreedPublicCapabilities0_Spreed_Config_ChatInterfaceBuilder { - _$SpreedPublicCapabilities0_Spreed_Config_Chat? _$v; - - int? _maxLength; - int? get maxLength => _$this._maxLength; - set maxLength(covariant int? maxLength) => _$this._maxLength = maxLength; - - int? _readPrivacy; - int? get readPrivacy => _$this._readPrivacy; - set readPrivacy(covariant int? readPrivacy) => _$this._readPrivacy = readPrivacy; - - bool? _hasTranslationProviders; - bool? get hasTranslationProviders => _$this._hasTranslationProviders; - set hasTranslationProviders(covariant bool? hasTranslationProviders) => - _$this._hasTranslationProviders = hasTranslationProviders; + Builder, + OcsGetCapabilitiesResponseApplicationJson_OcsInterfaceBuilder { + _$OcsGetCapabilitiesResponseApplicationJson_Ocs? _$v; - int? _typingPrivacy; - int? get typingPrivacy => _$this._typingPrivacy; - set typingPrivacy(covariant int? typingPrivacy) => _$this._typingPrivacy = typingPrivacy; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - ListBuilder? _translations; - ListBuilder get translations => _$this._translations ??= ListBuilder(); - set translations(covariant ListBuilder? translations) => _$this._translations = translations; + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder? _data; + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - SpreedPublicCapabilities0_Spreed_Config_ChatBuilder(); + OcsGetCapabilitiesResponseApplicationJson_OcsBuilder(); - SpreedPublicCapabilities0_Spreed_Config_ChatBuilder get _$this { + OcsGetCapabilitiesResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _maxLength = $v.maxLength; - _readPrivacy = $v.readPrivacy; - _hasTranslationProviders = $v.hasTranslationProviders; - _typingPrivacy = $v.typingPrivacy; - _translations = $v.translations?.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SpreedPublicCapabilities0_Spreed_Config_Chat other) { + void replace(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SpreedPublicCapabilities0_Spreed_Config_Chat; + _$v = other as _$OcsGetCapabilitiesResponseApplicationJson_Ocs; } @override - void update(void Function(SpreedPublicCapabilities0_Spreed_Config_ChatBuilder)? updates) { + void update(void Function(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - SpreedPublicCapabilities0_Spreed_Config_Chat build() => _build(); + OcsGetCapabilitiesResponseApplicationJson_Ocs build() => _build(); - _$SpreedPublicCapabilities0_Spreed_Config_Chat _build() { - _$SpreedPublicCapabilities0_Spreed_Config_Chat _$result; + _$OcsGetCapabilitiesResponseApplicationJson_Ocs _build() { + _$OcsGetCapabilitiesResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? - _$SpreedPublicCapabilities0_Spreed_Config_Chat._( - maxLength: BuiltValueNullFieldError.checkNotNull( - maxLength, r'SpreedPublicCapabilities0_Spreed_Config_Chat', 'maxLength'), - readPrivacy: BuiltValueNullFieldError.checkNotNull( - readPrivacy, r'SpreedPublicCapabilities0_Spreed_Config_Chat', 'readPrivacy'), - hasTranslationProviders: hasTranslationProviders, - typingPrivacy: BuiltValueNullFieldError.checkNotNull( - typingPrivacy, r'SpreedPublicCapabilities0_Spreed_Config_Chat', 'typingPrivacy'), - translations: _translations?.build()); + _$result = _$v ?? _$OcsGetCapabilitiesResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'translations'; - _translations?.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities0_Spreed_Config_Chat', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'OcsGetCapabilitiesResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -20158,515 +23466,476 @@ class SpreedPublicCapabilities0_Spreed_Config_ChatBuilder } } -abstract mixin class SpreedPublicCapabilities0_Spreed_Config_ConversationsInterfaceBuilder { - void replace(SpreedPublicCapabilities0_Spreed_Config_ConversationsInterface other); - void update(void Function(SpreedPublicCapabilities0_Spreed_Config_ConversationsInterfaceBuilder) updates); - bool? get canCreate; - set canCreate(bool? canCreate); +abstract mixin class OcsGetCapabilitiesResponseApplicationJsonInterfaceBuilder { + void replace(OcsGetCapabilitiesResponseApplicationJsonInterface other); + void update(void Function(OcsGetCapabilitiesResponseApplicationJsonInterfaceBuilder) updates); + OcsGetCapabilitiesResponseApplicationJson_OcsBuilder get ocs; + set ocs(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder? ocs); } -class _$SpreedPublicCapabilities0_Spreed_Config_Conversations - extends SpreedPublicCapabilities0_Spreed_Config_Conversations { +class _$OcsGetCapabilitiesResponseApplicationJson extends OcsGetCapabilitiesResponseApplicationJson { @override - final bool canCreate; + final OcsGetCapabilitiesResponseApplicationJson_Ocs ocs; - factory _$SpreedPublicCapabilities0_Spreed_Config_Conversations( - [void Function(SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder)? updates]) => - (SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder()..update(updates))._build(); + factory _$OcsGetCapabilitiesResponseApplicationJson( + [void Function(OcsGetCapabilitiesResponseApplicationJsonBuilder)? updates]) => + (OcsGetCapabilitiesResponseApplicationJsonBuilder()..update(updates))._build(); - _$SpreedPublicCapabilities0_Spreed_Config_Conversations._({required this.canCreate}) : super._() { - BuiltValueNullFieldError.checkNotNull( - canCreate, r'SpreedPublicCapabilities0_Spreed_Config_Conversations', 'canCreate'); + _$OcsGetCapabilitiesResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'OcsGetCapabilitiesResponseApplicationJson', 'ocs'); } @override - SpreedPublicCapabilities0_Spreed_Config_Conversations rebuild( - void Function(SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder) updates) => + OcsGetCapabilitiesResponseApplicationJson rebuild( + void Function(OcsGetCapabilitiesResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder toBuilder() => - SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder()..replace(this); + OcsGetCapabilitiesResponseApplicationJsonBuilder toBuilder() => + OcsGetCapabilitiesResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SpreedPublicCapabilities0_Spreed_Config_Conversations && canCreate == other.canCreate; + return other is OcsGetCapabilitiesResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, canCreate.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config_Conversations') - ..add('canCreate', canCreate)) - .toString(); + return (newBuiltValueToStringHelper(r'OcsGetCapabilitiesResponseApplicationJson')..add('ocs', ocs)).toString(); } } -class SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder +class OcsGetCapabilitiesResponseApplicationJsonBuilder implements - Builder, - SpreedPublicCapabilities0_Spreed_Config_ConversationsInterfaceBuilder { - _$SpreedPublicCapabilities0_Spreed_Config_Conversations? _$v; + Builder, + OcsGetCapabilitiesResponseApplicationJsonInterfaceBuilder { + _$OcsGetCapabilitiesResponseApplicationJson? _$v; - bool? _canCreate; - bool? get canCreate => _$this._canCreate; - set canCreate(covariant bool? canCreate) => _$this._canCreate = canCreate; + OcsGetCapabilitiesResponseApplicationJson_OcsBuilder? _ocs; + OcsGetCapabilitiesResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= OcsGetCapabilitiesResponseApplicationJson_OcsBuilder(); + set ocs(covariant OcsGetCapabilitiesResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder(); + OcsGetCapabilitiesResponseApplicationJsonBuilder(); - SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder get _$this { + OcsGetCapabilitiesResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _canCreate = $v.canCreate; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SpreedPublicCapabilities0_Spreed_Config_Conversations other) { + void replace(covariant OcsGetCapabilitiesResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SpreedPublicCapabilities0_Spreed_Config_Conversations; + _$v = other as _$OcsGetCapabilitiesResponseApplicationJson; } @override - void update(void Function(SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder)? updates) { + void update(void Function(OcsGetCapabilitiesResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - SpreedPublicCapabilities0_Spreed_Config_Conversations build() => _build(); + OcsGetCapabilitiesResponseApplicationJson build() => _build(); - _$SpreedPublicCapabilities0_Spreed_Config_Conversations _build() { - final _$result = _$v ?? - _$SpreedPublicCapabilities0_Spreed_Config_Conversations._( - canCreate: BuiltValueNullFieldError.checkNotNull( - canCreate, r'SpreedPublicCapabilities0_Spreed_Config_Conversations', 'canCreate')); + _$OcsGetCapabilitiesResponseApplicationJson _build() { + _$OcsGetCapabilitiesResponseApplicationJson _$result; + try { + _$result = _$v ?? _$OcsGetCapabilitiesResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'OcsGetCapabilitiesResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class SpreedPublicCapabilities0_Spreed_Config_PreviewsInterfaceBuilder { - void replace(SpreedPublicCapabilities0_Spreed_Config_PreviewsInterface other); - void update(void Function(SpreedPublicCapabilities0_Spreed_Config_PreviewsInterfaceBuilder) updates); - int? get maxGifSize; - set maxGifSize(int? maxGifSize); +abstract mixin class ProfileApiSetVisibilityResponseApplicationJson_OcsInterfaceBuilder { + void replace(ProfileApiSetVisibilityResponseApplicationJson_OcsInterface other); + void update(void Function(ProfileApiSetVisibilityResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); } -class _$SpreedPublicCapabilities0_Spreed_Config_Previews extends SpreedPublicCapabilities0_Spreed_Config_Previews { +class _$ProfileApiSetVisibilityResponseApplicationJson_Ocs extends ProfileApiSetVisibilityResponseApplicationJson_Ocs { @override - final int maxGifSize; + final OCSMeta meta; + @override + final JsonObject data; - factory _$SpreedPublicCapabilities0_Spreed_Config_Previews( - [void Function(SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder)? updates]) => - (SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder()..update(updates))._build(); + factory _$ProfileApiSetVisibilityResponseApplicationJson_Ocs( + [void Function(ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder)? updates]) => + (ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$SpreedPublicCapabilities0_Spreed_Config_Previews._({required this.maxGifSize}) : super._() { - BuiltValueNullFieldError.checkNotNull( - maxGifSize, r'SpreedPublicCapabilities0_Spreed_Config_Previews', 'maxGifSize'); + _$ProfileApiSetVisibilityResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ProfileApiSetVisibilityResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ProfileApiSetVisibilityResponseApplicationJson_Ocs', 'data'); } @override - SpreedPublicCapabilities0_Spreed_Config_Previews rebuild( - void Function(SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder) updates) => + ProfileApiSetVisibilityResponseApplicationJson_Ocs rebuild( + void Function(ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder toBuilder() => - SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder()..replace(this); + ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder toBuilder() => + ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SpreedPublicCapabilities0_Spreed_Config_Previews && maxGifSize == other.maxGifSize; + return other is ProfileApiSetVisibilityResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, maxGifSize.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config_Previews') - ..add('maxGifSize', maxGifSize)) + return (newBuiltValueToStringHelper(r'ProfileApiSetVisibilityResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder +class ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder implements - Builder, - SpreedPublicCapabilities0_Spreed_Config_PreviewsInterfaceBuilder { - _$SpreedPublicCapabilities0_Spreed_Config_Previews? _$v; + Builder, + ProfileApiSetVisibilityResponseApplicationJson_OcsInterfaceBuilder { + _$ProfileApiSetVisibilityResponseApplicationJson_Ocs? _$v; - int? _maxGifSize; - int? get maxGifSize => _$this._maxGifSize; - set maxGifSize(covariant int? maxGifSize) => _$this._maxGifSize = maxGifSize; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder(); + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; - SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder get _$this { + ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder(); + + ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _maxGifSize = $v.maxGifSize; + _meta = $v.meta.toBuilder(); + _data = $v.data; _$v = null; } return this; } @override - void replace(covariant SpreedPublicCapabilities0_Spreed_Config_Previews other) { + void replace(covariant ProfileApiSetVisibilityResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SpreedPublicCapabilities0_Spreed_Config_Previews; + _$v = other as _$ProfileApiSetVisibilityResponseApplicationJson_Ocs; } @override - void update(void Function(SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder)? updates) { + void update(void Function(ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - SpreedPublicCapabilities0_Spreed_Config_Previews build() => _build(); + ProfileApiSetVisibilityResponseApplicationJson_Ocs build() => _build(); - _$SpreedPublicCapabilities0_Spreed_Config_Previews _build() { - final _$result = _$v ?? - _$SpreedPublicCapabilities0_Spreed_Config_Previews._( - maxGifSize: BuiltValueNullFieldError.checkNotNull( - maxGifSize, r'SpreedPublicCapabilities0_Spreed_Config_Previews', 'maxGifSize')); + _$ProfileApiSetVisibilityResponseApplicationJson_Ocs _build() { + _$ProfileApiSetVisibilityResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProfileApiSetVisibilityResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProfileApiSetVisibilityResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProfileApiSetVisibilityResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class SpreedPublicCapabilities0_Spreed_Config_SignalingInterfaceBuilder { - void replace(SpreedPublicCapabilities0_Spreed_Config_SignalingInterface other); - void update(void Function(SpreedPublicCapabilities0_Spreed_Config_SignalingInterfaceBuilder) updates); - int? get sessionPingLimit; - set sessionPingLimit(int? sessionPingLimit); - - String? get helloV2TokenKey; - set helloV2TokenKey(String? helloV2TokenKey); +abstract mixin class ProfileApiSetVisibilityResponseApplicationJsonInterfaceBuilder { + void replace(ProfileApiSetVisibilityResponseApplicationJsonInterface other); + void update(void Function(ProfileApiSetVisibilityResponseApplicationJsonInterfaceBuilder) updates); + ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder get ocs; + set ocs(ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder? ocs); } -class _$SpreedPublicCapabilities0_Spreed_Config_Signaling extends SpreedPublicCapabilities0_Spreed_Config_Signaling { - @override - final int sessionPingLimit; +class _$ProfileApiSetVisibilityResponseApplicationJson extends ProfileApiSetVisibilityResponseApplicationJson { @override - final String? helloV2TokenKey; + final ProfileApiSetVisibilityResponseApplicationJson_Ocs ocs; - factory _$SpreedPublicCapabilities0_Spreed_Config_Signaling( - [void Function(SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder)? updates]) => - (SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder()..update(updates))._build(); + factory _$ProfileApiSetVisibilityResponseApplicationJson( + [void Function(ProfileApiSetVisibilityResponseApplicationJsonBuilder)? updates]) => + (ProfileApiSetVisibilityResponseApplicationJsonBuilder()..update(updates))._build(); - _$SpreedPublicCapabilities0_Spreed_Config_Signaling._({required this.sessionPingLimit, this.helloV2TokenKey}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - sessionPingLimit, r'SpreedPublicCapabilities0_Spreed_Config_Signaling', 'sessionPingLimit'); + _$ProfileApiSetVisibilityResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProfileApiSetVisibilityResponseApplicationJson', 'ocs'); } @override - SpreedPublicCapabilities0_Spreed_Config_Signaling rebuild( - void Function(SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder) updates) => + ProfileApiSetVisibilityResponseApplicationJson rebuild( + void Function(ProfileApiSetVisibilityResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder toBuilder() => - SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder()..replace(this); + ProfileApiSetVisibilityResponseApplicationJsonBuilder toBuilder() => + ProfileApiSetVisibilityResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SpreedPublicCapabilities0_Spreed_Config_Signaling && - sessionPingLimit == other.sessionPingLimit && - helloV2TokenKey == other.helloV2TokenKey; + return other is ProfileApiSetVisibilityResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, sessionPingLimit.hashCode); - _$hash = $jc(_$hash, helloV2TokenKey.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config_Signaling') - ..add('sessionPingLimit', sessionPingLimit) - ..add('helloV2TokenKey', helloV2TokenKey)) - .toString(); + return (newBuiltValueToStringHelper(r'ProfileApiSetVisibilityResponseApplicationJson')..add('ocs', ocs)).toString(); } } -class SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder +class ProfileApiSetVisibilityResponseApplicationJsonBuilder implements - Builder, - SpreedPublicCapabilities0_Spreed_Config_SignalingInterfaceBuilder { - _$SpreedPublicCapabilities0_Spreed_Config_Signaling? _$v; - - int? _sessionPingLimit; - int? get sessionPingLimit => _$this._sessionPingLimit; - set sessionPingLimit(covariant int? sessionPingLimit) => _$this._sessionPingLimit = sessionPingLimit; + Builder, + ProfileApiSetVisibilityResponseApplicationJsonInterfaceBuilder { + _$ProfileApiSetVisibilityResponseApplicationJson? _$v; - String? _helloV2TokenKey; - String? get helloV2TokenKey => _$this._helloV2TokenKey; - set helloV2TokenKey(covariant String? helloV2TokenKey) => _$this._helloV2TokenKey = helloV2TokenKey; + ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder? _ocs; + ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder(); + set ocs(covariant ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder(); + ProfileApiSetVisibilityResponseApplicationJsonBuilder(); - SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder get _$this { + ProfileApiSetVisibilityResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _sessionPingLimit = $v.sessionPingLimit; - _helloV2TokenKey = $v.helloV2TokenKey; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SpreedPublicCapabilities0_Spreed_Config_Signaling other) { + void replace(covariant ProfileApiSetVisibilityResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SpreedPublicCapabilities0_Spreed_Config_Signaling; + _$v = other as _$ProfileApiSetVisibilityResponseApplicationJson; } @override - void update(void Function(SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder)? updates) { + void update(void Function(ProfileApiSetVisibilityResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - SpreedPublicCapabilities0_Spreed_Config_Signaling build() => _build(); + ProfileApiSetVisibilityResponseApplicationJson build() => _build(); - _$SpreedPublicCapabilities0_Spreed_Config_Signaling _build() { - final _$result = _$v ?? - _$SpreedPublicCapabilities0_Spreed_Config_Signaling._( - sessionPingLimit: BuiltValueNullFieldError.checkNotNull( - sessionPingLimit, r'SpreedPublicCapabilities0_Spreed_Config_Signaling', 'sessionPingLimit'), - helloV2TokenKey: helloV2TokenKey); + _$ProfileApiSetVisibilityResponseApplicationJson _build() { + _$ProfileApiSetVisibilityResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ProfileApiSetVisibilityResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProfileApiSetVisibilityResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class SpreedPublicCapabilities0_Spreed_ConfigInterfaceBuilder { - void replace(SpreedPublicCapabilities0_Spreed_ConfigInterface other); - void update(void Function(SpreedPublicCapabilities0_Spreed_ConfigInterfaceBuilder) updates); - SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder get attachments; - set attachments(SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder? attachments); - - SpreedPublicCapabilities0_Spreed_Config_CallBuilder get call; - set call(SpreedPublicCapabilities0_Spreed_Config_CallBuilder? call); - - SpreedPublicCapabilities0_Spreed_Config_ChatBuilder get chat; - set chat(SpreedPublicCapabilities0_Spreed_Config_ChatBuilder? chat); +abstract mixin class ReferenceInterfaceBuilder { + void replace(ReferenceInterface other); + void update(void Function(ReferenceInterfaceBuilder) updates); + String? get richObjectType; + set richObjectType(String? richObjectType); - SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder get conversations; - set conversations(SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder? conversations); + MapBuilder get richObject; + set richObject(MapBuilder? richObject); - SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder get previews; - set previews(SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder? previews); + OpenGraphObjectBuilder get openGraphObject; + set openGraphObject(OpenGraphObjectBuilder? openGraphObject); - SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder get signaling; - set signaling(SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder? signaling); + bool? get accessible; + set accessible(bool? accessible); } -class _$SpreedPublicCapabilities0_Spreed_Config extends SpreedPublicCapabilities0_Spreed_Config { - @override - final SpreedPublicCapabilities0_Spreed_Config_Attachments attachments; - @override - final SpreedPublicCapabilities0_Spreed_Config_Call call; +class _$Reference extends Reference { @override - final SpreedPublicCapabilities0_Spreed_Config_Chat chat; + final String richObjectType; @override - final SpreedPublicCapabilities0_Spreed_Config_Conversations conversations; + final BuiltMap richObject; @override - final SpreedPublicCapabilities0_Spreed_Config_Previews previews; + final OpenGraphObject openGraphObject; @override - final SpreedPublicCapabilities0_Spreed_Config_Signaling signaling; + final bool accessible; - factory _$SpreedPublicCapabilities0_Spreed_Config( - [void Function(SpreedPublicCapabilities0_Spreed_ConfigBuilder)? updates]) => - (SpreedPublicCapabilities0_Spreed_ConfigBuilder()..update(updates))._build(); + factory _$Reference([void Function(ReferenceBuilder)? updates]) => (ReferenceBuilder()..update(updates))._build(); - _$SpreedPublicCapabilities0_Spreed_Config._( - {required this.attachments, - required this.call, - required this.chat, - required this.conversations, - required this.previews, - required this.signaling}) + _$Reference._( + {required this.richObjectType, required this.richObject, required this.openGraphObject, required this.accessible}) : super._() { - BuiltValueNullFieldError.checkNotNull(attachments, r'SpreedPublicCapabilities0_Spreed_Config', 'attachments'); - BuiltValueNullFieldError.checkNotNull(call, r'SpreedPublicCapabilities0_Spreed_Config', 'call'); - BuiltValueNullFieldError.checkNotNull(chat, r'SpreedPublicCapabilities0_Spreed_Config', 'chat'); - BuiltValueNullFieldError.checkNotNull(conversations, r'SpreedPublicCapabilities0_Spreed_Config', 'conversations'); - BuiltValueNullFieldError.checkNotNull(previews, r'SpreedPublicCapabilities0_Spreed_Config', 'previews'); - BuiltValueNullFieldError.checkNotNull(signaling, r'SpreedPublicCapabilities0_Spreed_Config', 'signaling'); + BuiltValueNullFieldError.checkNotNull(richObjectType, r'Reference', 'richObjectType'); + BuiltValueNullFieldError.checkNotNull(richObject, r'Reference', 'richObject'); + BuiltValueNullFieldError.checkNotNull(openGraphObject, r'Reference', 'openGraphObject'); + BuiltValueNullFieldError.checkNotNull(accessible, r'Reference', 'accessible'); } @override - SpreedPublicCapabilities0_Spreed_Config rebuild( - void Function(SpreedPublicCapabilities0_Spreed_ConfigBuilder) updates) => - (toBuilder()..update(updates)).build(); + Reference rebuild(void Function(ReferenceBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SpreedPublicCapabilities0_Spreed_ConfigBuilder toBuilder() => - SpreedPublicCapabilities0_Spreed_ConfigBuilder()..replace(this); + ReferenceBuilder toBuilder() => ReferenceBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SpreedPublicCapabilities0_Spreed_Config && - attachments == other.attachments && - call == other.call && - chat == other.chat && - conversations == other.conversations && - previews == other.previews && - signaling == other.signaling; + return other is Reference && + richObjectType == other.richObjectType && + richObject == other.richObject && + openGraphObject == other.openGraphObject && + accessible == other.accessible; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, attachments.hashCode); - _$hash = $jc(_$hash, call.hashCode); - _$hash = $jc(_$hash, chat.hashCode); - _$hash = $jc(_$hash, conversations.hashCode); - _$hash = $jc(_$hash, previews.hashCode); - _$hash = $jc(_$hash, signaling.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'SpreedPublicCapabilities0_Spreed_Config') - ..add('attachments', attachments) - ..add('call', call) - ..add('chat', chat) - ..add('conversations', conversations) - ..add('previews', previews) - ..add('signaling', signaling)) - .toString(); - } -} - -class SpreedPublicCapabilities0_Spreed_ConfigBuilder - implements - Builder, - SpreedPublicCapabilities0_Spreed_ConfigInterfaceBuilder { - _$SpreedPublicCapabilities0_Spreed_Config? _$v; - - SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder? _attachments; - SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder get attachments => - _$this._attachments ??= SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder(); - set attachments(covariant SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder? attachments) => - _$this._attachments = attachments; - - SpreedPublicCapabilities0_Spreed_Config_CallBuilder? _call; - SpreedPublicCapabilities0_Spreed_Config_CallBuilder get call => - _$this._call ??= SpreedPublicCapabilities0_Spreed_Config_CallBuilder(); - set call(covariant SpreedPublicCapabilities0_Spreed_Config_CallBuilder? call) => _$this._call = call; + @override + String toString() { + return (newBuiltValueToStringHelper(r'Reference') + ..add('richObjectType', richObjectType) + ..add('richObject', richObject) + ..add('openGraphObject', openGraphObject) + ..add('accessible', accessible)) + .toString(); + } +} - SpreedPublicCapabilities0_Spreed_Config_ChatBuilder? _chat; - SpreedPublicCapabilities0_Spreed_Config_ChatBuilder get chat => - _$this._chat ??= SpreedPublicCapabilities0_Spreed_Config_ChatBuilder(); - set chat(covariant SpreedPublicCapabilities0_Spreed_Config_ChatBuilder? chat) => _$this._chat = chat; +class ReferenceBuilder implements Builder, ReferenceInterfaceBuilder { + _$Reference? _$v; - SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder? _conversations; - SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder get conversations => - _$this._conversations ??= SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder(); - set conversations(covariant SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder? conversations) => - _$this._conversations = conversations; + String? _richObjectType; + String? get richObjectType => _$this._richObjectType; + set richObjectType(covariant String? richObjectType) => _$this._richObjectType = richObjectType; - SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder? _previews; - SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder get previews => - _$this._previews ??= SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder(); - set previews(covariant SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder? previews) => - _$this._previews = previews; + MapBuilder? _richObject; + MapBuilder get richObject => _$this._richObject ??= MapBuilder(); + set richObject(covariant MapBuilder? richObject) => _$this._richObject = richObject; - SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder? _signaling; - SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder get signaling => - _$this._signaling ??= SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder(); - set signaling(covariant SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder? signaling) => - _$this._signaling = signaling; + OpenGraphObjectBuilder? _openGraphObject; + OpenGraphObjectBuilder get openGraphObject => _$this._openGraphObject ??= OpenGraphObjectBuilder(); + set openGraphObject(covariant OpenGraphObjectBuilder? openGraphObject) => _$this._openGraphObject = openGraphObject; - SpreedPublicCapabilities0_Spreed_ConfigBuilder(); + bool? _accessible; + bool? get accessible => _$this._accessible; + set accessible(covariant bool? accessible) => _$this._accessible = accessible; - SpreedPublicCapabilities0_Spreed_ConfigBuilder get _$this { + ReferenceBuilder(); + + ReferenceBuilder get _$this { final $v = _$v; if ($v != null) { - _attachments = $v.attachments.toBuilder(); - _call = $v.call.toBuilder(); - _chat = $v.chat.toBuilder(); - _conversations = $v.conversations.toBuilder(); - _previews = $v.previews.toBuilder(); - _signaling = $v.signaling.toBuilder(); + _richObjectType = $v.richObjectType; + _richObject = $v.richObject.toBuilder(); + _openGraphObject = $v.openGraphObject.toBuilder(); + _accessible = $v.accessible; _$v = null; } return this; } @override - void replace(covariant SpreedPublicCapabilities0_Spreed_Config other) { + void replace(covariant Reference other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SpreedPublicCapabilities0_Spreed_Config; + _$v = other as _$Reference; } @override - void update(void Function(SpreedPublicCapabilities0_Spreed_ConfigBuilder)? updates) { + void update(void Function(ReferenceBuilder)? updates) { if (updates != null) updates(this); } @override - SpreedPublicCapabilities0_Spreed_Config build() => _build(); + Reference build() => _build(); - _$SpreedPublicCapabilities0_Spreed_Config _build() { - _$SpreedPublicCapabilities0_Spreed_Config _$result; + _$Reference _build() { + _$Reference _$result; try { _$result = _$v ?? - _$SpreedPublicCapabilities0_Spreed_Config._( - attachments: attachments.build(), - call: call.build(), - chat: chat.build(), - conversations: conversations.build(), - previews: previews.build(), - signaling: signaling.build()); + _$Reference._( + richObjectType: BuiltValueNullFieldError.checkNotNull(richObjectType, r'Reference', 'richObjectType'), + richObject: richObject.build(), + openGraphObject: openGraphObject.build(), + accessible: BuiltValueNullFieldError.checkNotNull(accessible, r'Reference', 'accessible')); } catch (_) { late String _$failedField; try { - _$failedField = 'attachments'; - attachments.build(); - _$failedField = 'call'; - call.build(); - _$failedField = 'chat'; - chat.build(); - _$failedField = 'conversations'; - conversations.build(); - _$failedField = 'previews'; - previews.build(); - _$failedField = 'signaling'; - signaling.build(); + _$failedField = 'richObject'; + richObject.build(); + _$failedField = 'openGraphObject'; + openGraphObject.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities0_Spreed_Config', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'Reference', _$failedField, e.toString()); } rethrow; } @@ -20675,136 +23944,106 @@ class SpreedPublicCapabilities0_Spreed_ConfigBuilder } } -abstract mixin class SpreedPublicCapabilities0_SpreedInterfaceBuilder { - void replace(SpreedPublicCapabilities0_SpreedInterface other); - void update(void Function(SpreedPublicCapabilities0_SpreedInterfaceBuilder) updates); - ListBuilder get features; - set features(ListBuilder? features); - - SpreedPublicCapabilities0_Spreed_ConfigBuilder get config; - set config(SpreedPublicCapabilities0_Spreed_ConfigBuilder? config); - - String? get version; - set version(String? version); +abstract mixin class ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + MapBuilder get references; + set references(MapBuilder? references); } -class _$SpreedPublicCapabilities0_Spreed extends SpreedPublicCapabilities0_Spreed { - @override - final BuiltList features; - @override - final SpreedPublicCapabilities0_Spreed_Config config; +class _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data + extends ReferenceApiResolveOneResponseApplicationJson_Ocs_Data { @override - final String version; + final BuiltMap references; - factory _$SpreedPublicCapabilities0_Spreed([void Function(SpreedPublicCapabilities0_SpreedBuilder)? updates]) => - (SpreedPublicCapabilities0_SpreedBuilder()..update(updates))._build(); + factory _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data( + [void Function(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$SpreedPublicCapabilities0_Spreed._({required this.features, required this.config, required this.version}) - : super._() { - BuiltValueNullFieldError.checkNotNull(features, r'SpreedPublicCapabilities0_Spreed', 'features'); - BuiltValueNullFieldError.checkNotNull(config, r'SpreedPublicCapabilities0_Spreed', 'config'); - BuiltValueNullFieldError.checkNotNull(version, r'SpreedPublicCapabilities0_Spreed', 'version'); + _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data._({required this.references}) : super._() { + BuiltValueNullFieldError.checkNotNull( + references, r'ReferenceApiResolveOneResponseApplicationJson_Ocs_Data', 'references'); } @override - SpreedPublicCapabilities0_Spreed rebuild(void Function(SpreedPublicCapabilities0_SpreedBuilder) updates) => + ReferenceApiResolveOneResponseApplicationJson_Ocs_Data rebuild( + void Function(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SpreedPublicCapabilities0_SpreedBuilder toBuilder() => SpreedPublicCapabilities0_SpreedBuilder()..replace(this); + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder toBuilder() => + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SpreedPublicCapabilities0_Spreed && - features == other.features && - config == other.config && - version == other.version; + return other is ReferenceApiResolveOneResponseApplicationJson_Ocs_Data && references == other.references; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, features.hashCode); - _$hash = $jc(_$hash, config.hashCode); - _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, references.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed') - ..add('features', features) - ..add('config', config) - ..add('version', version)) + return (newBuiltValueToStringHelper(r'ReferenceApiResolveOneResponseApplicationJson_Ocs_Data') + ..add('references', references)) .toString(); } } -class SpreedPublicCapabilities0_SpreedBuilder +class ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder implements - Builder, - SpreedPublicCapabilities0_SpreedInterfaceBuilder { - _$SpreedPublicCapabilities0_Spreed? _$v; - - ListBuilder? _features; - ListBuilder get features => _$this._features ??= ListBuilder(); - set features(covariant ListBuilder? features) => _$this._features = features; - - SpreedPublicCapabilities0_Spreed_ConfigBuilder? _config; - SpreedPublicCapabilities0_Spreed_ConfigBuilder get config => - _$this._config ??= SpreedPublicCapabilities0_Spreed_ConfigBuilder(); - set config(covariant SpreedPublicCapabilities0_Spreed_ConfigBuilder? config) => _$this._config = config; + Builder, + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data? _$v; - String? _version; - String? get version => _$this._version; - set version(covariant String? version) => _$this._version = version; + MapBuilder? _references; + MapBuilder get references => _$this._references ??= MapBuilder(); + set references(covariant MapBuilder? references) => _$this._references = references; - SpreedPublicCapabilities0_SpreedBuilder(); + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder(); - SpreedPublicCapabilities0_SpreedBuilder get _$this { + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _features = $v.features.toBuilder(); - _config = $v.config.toBuilder(); - _version = $v.version; + _references = $v.references.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SpreedPublicCapabilities0_Spreed other) { + void replace(covariant ReferenceApiResolveOneResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SpreedPublicCapabilities0_Spreed; + _$v = other as _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data; } @override - void update(void Function(SpreedPublicCapabilities0_SpreedBuilder)? updates) { + void update(void Function(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - SpreedPublicCapabilities0_Spreed build() => _build(); + ReferenceApiResolveOneResponseApplicationJson_Ocs_Data build() => _build(); - _$SpreedPublicCapabilities0_Spreed _build() { - _$SpreedPublicCapabilities0_Spreed _$result; + _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data _build() { + _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? - _$SpreedPublicCapabilities0_Spreed._( - features: features.build(), - config: config.build(), - version: BuiltValueNullFieldError.checkNotNull(version, r'SpreedPublicCapabilities0_Spreed', 'version')); + _$result = _$v ?? _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data._(references: references.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'features'; - features.build(); - _$failedField = 'config'; - config.build(); + _$failedField = 'references'; + references.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities0_Spreed', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'ReferenceApiResolveOneResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -20813,97 +24052,120 @@ class SpreedPublicCapabilities0_SpreedBuilder } } -abstract mixin class SpreedPublicCapabilities0InterfaceBuilder { - void replace(SpreedPublicCapabilities0Interface other); - void update(void Function(SpreedPublicCapabilities0InterfaceBuilder) updates); - SpreedPublicCapabilities0_SpreedBuilder get spreed; - set spreed(SpreedPublicCapabilities0_SpreedBuilder? spreed); +abstract mixin class ReferenceApiResolveOneResponseApplicationJson_OcsInterfaceBuilder { + void replace(ReferenceApiResolveOneResponseApplicationJson_OcsInterface other); + void update(void Function(ReferenceApiResolveOneResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder get data; + set data(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder? data); } -class _$SpreedPublicCapabilities0 extends SpreedPublicCapabilities0 { +class _$ReferenceApiResolveOneResponseApplicationJson_Ocs extends ReferenceApiResolveOneResponseApplicationJson_Ocs { @override - final SpreedPublicCapabilities0_Spreed spreed; + final OCSMeta meta; + @override + final ReferenceApiResolveOneResponseApplicationJson_Ocs_Data data; - factory _$SpreedPublicCapabilities0([void Function(SpreedPublicCapabilities0Builder)? updates]) => - (SpreedPublicCapabilities0Builder()..update(updates))._build(); + factory _$ReferenceApiResolveOneResponseApplicationJson_Ocs( + [void Function(ReferenceApiResolveOneResponseApplicationJson_OcsBuilder)? updates]) => + (ReferenceApiResolveOneResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$SpreedPublicCapabilities0._({required this.spreed}) : super._() { - BuiltValueNullFieldError.checkNotNull(spreed, r'SpreedPublicCapabilities0', 'spreed'); + _$ReferenceApiResolveOneResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ReferenceApiResolveOneResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ReferenceApiResolveOneResponseApplicationJson_Ocs', 'data'); } @override - SpreedPublicCapabilities0 rebuild(void Function(SpreedPublicCapabilities0Builder) updates) => + ReferenceApiResolveOneResponseApplicationJson_Ocs rebuild( + void Function(ReferenceApiResolveOneResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SpreedPublicCapabilities0Builder toBuilder() => SpreedPublicCapabilities0Builder()..replace(this); + ReferenceApiResolveOneResponseApplicationJson_OcsBuilder toBuilder() => + ReferenceApiResolveOneResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SpreedPublicCapabilities0 && spreed == other.spreed; + return other is ReferenceApiResolveOneResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, spreed.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0')..add('spreed', spreed)).toString(); + return (newBuiltValueToStringHelper(r'ReferenceApiResolveOneResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); } } -class SpreedPublicCapabilities0Builder +class ReferenceApiResolveOneResponseApplicationJson_OcsBuilder implements - Builder, - SpreedPublicCapabilities0InterfaceBuilder { - _$SpreedPublicCapabilities0? _$v; + Builder, + ReferenceApiResolveOneResponseApplicationJson_OcsInterfaceBuilder { + _$ReferenceApiResolveOneResponseApplicationJson_Ocs? _$v; - SpreedPublicCapabilities0_SpreedBuilder? _spreed; - SpreedPublicCapabilities0_SpreedBuilder get spreed => _$this._spreed ??= SpreedPublicCapabilities0_SpreedBuilder(); - set spreed(covariant SpreedPublicCapabilities0_SpreedBuilder? spreed) => _$this._spreed = spreed; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - SpreedPublicCapabilities0Builder(); + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder? _data; + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - SpreedPublicCapabilities0Builder get _$this { + ReferenceApiResolveOneResponseApplicationJson_OcsBuilder(); + + ReferenceApiResolveOneResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _spreed = $v.spreed.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SpreedPublicCapabilities0 other) { + void replace(covariant ReferenceApiResolveOneResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SpreedPublicCapabilities0; + _$v = other as _$ReferenceApiResolveOneResponseApplicationJson_Ocs; } @override - void update(void Function(SpreedPublicCapabilities0Builder)? updates) { + void update(void Function(ReferenceApiResolveOneResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - SpreedPublicCapabilities0 build() => _build(); + ReferenceApiResolveOneResponseApplicationJson_Ocs build() => _build(); - _$SpreedPublicCapabilities0 _build() { - _$SpreedPublicCapabilities0 _$result; + _$ReferenceApiResolveOneResponseApplicationJson_Ocs _build() { + _$ReferenceApiResolveOneResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$SpreedPublicCapabilities0._(spreed: spreed.build()); + _$result = _$v ?? _$ReferenceApiResolveOneResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'spreed'; - spreed.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities0', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'ReferenceApiResolveOneResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -20912,134 +24174,101 @@ class SpreedPublicCapabilities0Builder } } -abstract mixin class SpreedPublicCapabilitiesInterfaceBuilder { - void replace(SpreedPublicCapabilitiesInterface other); - void update(void Function(SpreedPublicCapabilitiesInterfaceBuilder) updates); - SpreedPublicCapabilities0Builder get spreedPublicCapabilities0; - set spreedPublicCapabilities0(SpreedPublicCapabilities0Builder? spreedPublicCapabilities0); - - ListBuilder get builtListJsonObject; - set builtListJsonObject(ListBuilder? builtListJsonObject); +abstract mixin class ReferenceApiResolveOneResponseApplicationJsonInterfaceBuilder { + void replace(ReferenceApiResolveOneResponseApplicationJsonInterface other); + void update(void Function(ReferenceApiResolveOneResponseApplicationJsonInterfaceBuilder) updates); + ReferenceApiResolveOneResponseApplicationJson_OcsBuilder get ocs; + set ocs(ReferenceApiResolveOneResponseApplicationJson_OcsBuilder? ocs); } -class _$SpreedPublicCapabilities extends SpreedPublicCapabilities { - @override - final JsonObject data; - @override - final SpreedPublicCapabilities0? spreedPublicCapabilities0; +class _$ReferenceApiResolveOneResponseApplicationJson extends ReferenceApiResolveOneResponseApplicationJson { @override - final BuiltList? builtListJsonObject; + final ReferenceApiResolveOneResponseApplicationJson_Ocs ocs; - factory _$SpreedPublicCapabilities([void Function(SpreedPublicCapabilitiesBuilder)? updates]) => - (SpreedPublicCapabilitiesBuilder()..update(updates))._build(); + factory _$ReferenceApiResolveOneResponseApplicationJson( + [void Function(ReferenceApiResolveOneResponseApplicationJsonBuilder)? updates]) => + (ReferenceApiResolveOneResponseApplicationJsonBuilder()..update(updates))._build(); - _$SpreedPublicCapabilities._({required this.data, this.spreedPublicCapabilities0, this.builtListJsonObject}) - : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'SpreedPublicCapabilities', 'data'); + _$ReferenceApiResolveOneResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ReferenceApiResolveOneResponseApplicationJson', 'ocs'); } @override - SpreedPublicCapabilities rebuild(void Function(SpreedPublicCapabilitiesBuilder) updates) => + ReferenceApiResolveOneResponseApplicationJson rebuild( + void Function(ReferenceApiResolveOneResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SpreedPublicCapabilitiesBuilder toBuilder() => SpreedPublicCapabilitiesBuilder()..replace(this); + ReferenceApiResolveOneResponseApplicationJsonBuilder toBuilder() => + ReferenceApiResolveOneResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SpreedPublicCapabilities && - data == other.data && - spreedPublicCapabilities0 == other.spreedPublicCapabilities0 && - builtListJsonObject == other.builtListJsonObject; + return other is ReferenceApiResolveOneResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, spreedPublicCapabilities0.hashCode); - _$hash = $jc(_$hash, builtListJsonObject.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities') - ..add('data', data) - ..add('spreedPublicCapabilities0', spreedPublicCapabilities0) - ..add('builtListJsonObject', builtListJsonObject)) - .toString(); + return (newBuiltValueToStringHelper(r'ReferenceApiResolveOneResponseApplicationJson')..add('ocs', ocs)).toString(); } } -class SpreedPublicCapabilitiesBuilder +class ReferenceApiResolveOneResponseApplicationJsonBuilder implements - Builder, - SpreedPublicCapabilitiesInterfaceBuilder { - _$SpreedPublicCapabilities? _$v; - - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(covariant JsonObject? data) => _$this._data = data; - - SpreedPublicCapabilities0Builder? _spreedPublicCapabilities0; - SpreedPublicCapabilities0Builder get spreedPublicCapabilities0 => - _$this._spreedPublicCapabilities0 ??= SpreedPublicCapabilities0Builder(); - set spreedPublicCapabilities0(covariant SpreedPublicCapabilities0Builder? spreedPublicCapabilities0) => - _$this._spreedPublicCapabilities0 = spreedPublicCapabilities0; + Builder, + ReferenceApiResolveOneResponseApplicationJsonInterfaceBuilder { + _$ReferenceApiResolveOneResponseApplicationJson? _$v; - ListBuilder? _builtListJsonObject; - ListBuilder get builtListJsonObject => _$this._builtListJsonObject ??= ListBuilder(); - set builtListJsonObject(covariant ListBuilder? builtListJsonObject) => - _$this._builtListJsonObject = builtListJsonObject; + ReferenceApiResolveOneResponseApplicationJson_OcsBuilder? _ocs; + ReferenceApiResolveOneResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ReferenceApiResolveOneResponseApplicationJson_OcsBuilder(); + set ocs(covariant ReferenceApiResolveOneResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - SpreedPublicCapabilitiesBuilder(); + ReferenceApiResolveOneResponseApplicationJsonBuilder(); - SpreedPublicCapabilitiesBuilder get _$this { + ReferenceApiResolveOneResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _spreedPublicCapabilities0 = $v.spreedPublicCapabilities0?.toBuilder(); - _builtListJsonObject = $v.builtListJsonObject?.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SpreedPublicCapabilities other) { + void replace(covariant ReferenceApiResolveOneResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SpreedPublicCapabilities; + _$v = other as _$ReferenceApiResolveOneResponseApplicationJson; } @override - void update(void Function(SpreedPublicCapabilitiesBuilder)? updates) { + void update(void Function(ReferenceApiResolveOneResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - SpreedPublicCapabilities build() => _build(); + ReferenceApiResolveOneResponseApplicationJson build() => _build(); - _$SpreedPublicCapabilities _build() { - SpreedPublicCapabilities._validate(this); - _$SpreedPublicCapabilities _$result; + _$ReferenceApiResolveOneResponseApplicationJson _build() { + _$ReferenceApiResolveOneResponseApplicationJson _$result; try { - _$result = _$v ?? - _$SpreedPublicCapabilities._( - data: BuiltValueNullFieldError.checkNotNull(data, r'SpreedPublicCapabilities', 'data'), - spreedPublicCapabilities0: _spreedPublicCapabilities0?.build(), - builtListJsonObject: _builtListJsonObject?.build()); + _$result = _$v ?? _$ReferenceApiResolveOneResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'spreedPublicCapabilities0'; - _spreedPublicCapabilities0?.build(); - _$failedField = 'builtListJsonObject'; - _builtListJsonObject?.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'ReferenceApiResolveOneResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -21048,409 +24277,227 @@ class SpreedPublicCapabilitiesBuilder } } -abstract mixin class ThemingPublicCapabilities_ThemingInterfaceBuilder { - void replace(ThemingPublicCapabilities_ThemingInterface other); - void update(void Function(ThemingPublicCapabilities_ThemingInterfaceBuilder) updates); - String? get name; - set name(String? name); - - String? get url; - set url(String? url); - - String? get slogan; - set slogan(String? slogan); - - String? get color; - set color(String? color); - - String? get colorText; - set colorText(String? colorText); - - String? get colorElement; - set colorElement(String? colorElement); - - String? get colorElementBright; - set colorElementBright(String? colorElementBright); - - String? get colorElementDark; - set colorElementDark(String? colorElementDark); - - String? get logo; - set logo(String? logo); - - String? get background; - set background(String? background); - - bool? get backgroundPlain; - set backgroundPlain(bool? backgroundPlain); - - bool? get backgroundDefault; - set backgroundDefault(bool? backgroundDefault); - - String? get logoheader; - set logoheader(String? logoheader); - - String? get favicon; - set favicon(String? favicon); +abstract mixin class ReferenceApiResolveResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(ReferenceApiResolveResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(ReferenceApiResolveResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + MapBuilder get references; + set references(MapBuilder? references); } -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; +class _$ReferenceApiResolveResponseApplicationJson_Ocs_Data + extends ReferenceApiResolveResponseApplicationJson_Ocs_Data { @override - final String favicon; + final BuiltMap references; - factory _$ThemingPublicCapabilities_Theming([void Function(ThemingPublicCapabilities_ThemingBuilder)? updates]) => - (ThemingPublicCapabilities_ThemingBuilder()..update(updates))._build(); + factory _$ReferenceApiResolveResponseApplicationJson_Ocs_Data( + [void Function(ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder()..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'); + _$ReferenceApiResolveResponseApplicationJson_Ocs_Data._({required this.references}) : super._() { 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'); + references, r'ReferenceApiResolveResponseApplicationJson_Ocs_Data', 'references'); } @override - ThemingPublicCapabilities_Theming rebuild(void Function(ThemingPublicCapabilities_ThemingBuilder) updates) => + ReferenceApiResolveResponseApplicationJson_Ocs_Data rebuild( + void Function(ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ThemingPublicCapabilities_ThemingBuilder toBuilder() => ThemingPublicCapabilities_ThemingBuilder()..replace(this); + ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder toBuilder() => + ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder()..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; + return other is ReferenceApiResolveResponseApplicationJson_Ocs_Data && references == other.references; } @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, references.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)) + return (newBuiltValueToStringHelper(r'ReferenceApiResolveResponseApplicationJson_Ocs_Data') + ..add('references', references)) .toString(); } } -class ThemingPublicCapabilities_ThemingBuilder +class ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder implements - Builder, - ThemingPublicCapabilities_ThemingInterfaceBuilder { - _$ThemingPublicCapabilities_Theming? _$v; - - String? _name; - String? get name => _$this._name; - set name(covariant String? name) => _$this._name = name; - - String? _url; - String? get url => _$this._url; - set url(covariant String? url) => _$this._url = url; - - String? _slogan; - String? get slogan => _$this._slogan; - set slogan(covariant String? slogan) => _$this._slogan = slogan; - - String? _color; - String? get color => _$this._color; - set color(covariant String? color) => _$this._color = color; - - String? _colorText; - String? get colorText => _$this._colorText; - set colorText(covariant String? colorText) => _$this._colorText = colorText; - - String? _colorElement; - String? get colorElement => _$this._colorElement; - set colorElement(covariant String? colorElement) => _$this._colorElement = colorElement; - - String? _colorElementBright; - String? get colorElementBright => _$this._colorElementBright; - set colorElementBright(covariant String? colorElementBright) => _$this._colorElementBright = colorElementBright; - - String? _colorElementDark; - String? get colorElementDark => _$this._colorElementDark; - set colorElementDark(covariant String? colorElementDark) => _$this._colorElementDark = colorElementDark; - - String? _logo; - String? get logo => _$this._logo; - set logo(covariant String? logo) => _$this._logo = logo; - - String? _background; - String? get background => _$this._background; - set background(covariant String? background) => _$this._background = background; - - bool? _backgroundPlain; - bool? get backgroundPlain => _$this._backgroundPlain; - set backgroundPlain(covariant bool? backgroundPlain) => _$this._backgroundPlain = backgroundPlain; - - bool? _backgroundDefault; - bool? get backgroundDefault => _$this._backgroundDefault; - set backgroundDefault(covariant bool? backgroundDefault) => _$this._backgroundDefault = backgroundDefault; - - String? _logoheader; - String? get logoheader => _$this._logoheader; - set logoheader(covariant String? logoheader) => _$this._logoheader = logoheader; + Builder, + ReferenceApiResolveResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$ReferenceApiResolveResponseApplicationJson_Ocs_Data? _$v; - String? _favicon; - String? get favicon => _$this._favicon; - set favicon(covariant String? favicon) => _$this._favicon = favicon; + MapBuilder? _references; + MapBuilder get references => _$this._references ??= MapBuilder(); + set references(covariant MapBuilder? references) => _$this._references = references; - ThemingPublicCapabilities_ThemingBuilder(); + ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder(); - ThemingPublicCapabilities_ThemingBuilder get _$this { + ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder 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; + _references = $v.references.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ThemingPublicCapabilities_Theming other) { + void replace(covariant ReferenceApiResolveResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ThemingPublicCapabilities_Theming; + _$v = other as _$ReferenceApiResolveResponseApplicationJson_Ocs_Data; } @override - void update(void Function(ThemingPublicCapabilities_ThemingBuilder)? updates) { + void update(void Function(ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - ThemingPublicCapabilities_Theming build() => _build(); + ReferenceApiResolveResponseApplicationJson_Ocs_Data 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')); + _$ReferenceApiResolveResponseApplicationJson_Ocs_Data _build() { + _$ReferenceApiResolveResponseApplicationJson_Ocs_Data _$result; + try { + _$result = _$v ?? _$ReferenceApiResolveResponseApplicationJson_Ocs_Data._(references: references.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'references'; + references.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ReferenceApiResolveResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class ThemingPublicCapabilitiesInterfaceBuilder { - void replace(ThemingPublicCapabilitiesInterface other); - void update(void Function(ThemingPublicCapabilitiesInterfaceBuilder) updates); - ThemingPublicCapabilities_ThemingBuilder get theming; - set theming(ThemingPublicCapabilities_ThemingBuilder? theming); +abstract mixin class ReferenceApiResolveResponseApplicationJson_OcsInterfaceBuilder { + void replace(ReferenceApiResolveResponseApplicationJson_OcsInterface other); + void update(void Function(ReferenceApiResolveResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder get data; + set data(ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder? data); } -class _$ThemingPublicCapabilities extends ThemingPublicCapabilities { +class _$ReferenceApiResolveResponseApplicationJson_Ocs extends ReferenceApiResolveResponseApplicationJson_Ocs { @override - final ThemingPublicCapabilities_Theming theming; + final OCSMeta meta; + @override + final ReferenceApiResolveResponseApplicationJson_Ocs_Data data; - factory _$ThemingPublicCapabilities([void Function(ThemingPublicCapabilitiesBuilder)? updates]) => - (ThemingPublicCapabilitiesBuilder()..update(updates))._build(); + factory _$ReferenceApiResolveResponseApplicationJson_Ocs( + [void Function(ReferenceApiResolveResponseApplicationJson_OcsBuilder)? updates]) => + (ReferenceApiResolveResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$ThemingPublicCapabilities._({required this.theming}) : super._() { - BuiltValueNullFieldError.checkNotNull(theming, r'ThemingPublicCapabilities', 'theming'); + _$ReferenceApiResolveResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ReferenceApiResolveResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ReferenceApiResolveResponseApplicationJson_Ocs', 'data'); } @override - ThemingPublicCapabilities rebuild(void Function(ThemingPublicCapabilitiesBuilder) updates) => + ReferenceApiResolveResponseApplicationJson_Ocs rebuild( + void Function(ReferenceApiResolveResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ThemingPublicCapabilitiesBuilder toBuilder() => ThemingPublicCapabilitiesBuilder()..replace(this); + ReferenceApiResolveResponseApplicationJson_OcsBuilder toBuilder() => + ReferenceApiResolveResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ThemingPublicCapabilities && theming == other.theming; + return other is ReferenceApiResolveResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, theming.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ThemingPublicCapabilities')..add('theming', theming)).toString(); + return (newBuiltValueToStringHelper(r'ReferenceApiResolveResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); } } -class ThemingPublicCapabilitiesBuilder +class ReferenceApiResolveResponseApplicationJson_OcsBuilder implements - Builder, - ThemingPublicCapabilitiesInterfaceBuilder { - _$ThemingPublicCapabilities? _$v; + Builder, + ReferenceApiResolveResponseApplicationJson_OcsInterfaceBuilder { + _$ReferenceApiResolveResponseApplicationJson_Ocs? _$v; - ThemingPublicCapabilities_ThemingBuilder? _theming; - ThemingPublicCapabilities_ThemingBuilder get theming => - _$this._theming ??= ThemingPublicCapabilities_ThemingBuilder(); - set theming(covariant ThemingPublicCapabilities_ThemingBuilder? theming) => _$this._theming = theming; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - ThemingPublicCapabilitiesBuilder(); + ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder? _data; + ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - ThemingPublicCapabilitiesBuilder get _$this { + ReferenceApiResolveResponseApplicationJson_OcsBuilder(); + + ReferenceApiResolveResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _theming = $v.theming.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ThemingPublicCapabilities other) { + void replace(covariant ReferenceApiResolveResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ThemingPublicCapabilities; + _$v = other as _$ReferenceApiResolveResponseApplicationJson_Ocs; } @override - void update(void Function(ThemingPublicCapabilitiesBuilder)? updates) { + void update(void Function(ReferenceApiResolveResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - ThemingPublicCapabilities build() => _build(); + ReferenceApiResolveResponseApplicationJson_Ocs build() => _build(); - _$ThemingPublicCapabilities _build() { - _$ThemingPublicCapabilities _$result; + _$ReferenceApiResolveResponseApplicationJson_Ocs _build() { + _$ReferenceApiResolveResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$ThemingPublicCapabilities._(theming: theming.build()); + _$result = _$v ?? _$ReferenceApiResolveResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'theming'; - theming.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'ThemingPublicCapabilities', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'ReferenceApiResolveResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -21459,220 +24506,209 @@ class ThemingPublicCapabilitiesBuilder } } -abstract mixin class UserStatusCapabilities_UserStatusInterfaceBuilder { - void replace(UserStatusCapabilities_UserStatusInterface other); - void update(void Function(UserStatusCapabilities_UserStatusInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); - - bool? get restore; - set restore(bool? restore); - - bool? get supportsEmoji; - set supportsEmoji(bool? supportsEmoji); +abstract mixin class ReferenceApiResolveResponseApplicationJsonInterfaceBuilder { + void replace(ReferenceApiResolveResponseApplicationJsonInterface other); + void update(void Function(ReferenceApiResolveResponseApplicationJsonInterfaceBuilder) updates); + ReferenceApiResolveResponseApplicationJson_OcsBuilder get ocs; + set ocs(ReferenceApiResolveResponseApplicationJson_OcsBuilder? ocs); } -class _$UserStatusCapabilities_UserStatus extends UserStatusCapabilities_UserStatus { - @override - final bool enabled; - @override - final bool restore; +class _$ReferenceApiResolveResponseApplicationJson extends ReferenceApiResolveResponseApplicationJson { @override - final bool supportsEmoji; + final ReferenceApiResolveResponseApplicationJson_Ocs ocs; - factory _$UserStatusCapabilities_UserStatus([void Function(UserStatusCapabilities_UserStatusBuilder)? updates]) => - (UserStatusCapabilities_UserStatusBuilder()..update(updates))._build(); + factory _$ReferenceApiResolveResponseApplicationJson( + [void Function(ReferenceApiResolveResponseApplicationJsonBuilder)? updates]) => + (ReferenceApiResolveResponseApplicationJsonBuilder()..update(updates))._build(); - _$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'); + _$ReferenceApiResolveResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ReferenceApiResolveResponseApplicationJson', 'ocs'); } @override - UserStatusCapabilities_UserStatus rebuild(void Function(UserStatusCapabilities_UserStatusBuilder) updates) => + ReferenceApiResolveResponseApplicationJson rebuild( + void Function(ReferenceApiResolveResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusCapabilities_UserStatusBuilder toBuilder() => UserStatusCapabilities_UserStatusBuilder()..replace(this); + ReferenceApiResolveResponseApplicationJsonBuilder toBuilder() => + ReferenceApiResolveResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusCapabilities_UserStatus && - enabled == other.enabled && - restore == other.restore && - supportsEmoji == other.supportsEmoji; + return other is ReferenceApiResolveResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, restore.hashCode); - _$hash = $jc(_$hash, supportsEmoji.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusCapabilities_UserStatus') - ..add('enabled', enabled) - ..add('restore', restore) - ..add('supportsEmoji', supportsEmoji)) - .toString(); + return (newBuiltValueToStringHelper(r'ReferenceApiResolveResponseApplicationJson')..add('ocs', ocs)).toString(); } } -class UserStatusCapabilities_UserStatusBuilder +class ReferenceApiResolveResponseApplicationJsonBuilder implements - Builder, - UserStatusCapabilities_UserStatusInterfaceBuilder { - _$UserStatusCapabilities_UserStatus? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; - - bool? _restore; - bool? get restore => _$this._restore; - set restore(covariant bool? restore) => _$this._restore = restore; + Builder, + ReferenceApiResolveResponseApplicationJsonInterfaceBuilder { + _$ReferenceApiResolveResponseApplicationJson? _$v; - bool? _supportsEmoji; - bool? get supportsEmoji => _$this._supportsEmoji; - set supportsEmoji(covariant bool? supportsEmoji) => _$this._supportsEmoji = supportsEmoji; + ReferenceApiResolveResponseApplicationJson_OcsBuilder? _ocs; + ReferenceApiResolveResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ReferenceApiResolveResponseApplicationJson_OcsBuilder(); + set ocs(covariant ReferenceApiResolveResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - UserStatusCapabilities_UserStatusBuilder(); + ReferenceApiResolveResponseApplicationJsonBuilder(); - UserStatusCapabilities_UserStatusBuilder get _$this { + ReferenceApiResolveResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _restore = $v.restore; - _supportsEmoji = $v.supportsEmoji; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant UserStatusCapabilities_UserStatus other) { + void replace(covariant ReferenceApiResolveResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusCapabilities_UserStatus; + _$v = other as _$ReferenceApiResolveResponseApplicationJson; } @override - void update(void Function(UserStatusCapabilities_UserStatusBuilder)? updates) { + void update(void Function(ReferenceApiResolveResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusCapabilities_UserStatus build() => _build(); + ReferenceApiResolveResponseApplicationJson build() => _build(); - _$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')); + _$ReferenceApiResolveResponseApplicationJson _build() { + _$ReferenceApiResolveResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ReferenceApiResolveResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ReferenceApiResolveResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class UserStatusCapabilitiesInterfaceBuilder { - void replace(UserStatusCapabilitiesInterface other); - void update(void Function(UserStatusCapabilitiesInterfaceBuilder) updates); - UserStatusCapabilities_UserStatusBuilder get userStatus; - set userStatus(UserStatusCapabilities_UserStatusBuilder? userStatus); +abstract mixin class ReferenceApiExtractResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(ReferenceApiExtractResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(ReferenceApiExtractResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + MapBuilder get references; + set references(MapBuilder? references); } -class _$UserStatusCapabilities extends UserStatusCapabilities { +class _$ReferenceApiExtractResponseApplicationJson_Ocs_Data + extends ReferenceApiExtractResponseApplicationJson_Ocs_Data { @override - final UserStatusCapabilities_UserStatus userStatus; + final BuiltMap references; - factory _$UserStatusCapabilities([void Function(UserStatusCapabilitiesBuilder)? updates]) => - (UserStatusCapabilitiesBuilder()..update(updates))._build(); + factory _$ReferenceApiExtractResponseApplicationJson_Ocs_Data( + [void Function(ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$UserStatusCapabilities._({required this.userStatus}) : super._() { - BuiltValueNullFieldError.checkNotNull(userStatus, r'UserStatusCapabilities', 'userStatus'); + _$ReferenceApiExtractResponseApplicationJson_Ocs_Data._({required this.references}) : super._() { + BuiltValueNullFieldError.checkNotNull( + references, r'ReferenceApiExtractResponseApplicationJson_Ocs_Data', 'references'); } @override - UserStatusCapabilities rebuild(void Function(UserStatusCapabilitiesBuilder) updates) => + ReferenceApiExtractResponseApplicationJson_Ocs_Data rebuild( + void Function(ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusCapabilitiesBuilder toBuilder() => UserStatusCapabilitiesBuilder()..replace(this); + ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder toBuilder() => + ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusCapabilities && userStatus == other.userStatus; + return other is ReferenceApiExtractResponseApplicationJson_Ocs_Data && references == other.references; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, userStatus.hashCode); + _$hash = $jc(_$hash, references.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusCapabilities')..add('userStatus', userStatus)).toString(); + return (newBuiltValueToStringHelper(r'ReferenceApiExtractResponseApplicationJson_Ocs_Data') + ..add('references', references)) + .toString(); } } -class UserStatusCapabilitiesBuilder - implements Builder, UserStatusCapabilitiesInterfaceBuilder { - _$UserStatusCapabilities? _$v; +class ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder + implements + Builder, + ReferenceApiExtractResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$ReferenceApiExtractResponseApplicationJson_Ocs_Data? _$v; - UserStatusCapabilities_UserStatusBuilder? _userStatus; - UserStatusCapabilities_UserStatusBuilder get userStatus => - _$this._userStatus ??= UserStatusCapabilities_UserStatusBuilder(); - set userStatus(covariant UserStatusCapabilities_UserStatusBuilder? userStatus) => _$this._userStatus = userStatus; + MapBuilder? _references; + MapBuilder get references => _$this._references ??= MapBuilder(); + set references(covariant MapBuilder? references) => _$this._references = references; - UserStatusCapabilitiesBuilder(); + ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder(); - UserStatusCapabilitiesBuilder get _$this { + ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _userStatus = $v.userStatus.toBuilder(); + _references = $v.references.toBuilder(); _$v = null; } return this; } @override - void replace(covariant UserStatusCapabilities other) { + void replace(covariant ReferenceApiExtractResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusCapabilities; + _$v = other as _$ReferenceApiExtractResponseApplicationJson_Ocs_Data; } @override - void update(void Function(UserStatusCapabilitiesBuilder)? updates) { + void update(void Function(ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusCapabilities build() => _build(); + ReferenceApiExtractResponseApplicationJson_Ocs_Data build() => _build(); - _$UserStatusCapabilities _build() { - _$UserStatusCapabilities _$result; + _$ReferenceApiExtractResponseApplicationJson_Ocs_Data _build() { + _$ReferenceApiExtractResponseApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$UserStatusCapabilities._(userStatus: userStatus.build()); + _$result = _$v ?? _$ReferenceApiExtractResponseApplicationJson_Ocs_Data._(references: references.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'userStatus'; - userStatus.build(); + _$failedField = 'references'; + references.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusCapabilities', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'ReferenceApiExtractResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -21681,565 +24717,385 @@ class UserStatusCapabilitiesBuilder } } -abstract mixin class WeatherStatusCapabilities_WeatherStatusInterfaceBuilder { - void replace(WeatherStatusCapabilities_WeatherStatusInterface other); - void update(void Function(WeatherStatusCapabilities_WeatherStatusInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class ReferenceApiExtractResponseApplicationJson_OcsInterfaceBuilder { + void replace(ReferenceApiExtractResponseApplicationJson_OcsInterface other); + void update(void Function(ReferenceApiExtractResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder get data; + set data(ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder? data); } -class _$WeatherStatusCapabilities_WeatherStatus extends WeatherStatusCapabilities_WeatherStatus { +class _$ReferenceApiExtractResponseApplicationJson_Ocs extends ReferenceApiExtractResponseApplicationJson_Ocs { @override - final bool enabled; + final OCSMeta meta; + @override + final ReferenceApiExtractResponseApplicationJson_Ocs_Data data; - factory _$WeatherStatusCapabilities_WeatherStatus( - [void Function(WeatherStatusCapabilities_WeatherStatusBuilder)? updates]) => - (WeatherStatusCapabilities_WeatherStatusBuilder()..update(updates))._build(); + factory _$ReferenceApiExtractResponseApplicationJson_Ocs( + [void Function(ReferenceApiExtractResponseApplicationJson_OcsBuilder)? updates]) => + (ReferenceApiExtractResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$WeatherStatusCapabilities_WeatherStatus._({required this.enabled}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'WeatherStatusCapabilities_WeatherStatus', 'enabled'); + _$ReferenceApiExtractResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ReferenceApiExtractResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ReferenceApiExtractResponseApplicationJson_Ocs', 'data'); } @override - WeatherStatusCapabilities_WeatherStatus rebuild( - void Function(WeatherStatusCapabilities_WeatherStatusBuilder) updates) => + ReferenceApiExtractResponseApplicationJson_Ocs rebuild( + void Function(ReferenceApiExtractResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - WeatherStatusCapabilities_WeatherStatusBuilder toBuilder() => - WeatherStatusCapabilities_WeatherStatusBuilder()..replace(this); + ReferenceApiExtractResponseApplicationJson_OcsBuilder toBuilder() => + ReferenceApiExtractResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is WeatherStatusCapabilities_WeatherStatus && enabled == other.enabled; + return other is ReferenceApiExtractResponseApplicationJson_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'WeatherStatusCapabilities_WeatherStatus')..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'ReferenceApiExtractResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class WeatherStatusCapabilities_WeatherStatusBuilder +class ReferenceApiExtractResponseApplicationJson_OcsBuilder implements - Builder, - WeatherStatusCapabilities_WeatherStatusInterfaceBuilder { - _$WeatherStatusCapabilities_WeatherStatus? _$v; + Builder, + ReferenceApiExtractResponseApplicationJson_OcsInterfaceBuilder { + _$ReferenceApiExtractResponseApplicationJson_Ocs? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - WeatherStatusCapabilities_WeatherStatusBuilder(); + ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder? _data; + ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - WeatherStatusCapabilities_WeatherStatusBuilder get _$this { + ReferenceApiExtractResponseApplicationJson_OcsBuilder(); + + ReferenceApiExtractResponseApplicationJson_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(covariant WeatherStatusCapabilities_WeatherStatus other) { + void replace(covariant ReferenceApiExtractResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$WeatherStatusCapabilities_WeatherStatus; + _$v = other as _$ReferenceApiExtractResponseApplicationJson_Ocs; } @override - void update(void Function(WeatherStatusCapabilities_WeatherStatusBuilder)? updates) { + void update(void Function(ReferenceApiExtractResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - WeatherStatusCapabilities_WeatherStatus build() => _build(); + ReferenceApiExtractResponseApplicationJson_Ocs build() => _build(); - _$WeatherStatusCapabilities_WeatherStatus _build() { - final _$result = _$v ?? - _$WeatherStatusCapabilities_WeatherStatus._( - enabled: - BuiltValueNullFieldError.checkNotNull(enabled, r'WeatherStatusCapabilities_WeatherStatus', 'enabled')); + _$ReferenceApiExtractResponseApplicationJson_Ocs _build() { + _$ReferenceApiExtractResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$ReferenceApiExtractResponseApplicationJson_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'ReferenceApiExtractResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class WeatherStatusCapabilitiesInterfaceBuilder { - void replace(WeatherStatusCapabilitiesInterface other); - void update(void Function(WeatherStatusCapabilitiesInterfaceBuilder) updates); - WeatherStatusCapabilities_WeatherStatusBuilder get weatherStatus; - set weatherStatus(WeatherStatusCapabilities_WeatherStatusBuilder? weatherStatus); +abstract mixin class ReferenceApiExtractResponseApplicationJsonInterfaceBuilder { + void replace(ReferenceApiExtractResponseApplicationJsonInterface other); + void update(void Function(ReferenceApiExtractResponseApplicationJsonInterfaceBuilder) updates); + ReferenceApiExtractResponseApplicationJson_OcsBuilder get ocs; + set ocs(ReferenceApiExtractResponseApplicationJson_OcsBuilder? ocs); } -class _$WeatherStatusCapabilities extends WeatherStatusCapabilities { +class _$ReferenceApiExtractResponseApplicationJson extends ReferenceApiExtractResponseApplicationJson { @override - final WeatherStatusCapabilities_WeatherStatus weatherStatus; + final ReferenceApiExtractResponseApplicationJson_Ocs ocs; - factory _$WeatherStatusCapabilities([void Function(WeatherStatusCapabilitiesBuilder)? updates]) => - (WeatherStatusCapabilitiesBuilder()..update(updates))._build(); + factory _$ReferenceApiExtractResponseApplicationJson( + [void Function(ReferenceApiExtractResponseApplicationJsonBuilder)? updates]) => + (ReferenceApiExtractResponseApplicationJsonBuilder()..update(updates))._build(); - _$WeatherStatusCapabilities._({required this.weatherStatus}) : super._() { - BuiltValueNullFieldError.checkNotNull(weatherStatus, r'WeatherStatusCapabilities', 'weatherStatus'); + _$ReferenceApiExtractResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ReferenceApiExtractResponseApplicationJson', 'ocs'); } @override - WeatherStatusCapabilities rebuild(void Function(WeatherStatusCapabilitiesBuilder) updates) => + ReferenceApiExtractResponseApplicationJson rebuild( + void Function(ReferenceApiExtractResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - WeatherStatusCapabilitiesBuilder toBuilder() => WeatherStatusCapabilitiesBuilder()..replace(this); + ReferenceApiExtractResponseApplicationJsonBuilder toBuilder() => + ReferenceApiExtractResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is WeatherStatusCapabilities && weatherStatus == other.weatherStatus; + return other is ReferenceApiExtractResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, weatherStatus.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'WeatherStatusCapabilities')..add('weatherStatus', weatherStatus)).toString(); + return (newBuiltValueToStringHelper(r'ReferenceApiExtractResponseApplicationJson')..add('ocs', ocs)).toString(); } } -class WeatherStatusCapabilitiesBuilder +class ReferenceApiExtractResponseApplicationJsonBuilder implements - Builder, - WeatherStatusCapabilitiesInterfaceBuilder { - _$WeatherStatusCapabilities? _$v; + Builder, + ReferenceApiExtractResponseApplicationJsonInterfaceBuilder { + _$ReferenceApiExtractResponseApplicationJson? _$v; - WeatherStatusCapabilities_WeatherStatusBuilder? _weatherStatus; - WeatherStatusCapabilities_WeatherStatusBuilder get weatherStatus => - _$this._weatherStatus ??= WeatherStatusCapabilities_WeatherStatusBuilder(); - set weatherStatus(covariant WeatherStatusCapabilities_WeatherStatusBuilder? weatherStatus) => - _$this._weatherStatus = weatherStatus; + ReferenceApiExtractResponseApplicationJson_OcsBuilder? _ocs; + ReferenceApiExtractResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ReferenceApiExtractResponseApplicationJson_OcsBuilder(); + set ocs(covariant ReferenceApiExtractResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - WeatherStatusCapabilitiesBuilder(); + ReferenceApiExtractResponseApplicationJsonBuilder(); - WeatherStatusCapabilitiesBuilder get _$this { + ReferenceApiExtractResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _weatherStatus = $v.weatherStatus.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant WeatherStatusCapabilities other) { + void replace(covariant ReferenceApiExtractResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$WeatherStatusCapabilities; + _$v = other as _$ReferenceApiExtractResponseApplicationJson; } @override - void update(void Function(WeatherStatusCapabilitiesBuilder)? updates) { + void update(void Function(ReferenceApiExtractResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - WeatherStatusCapabilities build() => _build(); + ReferenceApiExtractResponseApplicationJson build() => _build(); - _$WeatherStatusCapabilities _build() { - _$WeatherStatusCapabilities _$result; + _$ReferenceApiExtractResponseApplicationJson _build() { + _$ReferenceApiExtractResponseApplicationJson _$result; try { - _$result = _$v ?? _$WeatherStatusCapabilities._(weatherStatus: weatherStatus.build()); + _$result = _$v ?? _$ReferenceApiExtractResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'weatherStatus'; - weatherStatus.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'WeatherStatusCapabilities', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'ReferenceApiExtractResponseApplicationJson', _$failedField, e.toString()); } rethrow; } replace(_$result); return _$result; } -} - -abstract mixin class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterfaceBuilder { - void replace(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterface other); - void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterfaceBuilder) updates); - CommentsCapabilitiesBuilder get commentsCapabilities; - set commentsCapabilities(CommentsCapabilitiesBuilder? commentsCapabilities); - - DavCapabilitiesBuilder get davCapabilities; - set davCapabilities(DavCapabilitiesBuilder? davCapabilities); - - FilesCapabilitiesBuilder get filesCapabilities; - set filesCapabilities(FilesCapabilitiesBuilder? filesCapabilities); - - FilesSharingCapabilitiesBuilder get filesSharingCapabilities; - set filesSharingCapabilities(FilesSharingCapabilitiesBuilder? filesSharingCapabilities); - - FilesTrashbinCapabilitiesBuilder get filesTrashbinCapabilities; - set filesTrashbinCapabilities(FilesTrashbinCapabilitiesBuilder? filesTrashbinCapabilities); - - FilesVersionsCapabilitiesBuilder get filesVersionsCapabilities; - set filesVersionsCapabilities(FilesVersionsCapabilitiesBuilder? filesVersionsCapabilities); - - NotesCapabilitiesBuilder get notesCapabilities; - set notesCapabilities(NotesCapabilitiesBuilder? notesCapabilities); - - NotificationsCapabilitiesBuilder get notificationsCapabilities; - set notificationsCapabilities(NotificationsCapabilitiesBuilder? notificationsCapabilities); - - ProvisioningApiCapabilitiesBuilder get provisioningApiCapabilities; - set provisioningApiCapabilities(ProvisioningApiCapabilitiesBuilder? provisioningApiCapabilities); - - SharebymailCapabilitiesBuilder get sharebymailCapabilities; - set sharebymailCapabilities(SharebymailCapabilitiesBuilder? sharebymailCapabilities); - - SpreedPublicCapabilitiesBuilder get spreedPublicCapabilities; - set spreedPublicCapabilities(SpreedPublicCapabilitiesBuilder? spreedPublicCapabilities); - - ThemingPublicCapabilitiesBuilder get themingPublicCapabilities; - set themingPublicCapabilities(ThemingPublicCapabilitiesBuilder? themingPublicCapabilities); - - UserStatusCapabilitiesBuilder get userStatusCapabilities; - set userStatusCapabilities(UserStatusCapabilitiesBuilder? userStatusCapabilities); - - WeatherStatusCapabilitiesBuilder get weatherStatusCapabilities; - set weatherStatusCapabilities(WeatherStatusCapabilitiesBuilder? weatherStatusCapabilities); -} - -class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities - extends OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities { - @override - final JsonObject data; - @override - final CommentsCapabilities? commentsCapabilities; - @override - final DavCapabilities? davCapabilities; - @override - final FilesCapabilities? filesCapabilities; - @override - final FilesSharingCapabilities? filesSharingCapabilities; - @override - final FilesTrashbinCapabilities? filesTrashbinCapabilities; - @override - final FilesVersionsCapabilities? filesVersionsCapabilities; - @override - final NotesCapabilities? notesCapabilities; - @override - final NotificationsCapabilities? notificationsCapabilities; - @override - final ProvisioningApiCapabilities? provisioningApiCapabilities; +} + +abstract mixin class ReferenceProviderInterfaceBuilder { + void replace(ReferenceProviderInterface other); + void update(void Function(ReferenceProviderInterfaceBuilder) updates); + String? get id; + set id(String? id); + + String? get title; + set title(String? title); + + String? get iconUrl; + set iconUrl(String? iconUrl); + + int? get order; + set order(int? order); + + ListBuilder get searchProvidersIds; + set searchProvidersIds(ListBuilder? searchProvidersIds); +} + +class _$ReferenceProvider extends ReferenceProvider { @override - final SharebymailCapabilities? sharebymailCapabilities; + final String id; @override - final SpreedPublicCapabilities? spreedPublicCapabilities; + final String title; @override - final ThemingPublicCapabilities? themingPublicCapabilities; + final String iconUrl; @override - final UserStatusCapabilities? userStatusCapabilities; + final int order; @override - final WeatherStatusCapabilities? weatherStatusCapabilities; + final BuiltList? searchProvidersIds; - factory _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities( - [void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder)? updates]) => - (OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder()..update(updates))._build(); + factory _$ReferenceProvider([void Function(ReferenceProviderBuilder)? updates]) => + (ReferenceProviderBuilder()..update(updates))._build(); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities._( - {required this.data, - this.commentsCapabilities, - this.davCapabilities, - this.filesCapabilities, - this.filesSharingCapabilities, - this.filesTrashbinCapabilities, - this.filesVersionsCapabilities, - this.notesCapabilities, - this.notificationsCapabilities, - this.provisioningApiCapabilities, - this.sharebymailCapabilities, - this.spreedPublicCapabilities, - this.themingPublicCapabilities, - this.userStatusCapabilities, - this.weatherStatusCapabilities}) + _$ReferenceProvider._( + {required this.id, required this.title, required this.iconUrl, required this.order, this.searchProvidersIds}) : super._() { - BuiltValueNullFieldError.checkNotNull( - data, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities', 'data'); + BuiltValueNullFieldError.checkNotNull(id, r'ReferenceProvider', 'id'); + BuiltValueNullFieldError.checkNotNull(title, r'ReferenceProvider', 'title'); + BuiltValueNullFieldError.checkNotNull(iconUrl, r'ReferenceProvider', 'iconUrl'); + BuiltValueNullFieldError.checkNotNull(order, r'ReferenceProvider', 'order'); } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities rebuild( - void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder) updates) => - (toBuilder()..update(updates)).build(); + ReferenceProvider rebuild(void Function(ReferenceProviderBuilder) updates) => (toBuilder()..update(updates)).build(); @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder toBuilder() => - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder()..replace(this); + ReferenceProviderBuilder toBuilder() => ReferenceProviderBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities && - data == other.data && - commentsCapabilities == other.commentsCapabilities && - davCapabilities == other.davCapabilities && - filesCapabilities == other.filesCapabilities && - filesSharingCapabilities == other.filesSharingCapabilities && - filesTrashbinCapabilities == other.filesTrashbinCapabilities && - filesVersionsCapabilities == other.filesVersionsCapabilities && - notesCapabilities == other.notesCapabilities && - notificationsCapabilities == other.notificationsCapabilities && - provisioningApiCapabilities == other.provisioningApiCapabilities && - sharebymailCapabilities == other.sharebymailCapabilities && - spreedPublicCapabilities == other.spreedPublicCapabilities && - themingPublicCapabilities == other.themingPublicCapabilities && - userStatusCapabilities == other.userStatusCapabilities && - weatherStatusCapabilities == other.weatherStatusCapabilities; + return other is ReferenceProvider && + 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, data.hashCode); - _$hash = $jc(_$hash, commentsCapabilities.hashCode); - _$hash = $jc(_$hash, davCapabilities.hashCode); - _$hash = $jc(_$hash, filesCapabilities.hashCode); - _$hash = $jc(_$hash, filesSharingCapabilities.hashCode); - _$hash = $jc(_$hash, filesTrashbinCapabilities.hashCode); - _$hash = $jc(_$hash, filesVersionsCapabilities.hashCode); - _$hash = $jc(_$hash, notesCapabilities.hashCode); - _$hash = $jc(_$hash, notificationsCapabilities.hashCode); - _$hash = $jc(_$hash, provisioningApiCapabilities.hashCode); - _$hash = $jc(_$hash, sharebymailCapabilities.hashCode); - _$hash = $jc(_$hash, spreedPublicCapabilities.hashCode); - _$hash = $jc(_$hash, themingPublicCapabilities.hashCode); - _$hash = $jc(_$hash, userStatusCapabilities.hashCode); - _$hash = $jc(_$hash, weatherStatusCapabilities.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'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities') - ..add('data', data) - ..add('commentsCapabilities', commentsCapabilities) - ..add('davCapabilities', davCapabilities) - ..add('filesCapabilities', filesCapabilities) - ..add('filesSharingCapabilities', filesSharingCapabilities) - ..add('filesTrashbinCapabilities', filesTrashbinCapabilities) - ..add('filesVersionsCapabilities', filesVersionsCapabilities) - ..add('notesCapabilities', notesCapabilities) - ..add('notificationsCapabilities', notificationsCapabilities) - ..add('provisioningApiCapabilities', provisioningApiCapabilities) - ..add('sharebymailCapabilities', sharebymailCapabilities) - ..add('spreedPublicCapabilities', spreedPublicCapabilities) - ..add('themingPublicCapabilities', themingPublicCapabilities) - ..add('userStatusCapabilities', userStatusCapabilities) - ..add('weatherStatusCapabilities', weatherStatusCapabilities)) + return (newBuiltValueToStringHelper(r'ReferenceProvider') + ..add('id', id) + ..add('title', title) + ..add('iconUrl', iconUrl) + ..add('order', order) + ..add('searchProvidersIds', searchProvidersIds)) .toString(); } } -class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder - implements - Builder, - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterfaceBuilder { - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities? _$v; - - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(covariant JsonObject? data) => _$this._data = data; - - CommentsCapabilitiesBuilder? _commentsCapabilities; - CommentsCapabilitiesBuilder get commentsCapabilities => - _$this._commentsCapabilities ??= CommentsCapabilitiesBuilder(); - set commentsCapabilities(covariant CommentsCapabilitiesBuilder? commentsCapabilities) => - _$this._commentsCapabilities = commentsCapabilities; - - DavCapabilitiesBuilder? _davCapabilities; - DavCapabilitiesBuilder get davCapabilities => _$this._davCapabilities ??= DavCapabilitiesBuilder(); - set davCapabilities(covariant DavCapabilitiesBuilder? davCapabilities) => _$this._davCapabilities = davCapabilities; - - FilesCapabilitiesBuilder? _filesCapabilities; - FilesCapabilitiesBuilder get filesCapabilities => _$this._filesCapabilities ??= FilesCapabilitiesBuilder(); - set filesCapabilities(covariant FilesCapabilitiesBuilder? filesCapabilities) => - _$this._filesCapabilities = filesCapabilities; - - FilesSharingCapabilitiesBuilder? _filesSharingCapabilities; - FilesSharingCapabilitiesBuilder get filesSharingCapabilities => - _$this._filesSharingCapabilities ??= FilesSharingCapabilitiesBuilder(); - set filesSharingCapabilities(covariant FilesSharingCapabilitiesBuilder? filesSharingCapabilities) => - _$this._filesSharingCapabilities = filesSharingCapabilities; - - FilesTrashbinCapabilitiesBuilder? _filesTrashbinCapabilities; - FilesTrashbinCapabilitiesBuilder get filesTrashbinCapabilities => - _$this._filesTrashbinCapabilities ??= FilesTrashbinCapabilitiesBuilder(); - set filesTrashbinCapabilities(covariant FilesTrashbinCapabilitiesBuilder? filesTrashbinCapabilities) => - _$this._filesTrashbinCapabilities = filesTrashbinCapabilities; - - FilesVersionsCapabilitiesBuilder? _filesVersionsCapabilities; - FilesVersionsCapabilitiesBuilder get filesVersionsCapabilities => - _$this._filesVersionsCapabilities ??= FilesVersionsCapabilitiesBuilder(); - set filesVersionsCapabilities(covariant FilesVersionsCapabilitiesBuilder? filesVersionsCapabilities) => - _$this._filesVersionsCapabilities = filesVersionsCapabilities; - - NotesCapabilitiesBuilder? _notesCapabilities; - NotesCapabilitiesBuilder get notesCapabilities => _$this._notesCapabilities ??= NotesCapabilitiesBuilder(); - set notesCapabilities(covariant NotesCapabilitiesBuilder? notesCapabilities) => - _$this._notesCapabilities = notesCapabilities; - - NotificationsCapabilitiesBuilder? _notificationsCapabilities; - NotificationsCapabilitiesBuilder get notificationsCapabilities => - _$this._notificationsCapabilities ??= NotificationsCapabilitiesBuilder(); - set notificationsCapabilities(covariant NotificationsCapabilitiesBuilder? notificationsCapabilities) => - _$this._notificationsCapabilities = notificationsCapabilities; - - ProvisioningApiCapabilitiesBuilder? _provisioningApiCapabilities; - ProvisioningApiCapabilitiesBuilder get provisioningApiCapabilities => - _$this._provisioningApiCapabilities ??= ProvisioningApiCapabilitiesBuilder(); - set provisioningApiCapabilities(covariant ProvisioningApiCapabilitiesBuilder? provisioningApiCapabilities) => - _$this._provisioningApiCapabilities = provisioningApiCapabilities; +class ReferenceProviderBuilder + implements Builder, ReferenceProviderInterfaceBuilder { + _$ReferenceProvider? _$v; - SharebymailCapabilitiesBuilder? _sharebymailCapabilities; - SharebymailCapabilitiesBuilder get sharebymailCapabilities => - _$this._sharebymailCapabilities ??= SharebymailCapabilitiesBuilder(); - set sharebymailCapabilities(covariant SharebymailCapabilitiesBuilder? sharebymailCapabilities) => - _$this._sharebymailCapabilities = sharebymailCapabilities; + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; - SpreedPublicCapabilitiesBuilder? _spreedPublicCapabilities; - SpreedPublicCapabilitiesBuilder get spreedPublicCapabilities => - _$this._spreedPublicCapabilities ??= SpreedPublicCapabilitiesBuilder(); - set spreedPublicCapabilities(covariant SpreedPublicCapabilitiesBuilder? spreedPublicCapabilities) => - _$this._spreedPublicCapabilities = spreedPublicCapabilities; + String? _title; + String? get title => _$this._title; + set title(covariant String? title) => _$this._title = title; - ThemingPublicCapabilitiesBuilder? _themingPublicCapabilities; - ThemingPublicCapabilitiesBuilder get themingPublicCapabilities => - _$this._themingPublicCapabilities ??= ThemingPublicCapabilitiesBuilder(); - set themingPublicCapabilities(covariant ThemingPublicCapabilitiesBuilder? themingPublicCapabilities) => - _$this._themingPublicCapabilities = themingPublicCapabilities; + String? _iconUrl; + String? get iconUrl => _$this._iconUrl; + set iconUrl(covariant String? iconUrl) => _$this._iconUrl = iconUrl; - UserStatusCapabilitiesBuilder? _userStatusCapabilities; - UserStatusCapabilitiesBuilder get userStatusCapabilities => - _$this._userStatusCapabilities ??= UserStatusCapabilitiesBuilder(); - set userStatusCapabilities(covariant UserStatusCapabilitiesBuilder? userStatusCapabilities) => - _$this._userStatusCapabilities = userStatusCapabilities; + int? _order; + int? get order => _$this._order; + set order(covariant int? order) => _$this._order = order; - WeatherStatusCapabilitiesBuilder? _weatherStatusCapabilities; - WeatherStatusCapabilitiesBuilder get weatherStatusCapabilities => - _$this._weatherStatusCapabilities ??= WeatherStatusCapabilitiesBuilder(); - set weatherStatusCapabilities(covariant WeatherStatusCapabilitiesBuilder? weatherStatusCapabilities) => - _$this._weatherStatusCapabilities = weatherStatusCapabilities; + ListBuilder? _searchProvidersIds; + ListBuilder get searchProvidersIds => _$this._searchProvidersIds ??= ListBuilder(); + set searchProvidersIds(covariant ListBuilder? searchProvidersIds) => + _$this._searchProvidersIds = searchProvidersIds; - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder(); + ReferenceProviderBuilder(); - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder get _$this { + ReferenceProviderBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _commentsCapabilities = $v.commentsCapabilities?.toBuilder(); - _davCapabilities = $v.davCapabilities?.toBuilder(); - _filesCapabilities = $v.filesCapabilities?.toBuilder(); - _filesSharingCapabilities = $v.filesSharingCapabilities?.toBuilder(); - _filesTrashbinCapabilities = $v.filesTrashbinCapabilities?.toBuilder(); - _filesVersionsCapabilities = $v.filesVersionsCapabilities?.toBuilder(); - _notesCapabilities = $v.notesCapabilities?.toBuilder(); - _notificationsCapabilities = $v.notificationsCapabilities?.toBuilder(); - _provisioningApiCapabilities = $v.provisioningApiCapabilities?.toBuilder(); - _sharebymailCapabilities = $v.sharebymailCapabilities?.toBuilder(); - _spreedPublicCapabilities = $v.spreedPublicCapabilities?.toBuilder(); - _themingPublicCapabilities = $v.themingPublicCapabilities?.toBuilder(); - _userStatusCapabilities = $v.userStatusCapabilities?.toBuilder(); - _weatherStatusCapabilities = $v.weatherStatusCapabilities?.toBuilder(); + _id = $v.id; + _title = $v.title; + _iconUrl = $v.iconUrl; + _order = $v.order; + _searchProvidersIds = $v.searchProvidersIds?.toBuilder(); _$v = null; } return this; } @override - void replace(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities other) { + void replace(covariant ReferenceProvider other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities; + _$v = other as _$ReferenceProvider; } @override - void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder)? updates) { + void update(void Function(ReferenceProviderBuilder)? updates) { if (updates != null) updates(this); } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities build() => _build(); + ReferenceProvider build() => _build(); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities _build() { - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities._validate(this); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities _$result; + _$ReferenceProvider _build() { + _$ReferenceProvider _$result; try { _$result = _$v ?? - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities._( - data: BuiltValueNullFieldError.checkNotNull( - data, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities', 'data'), - commentsCapabilities: _commentsCapabilities?.build(), - davCapabilities: _davCapabilities?.build(), - filesCapabilities: _filesCapabilities?.build(), - filesSharingCapabilities: _filesSharingCapabilities?.build(), - filesTrashbinCapabilities: _filesTrashbinCapabilities?.build(), - filesVersionsCapabilities: _filesVersionsCapabilities?.build(), - notesCapabilities: _notesCapabilities?.build(), - notificationsCapabilities: _notificationsCapabilities?.build(), - provisioningApiCapabilities: _provisioningApiCapabilities?.build(), - sharebymailCapabilities: _sharebymailCapabilities?.build(), - spreedPublicCapabilities: _spreedPublicCapabilities?.build(), - themingPublicCapabilities: _themingPublicCapabilities?.build(), - userStatusCapabilities: _userStatusCapabilities?.build(), - weatherStatusCapabilities: _weatherStatusCapabilities?.build()); + _$ReferenceProvider._( + id: BuiltValueNullFieldError.checkNotNull(id, r'ReferenceProvider', 'id'), + title: BuiltValueNullFieldError.checkNotNull(title, r'ReferenceProvider', 'title'), + iconUrl: BuiltValueNullFieldError.checkNotNull(iconUrl, r'ReferenceProvider', 'iconUrl'), + order: BuiltValueNullFieldError.checkNotNull(order, r'ReferenceProvider', 'order'), + searchProvidersIds: _searchProvidersIds?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'commentsCapabilities'; - _commentsCapabilities?.build(); - _$failedField = 'davCapabilities'; - _davCapabilities?.build(); - _$failedField = 'filesCapabilities'; - _filesCapabilities?.build(); - _$failedField = 'filesSharingCapabilities'; - _filesSharingCapabilities?.build(); - _$failedField = 'filesTrashbinCapabilities'; - _filesTrashbinCapabilities?.build(); - _$failedField = 'filesVersionsCapabilities'; - _filesVersionsCapabilities?.build(); - _$failedField = 'notesCapabilities'; - _notesCapabilities?.build(); - _$failedField = 'notificationsCapabilities'; - _notificationsCapabilities?.build(); - _$failedField = 'provisioningApiCapabilities'; - _provisioningApiCapabilities?.build(); - _$failedField = 'sharebymailCapabilities'; - _sharebymailCapabilities?.build(); - _$failedField = 'spreedPublicCapabilities'; - _spreedPublicCapabilities?.build(); - _$failedField = 'themingPublicCapabilities'; - _themingPublicCapabilities?.build(); - _$failedField = 'userStatusCapabilities'; - _userStatusCapabilities?.build(); - _$failedField = 'weatherStatusCapabilities'; - _weatherStatusCapabilities?.build(); + _$failedField = 'searchProvidersIds'; + _searchProvidersIds?.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'ReferenceProvider', _$failedField, e.toString()); } rethrow; } @@ -22248,129 +25104,121 @@ class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder } } -abstract mixin class OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder get version; - set version(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder? version); +abstract mixin class ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterfaceBuilder { + void replace(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterface other); + void update(void Function(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder get capabilities; - set capabilities(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder? capabilities); + ListBuilder get data; + set data(ListBuilder? data); } -class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data extends OcsGetCapabilitiesResponseApplicationJson_Ocs_Data { +class _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs + extends ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs { @override - final OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version version; + final OCSMeta meta; @override - final OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities capabilities; + final BuiltList data; - factory _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data( - [void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs( + [void Function(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder)? updates]) => + (ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data._({required this.version, required this.capabilities}) - : super._() { - BuiltValueNullFieldError.checkNotNull(version, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data', 'version'); - BuiltValueNullFieldError.checkNotNull( - capabilities, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data', 'capabilities'); + _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs', 'data'); } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data rebuild( - void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder) updates) => + ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs rebuild( + void Function(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder toBuilder() => - OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder()..replace(this); + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder toBuilder() => + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcsGetCapabilitiesResponseApplicationJson_Ocs_Data && - version == other.version && - capabilities == other.capabilities; + return other is ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, version.hashCode); - _$hash = $jc(_$hash, capabilities.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data') - ..add('version', version) - ..add('capabilities', capabilities)) + return (newBuiltValueToStringHelper(r'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder +class ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder implements - Builder, - OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data? _$v; + Builder, + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterfaceBuilder { + _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs? _$v; - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder? _version; - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder get version => - _$this._version ??= OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder(); - set version(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder? version) => - _$this._version = version; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder? _capabilities; - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder get capabilities => - _$this._capabilities ??= OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder(); - set capabilities(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder? capabilities) => - _$this._capabilities = capabilities; + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; - OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder(); + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder(); - OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder get _$this { + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _version = $v.version.toBuilder(); - _capabilities = $v.capabilities.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data other) { + void replace(covariant ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data; + _$v = other as _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs; } @override - void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data build() => _build(); + ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs build() => _build(); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data _build() { - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data _$result; + _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs _build() { + _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data._( - version: version.build(), capabilities: capabilities.build()); + _$result = + _$v ?? _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'version'; - version.build(); - _$failedField = 'capabilities'; - capabilities.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + r'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -22379,118 +25227,105 @@ class OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder } } -abstract mixin class OcsGetCapabilitiesResponseApplicationJson_OcsInterfaceBuilder { - void replace(OcsGetCapabilitiesResponseApplicationJson_OcsInterface other); - void update(void Function(OcsGetCapabilitiesResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder get data; - set data(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder? data); +abstract mixin class ReferenceApiGetProvidersInfoResponseApplicationJsonInterfaceBuilder { + void replace(ReferenceApiGetProvidersInfoResponseApplicationJsonInterface other); + void update(void Function(ReferenceApiGetProvidersInfoResponseApplicationJsonInterfaceBuilder) updates); + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder get ocs; + set ocs(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder? ocs); } -class _$OcsGetCapabilitiesResponseApplicationJson_Ocs extends OcsGetCapabilitiesResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$ReferenceApiGetProvidersInfoResponseApplicationJson + extends ReferenceApiGetProvidersInfoResponseApplicationJson { @override - final OcsGetCapabilitiesResponseApplicationJson_Ocs_Data data; + final ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs ocs; - factory _$OcsGetCapabilitiesResponseApplicationJson_Ocs( - [void Function(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder)? updates]) => - (OcsGetCapabilitiesResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$ReferenceApiGetProvidersInfoResponseApplicationJson( + [void Function(ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder)? updates]) => + (ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder()..update(updates))._build(); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'OcsGetCapabilitiesResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'OcsGetCapabilitiesResponseApplicationJson_Ocs', 'data'); + _$ReferenceApiGetProvidersInfoResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ReferenceApiGetProvidersInfoResponseApplicationJson', 'ocs'); } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs rebuild( - void Function(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder) updates) => + ReferenceApiGetProvidersInfoResponseApplicationJson rebuild( + void Function(ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - OcsGetCapabilitiesResponseApplicationJson_OcsBuilder toBuilder() => - OcsGetCapabilitiesResponseApplicationJson_OcsBuilder()..replace(this); + ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder toBuilder() => + ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcsGetCapabilitiesResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is ReferenceApiGetProvidersInfoResponseApplicationJson && 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'OcsGetCapabilitiesResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'ReferenceApiGetProvidersInfoResponseApplicationJson')..add('ocs', ocs)) .toString(); } } -class OcsGetCapabilitiesResponseApplicationJson_OcsBuilder +class ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder implements - Builder, - OcsGetCapabilitiesResponseApplicationJson_OcsInterfaceBuilder { - _$OcsGetCapabilitiesResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - - OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder? _data; - OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + Builder, + ReferenceApiGetProvidersInfoResponseApplicationJsonInterfaceBuilder { + _$ReferenceApiGetProvidersInfoResponseApplicationJson? _$v; - OcsGetCapabilitiesResponseApplicationJson_OcsBuilder(); + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder? _ocs; + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder(); + set ocs(covariant ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - OcsGetCapabilitiesResponseApplicationJson_OcsBuilder get _$this { + ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder(); + + ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder 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(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs other) { + void replace(covariant ReferenceApiGetProvidersInfoResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcsGetCapabilitiesResponseApplicationJson_Ocs; + _$v = other as _$ReferenceApiGetProvidersInfoResponseApplicationJson; } @override - void update(void Function(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs build() => _build(); + ReferenceApiGetProvidersInfoResponseApplicationJson build() => _build(); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs _build() { - _$OcsGetCapabilitiesResponseApplicationJson_Ocs _$result; + _$ReferenceApiGetProvidersInfoResponseApplicationJson _build() { + _$ReferenceApiGetProvidersInfoResponseApplicationJson _$result; try { - _$result = _$v ?? _$OcsGetCapabilitiesResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? _$ReferenceApiGetProvidersInfoResponseApplicationJson._(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'OcsGetCapabilitiesResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'ReferenceApiGetProvidersInfoResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -22499,147 +25334,143 @@ class OcsGetCapabilitiesResponseApplicationJson_OcsBuilder } } -abstract mixin class OcsGetCapabilitiesResponseApplicationJsonInterfaceBuilder { - void replace(OcsGetCapabilitiesResponseApplicationJsonInterface other); - void update(void Function(OcsGetCapabilitiesResponseApplicationJsonInterfaceBuilder) updates); - OcsGetCapabilitiesResponseApplicationJson_OcsBuilder get ocs; - set ocs(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + bool? get success; + set success(bool? success); } -class _$OcsGetCapabilitiesResponseApplicationJson extends OcsGetCapabilitiesResponseApplicationJson { +class _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data + extends ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data { @override - final OcsGetCapabilitiesResponseApplicationJson_Ocs ocs; + final bool success; - factory _$OcsGetCapabilitiesResponseApplicationJson( - [void Function(OcsGetCapabilitiesResponseApplicationJsonBuilder)? updates]) => - (OcsGetCapabilitiesResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data( + [void Function(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$OcsGetCapabilitiesResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'OcsGetCapabilitiesResponseApplicationJson', 'ocs'); + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data._({required this.success}) : super._() { + BuiltValueNullFieldError.checkNotNull( + success, r'ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data', 'success'); } @override - OcsGetCapabilitiesResponseApplicationJson rebuild( - void Function(OcsGetCapabilitiesResponseApplicationJsonBuilder) updates) => + ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data rebuild( + void Function(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - OcsGetCapabilitiesResponseApplicationJsonBuilder toBuilder() => - OcsGetCapabilitiesResponseApplicationJsonBuilder()..replace(this); + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder toBuilder() => + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcsGetCapabilitiesResponseApplicationJson && ocs == other.ocs; + return other is ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data && success == other.success; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, success.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcsGetCapabilitiesResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data') + ..add('success', success)) + .toString(); } } -class OcsGetCapabilitiesResponseApplicationJsonBuilder +class ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder implements - Builder, - OcsGetCapabilitiesResponseApplicationJsonInterfaceBuilder { - _$OcsGetCapabilitiesResponseApplicationJson? _$v; + Builder, + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data? _$v; - OcsGetCapabilitiesResponseApplicationJson_OcsBuilder? _ocs; - OcsGetCapabilitiesResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= OcsGetCapabilitiesResponseApplicationJson_OcsBuilder(); - set ocs(covariant OcsGetCapabilitiesResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + bool? _success; + bool? get success => _$this._success; + set success(covariant bool? success) => _$this._success = success; - OcsGetCapabilitiesResponseApplicationJsonBuilder(); + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder(); - OcsGetCapabilitiesResponseApplicationJsonBuilder get _$this { + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _success = $v.success; _$v = null; } return this; } @override - void replace(covariant OcsGetCapabilitiesResponseApplicationJson other) { + void replace(covariant ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcsGetCapabilitiesResponseApplicationJson; + _$v = other as _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data; } @override - void update(void Function(OcsGetCapabilitiesResponseApplicationJsonBuilder)? updates) { + void update(void Function(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - OcsGetCapabilitiesResponseApplicationJson build() => _build(); + ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data build() => _build(); - _$OcsGetCapabilitiesResponseApplicationJson _build() { - _$OcsGetCapabilitiesResponseApplicationJson _$result; - try { - _$result = _$v ?? _$OcsGetCapabilitiesResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'OcsGetCapabilitiesResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data._( + success: BuiltValueNullFieldError.checkNotNull( + success, r'ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data', 'success')); replace(_$result); return _$result; } } -abstract mixin class ProfileApiSetVisibilityResponseApplicationJson_OcsInterfaceBuilder { - void replace(ProfileApiSetVisibilityResponseApplicationJson_OcsInterface other); - void update(void Function(ProfileApiSetVisibilityResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class ReferenceApiTouchProviderResponseApplicationJson_OcsInterfaceBuilder { + void replace(ReferenceApiTouchProviderResponseApplicationJson_OcsInterface other); + void update(void Function(ReferenceApiTouchProviderResponseApplicationJson_OcsInterfaceBuilder) updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - JsonObject? get data; - set data(JsonObject? data); + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder get data; + set data(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder? data); } -class _$ProfileApiSetVisibilityResponseApplicationJson_Ocs extends ProfileApiSetVisibilityResponseApplicationJson_Ocs { +class _$ReferenceApiTouchProviderResponseApplicationJson_Ocs + extends ReferenceApiTouchProviderResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final JsonObject data; + final ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data data; - factory _$ProfileApiSetVisibilityResponseApplicationJson_Ocs( - [void Function(ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder)? updates]) => - (ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$ReferenceApiTouchProviderResponseApplicationJson_Ocs( + [void Function(ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder)? updates]) => + (ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$ProfileApiSetVisibilityResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'ProfileApiSetVisibilityResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'ProfileApiSetVisibilityResponseApplicationJson_Ocs', 'data'); + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ReferenceApiTouchProviderResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ReferenceApiTouchProviderResponseApplicationJson_Ocs', 'data'); } @override - ProfileApiSetVisibilityResponseApplicationJson_Ocs rebuild( - void Function(ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder) updates) => + ReferenceApiTouchProviderResponseApplicationJson_Ocs rebuild( + void Function(ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder toBuilder() => - ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder()..replace(this); + ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder toBuilder() => + ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ProfileApiSetVisibilityResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is ReferenceApiTouchProviderResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @override @@ -22653,70 +25484,70 @@ class _$ProfileApiSetVisibilityResponseApplicationJson_Ocs extends ProfileApiSet @override String toString() { - return (newBuiltValueToStringHelper(r'ProfileApiSetVisibilityResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'ReferenceApiTouchProviderResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder +class ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder implements - Builder, - ProfileApiSetVisibilityResponseApplicationJson_OcsInterfaceBuilder { - _$ProfileApiSetVisibilityResponseApplicationJson_Ocs? _$v; + Builder, + ReferenceApiTouchProviderResponseApplicationJson_OcsInterfaceBuilder { + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(covariant JsonObject? data) => _$this._data = data; + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder? _data; + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder(); + ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder(); - ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder get _$this { + ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); - _data = $v.data; + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ProfileApiSetVisibilityResponseApplicationJson_Ocs other) { + void replace(covariant ReferenceApiTouchProviderResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ProfileApiSetVisibilityResponseApplicationJson_Ocs; + _$v = other as _$ReferenceApiTouchProviderResponseApplicationJson_Ocs; } @override - void update(void Function(ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - ProfileApiSetVisibilityResponseApplicationJson_Ocs build() => _build(); + ReferenceApiTouchProviderResponseApplicationJson_Ocs build() => _build(); - _$ProfileApiSetVisibilityResponseApplicationJson_Ocs _build() { - _$ProfileApiSetVisibilityResponseApplicationJson_Ocs _$result; + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs _build() { + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? - _$ProfileApiSetVisibilityResponseApplicationJson_Ocs._( - meta: meta.build(), - data: BuiltValueNullFieldError.checkNotNull( - data, r'ProfileApiSetVisibilityResponseApplicationJson_Ocs', 'data')); + _$result = + _$v ?? _$ReferenceApiTouchProviderResponseApplicationJson_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'ProfileApiSetVisibilityResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'ReferenceApiTouchProviderResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -22725,38 +25556,38 @@ class ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder } } -abstract mixin class ProfileApiSetVisibilityResponseApplicationJsonInterfaceBuilder { - void replace(ProfileApiSetVisibilityResponseApplicationJsonInterface other); - void update(void Function(ProfileApiSetVisibilityResponseApplicationJsonInterfaceBuilder) updates); - ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder get ocs; - set ocs(ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class ReferenceApiTouchProviderResponseApplicationJsonInterfaceBuilder { + void replace(ReferenceApiTouchProviderResponseApplicationJsonInterface other); + void update(void Function(ReferenceApiTouchProviderResponseApplicationJsonInterfaceBuilder) updates); + ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder get ocs; + set ocs(ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder? ocs); } -class _$ProfileApiSetVisibilityResponseApplicationJson extends ProfileApiSetVisibilityResponseApplicationJson { +class _$ReferenceApiTouchProviderResponseApplicationJson extends ReferenceApiTouchProviderResponseApplicationJson { @override - final ProfileApiSetVisibilityResponseApplicationJson_Ocs ocs; + final ReferenceApiTouchProviderResponseApplicationJson_Ocs ocs; - factory _$ProfileApiSetVisibilityResponseApplicationJson( - [void Function(ProfileApiSetVisibilityResponseApplicationJsonBuilder)? updates]) => - (ProfileApiSetVisibilityResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$ReferenceApiTouchProviderResponseApplicationJson( + [void Function(ReferenceApiTouchProviderResponseApplicationJsonBuilder)? updates]) => + (ReferenceApiTouchProviderResponseApplicationJsonBuilder()..update(updates))._build(); - _$ProfileApiSetVisibilityResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'ProfileApiSetVisibilityResponseApplicationJson', 'ocs'); + _$ReferenceApiTouchProviderResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ReferenceApiTouchProviderResponseApplicationJson', 'ocs'); } @override - ProfileApiSetVisibilityResponseApplicationJson rebuild( - void Function(ProfileApiSetVisibilityResponseApplicationJsonBuilder) updates) => + ReferenceApiTouchProviderResponseApplicationJson rebuild( + void Function(ReferenceApiTouchProviderResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ProfileApiSetVisibilityResponseApplicationJsonBuilder toBuilder() => - ProfileApiSetVisibilityResponseApplicationJsonBuilder()..replace(this); + ReferenceApiTouchProviderResponseApplicationJsonBuilder toBuilder() => + ReferenceApiTouchProviderResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ProfileApiSetVisibilityResponseApplicationJson && ocs == other.ocs; + return other is ReferenceApiTouchProviderResponseApplicationJson && ocs == other.ocs; } @override @@ -22769,24 +25600,26 @@ class _$ProfileApiSetVisibilityResponseApplicationJson extends ProfileApiSetVisi @override String toString() { - return (newBuiltValueToStringHelper(r'ProfileApiSetVisibilityResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'ReferenceApiTouchProviderResponseApplicationJson')..add('ocs', ocs)) + .toString(); } } -class ProfileApiSetVisibilityResponseApplicationJsonBuilder +class ReferenceApiTouchProviderResponseApplicationJsonBuilder implements - Builder, - ProfileApiSetVisibilityResponseApplicationJsonInterfaceBuilder { - _$ProfileApiSetVisibilityResponseApplicationJson? _$v; + Builder, + ReferenceApiTouchProviderResponseApplicationJsonInterfaceBuilder { + _$ReferenceApiTouchProviderResponseApplicationJson? _$v; - ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder? _ocs; - ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder(); - set ocs(covariant ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder? _ocs; + ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder(); + set ocs(covariant ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - ProfileApiSetVisibilityResponseApplicationJsonBuilder(); + ReferenceApiTouchProviderResponseApplicationJsonBuilder(); - ProfileApiSetVisibilityResponseApplicationJsonBuilder get _$this { + ReferenceApiTouchProviderResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -22796,23 +25629,23 @@ class ProfileApiSetVisibilityResponseApplicationJsonBuilder } @override - void replace(covariant ProfileApiSetVisibilityResponseApplicationJson other) { + void replace(covariant ReferenceApiTouchProviderResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ProfileApiSetVisibilityResponseApplicationJson; + _$v = other as _$ReferenceApiTouchProviderResponseApplicationJson; } @override - void update(void Function(ProfileApiSetVisibilityResponseApplicationJsonBuilder)? updates) { + void update(void Function(ReferenceApiTouchProviderResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - ProfileApiSetVisibilityResponseApplicationJson build() => _build(); + ReferenceApiTouchProviderResponseApplicationJson build() => _build(); - _$ProfileApiSetVisibilityResponseApplicationJson _build() { - _$ProfileApiSetVisibilityResponseApplicationJson _$result; + _$ReferenceApiTouchProviderResponseApplicationJson _build() { + _$ReferenceApiTouchProviderResponseApplicationJson _$result; try { - _$result = _$v ?? _$ProfileApiSetVisibilityResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$ReferenceApiTouchProviderResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -22820,7 +25653,7 @@ class ProfileApiSetVisibilityResponseApplicationJsonBuilder ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'ProfileApiSetVisibilityResponseApplicationJson', _$failedField, e.toString()); + r'ReferenceApiTouchProviderResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -22829,254 +25662,243 @@ class ProfileApiSetVisibilityResponseApplicationJsonBuilder } } -abstract mixin class ReferenceInterfaceBuilder { - void replace(ReferenceInterface other); - void update(void Function(ReferenceInterfaceBuilder) updates); - String? get richObjectType; - set richObjectType(String? richObjectType); - - MapBuilder get richObject; - set richObject(MapBuilder? richObject); +abstract mixin class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterfaceBuilder { + void replace(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterface other); + void update(void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterfaceBuilder) updates); + String? get id; + set id(String? id); - OpenGraphObjectBuilder get openGraphObject; - set openGraphObject(OpenGraphObjectBuilder? openGraphObject); + String? get name; + set name(String? name); - bool? get accessible; - set accessible(bool? accessible); + String? get description; + set description(String? description); } -class _$Reference extends Reference { - @override - final String richObjectType; +class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types + extends TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types { @override - final BuiltMap richObject; + final String id; @override - final OpenGraphObject openGraphObject; + final String name; @override - final bool accessible; + final String description; - factory _$Reference([void Function(ReferenceBuilder)? updates]) => (ReferenceBuilder()..update(updates))._build(); + factory _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types( + [void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder)? updates]) => + (TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder()..update(updates))._build(); - _$Reference._( - {required this.richObjectType, required this.richObject, required this.openGraphObject, required this.accessible}) + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types._( + {required this.id, required this.name, required this.description}) : super._() { - BuiltValueNullFieldError.checkNotNull(richObjectType, r'Reference', 'richObjectType'); - BuiltValueNullFieldError.checkNotNull(richObject, r'Reference', 'richObject'); - BuiltValueNullFieldError.checkNotNull(openGraphObject, r'Reference', 'openGraphObject'); - BuiltValueNullFieldError.checkNotNull(accessible, r'Reference', 'accessible'); + BuiltValueNullFieldError.checkNotNull( + id, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', 'id'); + BuiltValueNullFieldError.checkNotNull( + name, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', 'name'); + BuiltValueNullFieldError.checkNotNull( + description, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', 'description'); } @override - Reference rebuild(void Function(ReferenceBuilder) updates) => (toBuilder()..update(updates)).build(); + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types rebuild( + void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - ReferenceBuilder toBuilder() => ReferenceBuilder()..replace(this); + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder toBuilder() => + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is Reference && - richObjectType == other.richObjectType && - richObject == other.richObject && - openGraphObject == other.openGraphObject && - accessible == other.accessible; + return other is TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types && + id == other.id && + name == other.name && + description == other.description; } @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 = $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'Reference') - ..add('richObjectType', richObjectType) - ..add('richObject', richObject) - ..add('openGraphObject', openGraphObject) - ..add('accessible', accessible)) + return (newBuiltValueToStringHelper(r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types') + ..add('id', id) + ..add('name', name) + ..add('description', description)) .toString(); } } -class ReferenceBuilder implements Builder, ReferenceInterfaceBuilder { - _$Reference? _$v; - - String? _richObjectType; - String? get richObjectType => _$this._richObjectType; - set richObjectType(covariant String? richObjectType) => _$this._richObjectType = richObjectType; +class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder + implements + Builder, + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterfaceBuilder { + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types? _$v; - MapBuilder? _richObject; - MapBuilder get richObject => _$this._richObject ??= MapBuilder(); - set richObject(covariant MapBuilder? richObject) => _$this._richObject = richObject; + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; - OpenGraphObjectBuilder? _openGraphObject; - OpenGraphObjectBuilder get openGraphObject => _$this._openGraphObject ??= OpenGraphObjectBuilder(); - set openGraphObject(covariant OpenGraphObjectBuilder? openGraphObject) => _$this._openGraphObject = openGraphObject; + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; - bool? _accessible; - bool? get accessible => _$this._accessible; - set accessible(covariant bool? accessible) => _$this._accessible = accessible; + String? _description; + String? get description => _$this._description; + set description(covariant String? description) => _$this._description = description; - ReferenceBuilder(); + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder(); - ReferenceBuilder get _$this { + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder get _$this { final $v = _$v; if ($v != null) { - _richObjectType = $v.richObjectType; - _richObject = $v.richObject.toBuilder(); - _openGraphObject = $v.openGraphObject.toBuilder(); - _accessible = $v.accessible; + _id = $v.id; + _name = $v.name; + _description = $v.description; _$v = null; } return this; } @override - void replace(covariant Reference other) { + void replace(covariant TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$Reference; + _$v = other as _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types; } @override - void update(void Function(ReferenceBuilder)? updates) { + void update(void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder)? updates) { if (updates != null) updates(this); } @override - Reference build() => _build(); + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types build() => _build(); - _$Reference _build() { - _$Reference _$result; - try { - _$result = _$v ?? - _$Reference._( - richObjectType: BuiltValueNullFieldError.checkNotNull(richObjectType, r'Reference', 'richObjectType'), - richObject: richObject.build(), - openGraphObject: openGraphObject.build(), - accessible: BuiltValueNullFieldError.checkNotNull(accessible, r'Reference', 'accessible')); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'richObject'; - richObject.build(); - _$failedField = 'openGraphObject'; - openGraphObject.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'Reference', _$failedField, e.toString()); - } - rethrow; - } + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types _build() { + final _$result = _$v ?? + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types._( + id: BuiltValueNullFieldError.checkNotNull( + id, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', 'id'), + name: BuiltValueNullFieldError.checkNotNull( + name, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', 'name'), + description: BuiltValueNullFieldError.checkNotNull( + description, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', 'description')); replace(_$result); return _$result; } } -abstract mixin class ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - MapBuilder get references; - set references(MapBuilder? references); +abstract mixin class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + ListBuilder get types; + set types(ListBuilder? types); } -class _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data - extends ReferenceApiResolveOneResponseApplicationJson_Ocs_Data { +class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data + extends TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data { @override - final BuiltMap references; + final BuiltList types; - factory _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data( - [void Function(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data( + [void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data._({required this.references}) : super._() { + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data._({required this.types}) : super._() { BuiltValueNullFieldError.checkNotNull( - references, r'ReferenceApiResolveOneResponseApplicationJson_Ocs_Data', 'references'); + types, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data', 'types'); } @override - ReferenceApiResolveOneResponseApplicationJson_Ocs_Data rebuild( - void Function(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder) updates) => + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data rebuild( + void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder toBuilder() => - ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder()..replace(this); + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder toBuilder() => + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiResolveOneResponseApplicationJson_Ocs_Data && references == other.references; + return other is TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data && types == other.types; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, references.hashCode); + _$hash = $jc(_$hash, types.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiResolveOneResponseApplicationJson_Ocs_Data') - ..add('references', references)) + return (newBuiltValueToStringHelper(r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data') + ..add('types', types)) .toString(); } } -class ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder +class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder implements - Builder, - ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data? _$v; + Builder, + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data? _$v; - MapBuilder? _references; - MapBuilder get references => _$this._references ??= MapBuilder(); - set references(covariant MapBuilder? references) => _$this._references = references; + ListBuilder? _types; + ListBuilder get types => + _$this._types ??= ListBuilder(); + set types(covariant ListBuilder? types) => + _$this._types = types; - ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder(); + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder(); - ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder get _$this { + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _references = $v.references.toBuilder(); + _types = $v.types.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceApiResolveOneResponseApplicationJson_Ocs_Data other) { + void replace(covariant TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data; + _$v = other as _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data; } @override - void update(void Function(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - ReferenceApiResolveOneResponseApplicationJson_Ocs_Data build() => _build(); + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data build() => _build(); - _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data _build() { - _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data _$result; + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data _build() { + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data._(references: references.build()); + _$result = _$v ?? _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data._(types: types.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'references'; - references.build(); + _$failedField = 'types'; + types.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'ReferenceApiResolveOneResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -23085,44 +25907,45 @@ class ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder } } -abstract mixin class ReferenceApiResolveOneResponseApplicationJson_OcsInterfaceBuilder { - void replace(ReferenceApiResolveOneResponseApplicationJson_OcsInterface other); - void update(void Function(ReferenceApiResolveOneResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class TextProcessingApiTaskTypesResponseApplicationJson_OcsInterfaceBuilder { + void replace(TextProcessingApiTaskTypesResponseApplicationJson_OcsInterface other); + void update(void Function(TextProcessingApiTaskTypesResponseApplicationJson_OcsInterfaceBuilder) updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder get data; - set data(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder? data); + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder get data; + set data(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder? data); } -class _$ReferenceApiResolveOneResponseApplicationJson_Ocs extends ReferenceApiResolveOneResponseApplicationJson_Ocs { +class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs + extends TextProcessingApiTaskTypesResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final ReferenceApiResolveOneResponseApplicationJson_Ocs_Data data; + final TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data data; - factory _$ReferenceApiResolveOneResponseApplicationJson_Ocs( - [void Function(ReferenceApiResolveOneResponseApplicationJson_OcsBuilder)? updates]) => - (ReferenceApiResolveOneResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs( + [void Function(TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder)? updates]) => + (TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$ReferenceApiResolveOneResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'ReferenceApiResolveOneResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'ReferenceApiResolveOneResponseApplicationJson_Ocs', 'data'); + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs', 'data'); } @override - ReferenceApiResolveOneResponseApplicationJson_Ocs rebuild( - void Function(ReferenceApiResolveOneResponseApplicationJson_OcsBuilder) updates) => + TextProcessingApiTaskTypesResponseApplicationJson_Ocs rebuild( + void Function(TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiResolveOneResponseApplicationJson_OcsBuilder toBuilder() => - ReferenceApiResolveOneResponseApplicationJson_OcsBuilder()..replace(this); + TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder toBuilder() => + TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiResolveOneResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is TextProcessingApiTaskTypesResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @override @@ -23136,32 +25959,32 @@ class _$ReferenceApiResolveOneResponseApplicationJson_Ocs extends ReferenceApiRe @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiResolveOneResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class ReferenceApiResolveOneResponseApplicationJson_OcsBuilder +class TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder implements - Builder, - ReferenceApiResolveOneResponseApplicationJson_OcsInterfaceBuilder { - _$ReferenceApiResolveOneResponseApplicationJson_Ocs? _$v; + Builder, + TextProcessingApiTaskTypesResponseApplicationJson_OcsInterfaceBuilder { + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder? _data; - ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder? _data; + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - ReferenceApiResolveOneResponseApplicationJson_OcsBuilder(); + TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder(); - ReferenceApiResolveOneResponseApplicationJson_OcsBuilder get _$this { + TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -23172,23 +25995,24 @@ class ReferenceApiResolveOneResponseApplicationJson_OcsBuilder } @override - void replace(covariant ReferenceApiResolveOneResponseApplicationJson_Ocs other) { + void replace(covariant TextProcessingApiTaskTypesResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiResolveOneResponseApplicationJson_Ocs; + _$v = other as _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs; } @override - void update(void Function(ReferenceApiResolveOneResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - ReferenceApiResolveOneResponseApplicationJson_Ocs build() => _build(); + TextProcessingApiTaskTypesResponseApplicationJson_Ocs build() => _build(); - _$ReferenceApiResolveOneResponseApplicationJson_Ocs _build() { - _$ReferenceApiResolveOneResponseApplicationJson_Ocs _$result; + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs _build() { + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$ReferenceApiResolveOneResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = + _$v ?? _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -23198,7 +26022,7 @@ class ReferenceApiResolveOneResponseApplicationJson_OcsBuilder data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'ReferenceApiResolveOneResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -23207,38 +26031,38 @@ class ReferenceApiResolveOneResponseApplicationJson_OcsBuilder } } -abstract mixin class ReferenceApiResolveOneResponseApplicationJsonInterfaceBuilder { - void replace(ReferenceApiResolveOneResponseApplicationJsonInterface other); - void update(void Function(ReferenceApiResolveOneResponseApplicationJsonInterfaceBuilder) updates); - ReferenceApiResolveOneResponseApplicationJson_OcsBuilder get ocs; - set ocs(ReferenceApiResolveOneResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class TextProcessingApiTaskTypesResponseApplicationJsonInterfaceBuilder { + void replace(TextProcessingApiTaskTypesResponseApplicationJsonInterface other); + void update(void Function(TextProcessingApiTaskTypesResponseApplicationJsonInterfaceBuilder) updates); + TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder get ocs; + set ocs(TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder? ocs); } -class _$ReferenceApiResolveOneResponseApplicationJson extends ReferenceApiResolveOneResponseApplicationJson { +class _$TextProcessingApiTaskTypesResponseApplicationJson extends TextProcessingApiTaskTypesResponseApplicationJson { @override - final ReferenceApiResolveOneResponseApplicationJson_Ocs ocs; + final TextProcessingApiTaskTypesResponseApplicationJson_Ocs ocs; - factory _$ReferenceApiResolveOneResponseApplicationJson( - [void Function(ReferenceApiResolveOneResponseApplicationJsonBuilder)? updates]) => - (ReferenceApiResolveOneResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$TextProcessingApiTaskTypesResponseApplicationJson( + [void Function(TextProcessingApiTaskTypesResponseApplicationJsonBuilder)? updates]) => + (TextProcessingApiTaskTypesResponseApplicationJsonBuilder()..update(updates))._build(); - _$ReferenceApiResolveOneResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'ReferenceApiResolveOneResponseApplicationJson', 'ocs'); + _$TextProcessingApiTaskTypesResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'TextProcessingApiTaskTypesResponseApplicationJson', 'ocs'); } @override - ReferenceApiResolveOneResponseApplicationJson rebuild( - void Function(ReferenceApiResolveOneResponseApplicationJsonBuilder) updates) => + TextProcessingApiTaskTypesResponseApplicationJson rebuild( + void Function(TextProcessingApiTaskTypesResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiResolveOneResponseApplicationJsonBuilder toBuilder() => - ReferenceApiResolveOneResponseApplicationJsonBuilder()..replace(this); + TextProcessingApiTaskTypesResponseApplicationJsonBuilder toBuilder() => + TextProcessingApiTaskTypesResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiResolveOneResponseApplicationJson && ocs == other.ocs; + return other is TextProcessingApiTaskTypesResponseApplicationJson && ocs == other.ocs; } @override @@ -23251,24 +26075,26 @@ class _$ReferenceApiResolveOneResponseApplicationJson extends ReferenceApiResolv @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiResolveOneResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'TextProcessingApiTaskTypesResponseApplicationJson')..add('ocs', ocs)) + .toString(); } } -class ReferenceApiResolveOneResponseApplicationJsonBuilder +class TextProcessingApiTaskTypesResponseApplicationJsonBuilder implements - Builder, - ReferenceApiResolveOneResponseApplicationJsonInterfaceBuilder { - _$ReferenceApiResolveOneResponseApplicationJson? _$v; + Builder, + TextProcessingApiTaskTypesResponseApplicationJsonInterfaceBuilder { + _$TextProcessingApiTaskTypesResponseApplicationJson? _$v; - ReferenceApiResolveOneResponseApplicationJson_OcsBuilder? _ocs; - ReferenceApiResolveOneResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= ReferenceApiResolveOneResponseApplicationJson_OcsBuilder(); - set ocs(covariant ReferenceApiResolveOneResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder? _ocs; + TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder(); + set ocs(covariant TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - ReferenceApiResolveOneResponseApplicationJsonBuilder(); + TextProcessingApiTaskTypesResponseApplicationJsonBuilder(); - ReferenceApiResolveOneResponseApplicationJsonBuilder get _$this { + TextProcessingApiTaskTypesResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -23278,30 +26104,31 @@ class ReferenceApiResolveOneResponseApplicationJsonBuilder } @override - void replace(covariant ReferenceApiResolveOneResponseApplicationJson other) { + void replace(covariant TextProcessingApiTaskTypesResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiResolveOneResponseApplicationJson; + _$v = other as _$TextProcessingApiTaskTypesResponseApplicationJson; } @override - void update(void Function(ReferenceApiResolveOneResponseApplicationJsonBuilder)? updates) { + void update(void Function(TextProcessingApiTaskTypesResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - ReferenceApiResolveOneResponseApplicationJson build() => _build(); + TextProcessingApiTaskTypesResponseApplicationJson build() => _build(); - _$ReferenceApiResolveOneResponseApplicationJson _build() { - _$ReferenceApiResolveOneResponseApplicationJson _$result; + _$TextProcessingApiTaskTypesResponseApplicationJson _build() { + _$TextProcessingApiTaskTypesResponseApplicationJson _$result; try { - _$result = _$v ?? _$ReferenceApiResolveOneResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$TextProcessingApiTaskTypesResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'ReferenceApiResolveOneResponseApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'TextProcessingApiTaskTypesResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -23310,227 +26137,306 @@ class ReferenceApiResolveOneResponseApplicationJsonBuilder } } -abstract mixin class ReferenceApiResolveResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(ReferenceApiResolveResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(ReferenceApiResolveResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - MapBuilder get references; - set references(MapBuilder? references); +abstract mixin class TextProcessingTaskInterfaceBuilder { + void replace(TextProcessingTaskInterface other); + void update(void Function(TextProcessingTaskInterfaceBuilder) updates); + int? get id; + set id(int? id); + + String? get type; + set type(String? type); + + int? get status; + set status(int? status); + + String? get userId; + set userId(String? userId); + + String? get appId; + set appId(String? appId); + + String? get input; + set input(String? input); + + String? get output; + set output(String? output); + + String? get identifier; + set identifier(String? identifier); } -class _$ReferenceApiResolveResponseApplicationJson_Ocs_Data - extends ReferenceApiResolveResponseApplicationJson_Ocs_Data { +class _$TextProcessingTask extends TextProcessingTask { @override - final BuiltMap references; + final int? id; + @override + final String type; + @override + final int status; + @override + final String? userId; + @override + final String appId; + @override + final String input; + @override + final String? output; + @override + final String identifier; - factory _$ReferenceApiResolveResponseApplicationJson_Ocs_Data( - [void Function(ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$TextProcessingTask([void Function(TextProcessingTaskBuilder)? updates]) => + (TextProcessingTaskBuilder()..update(updates))._build(); - _$ReferenceApiResolveResponseApplicationJson_Ocs_Data._({required this.references}) : super._() { - BuiltValueNullFieldError.checkNotNull( - references, r'ReferenceApiResolveResponseApplicationJson_Ocs_Data', 'references'); + _$TextProcessingTask._( + {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'TextProcessingTask', 'type'); + BuiltValueNullFieldError.checkNotNull(status, r'TextProcessingTask', 'status'); + BuiltValueNullFieldError.checkNotNull(appId, r'TextProcessingTask', 'appId'); + BuiltValueNullFieldError.checkNotNull(input, r'TextProcessingTask', 'input'); + BuiltValueNullFieldError.checkNotNull(identifier, r'TextProcessingTask', 'identifier'); } @override - ReferenceApiResolveResponseApplicationJson_Ocs_Data rebuild( - void Function(ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder) updates) => + TextProcessingTask rebuild(void Function(TextProcessingTaskBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder toBuilder() => - ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder()..replace(this); + TextProcessingTaskBuilder toBuilder() => TextProcessingTaskBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiResolveResponseApplicationJson_Ocs_Data && references == other.references; + return other is TextProcessingTask && + 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, references.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'ReferenceApiResolveResponseApplicationJson_Ocs_Data') - ..add('references', references)) + return (newBuiltValueToStringHelper(r'TextProcessingTask') + ..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 ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder - implements - Builder, - ReferenceApiResolveResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$ReferenceApiResolveResponseApplicationJson_Ocs_Data? _$v; +class TextProcessingTaskBuilder + implements Builder, TextProcessingTaskInterfaceBuilder { + _$TextProcessingTask? _$v; - MapBuilder? _references; - MapBuilder get references => _$this._references ??= MapBuilder(); - set references(covariant MapBuilder? references) => _$this._references = references; + int? _id; + int? get id => _$this._id; + set id(covariant int? id) => _$this._id = id; - ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder(); + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; - ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder get _$this { + int? _status; + int? get status => _$this._status; + set status(covariant int? status) => _$this._status = status; + + String? _userId; + String? get userId => _$this._userId; + set userId(covariant String? userId) => _$this._userId = userId; + + String? _appId; + String? get appId => _$this._appId; + set appId(covariant String? appId) => _$this._appId = appId; + + String? _input; + String? get input => _$this._input; + set input(covariant String? input) => _$this._input = input; + + String? _output; + String? get output => _$this._output; + set output(covariant String? output) => _$this._output = output; + + String? _identifier; + String? get identifier => _$this._identifier; + set identifier(covariant String? identifier) => _$this._identifier = identifier; + + TextProcessingTaskBuilder(); + + TextProcessingTaskBuilder get _$this { final $v = _$v; if ($v != null) { - _references = $v.references.toBuilder(); + _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(covariant ReferenceApiResolveResponseApplicationJson_Ocs_Data other) { + void replace(covariant TextProcessingTask other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiResolveResponseApplicationJson_Ocs_Data; + _$v = other as _$TextProcessingTask; } @override - void update(void Function(ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(TextProcessingTaskBuilder)? updates) { if (updates != null) updates(this); } @override - ReferenceApiResolveResponseApplicationJson_Ocs_Data build() => _build(); + TextProcessingTask build() => _build(); - _$ReferenceApiResolveResponseApplicationJson_Ocs_Data _build() { - _$ReferenceApiResolveResponseApplicationJson_Ocs_Data _$result; - try { - _$result = _$v ?? _$ReferenceApiResolveResponseApplicationJson_Ocs_Data._(references: references.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'references'; - references.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'ReferenceApiResolveResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); - } - rethrow; - } + _$TextProcessingTask _build() { + final _$result = _$v ?? + _$TextProcessingTask._( + id: id, + type: BuiltValueNullFieldError.checkNotNull(type, r'TextProcessingTask', 'type'), + status: BuiltValueNullFieldError.checkNotNull(status, r'TextProcessingTask', 'status'), + userId: userId, + appId: BuiltValueNullFieldError.checkNotNull(appId, r'TextProcessingTask', 'appId'), + input: BuiltValueNullFieldError.checkNotNull(input, r'TextProcessingTask', 'input'), + output: output, + identifier: BuiltValueNullFieldError.checkNotNull(identifier, r'TextProcessingTask', 'identifier')); replace(_$result); return _$result; } } -abstract mixin class ReferenceApiResolveResponseApplicationJson_OcsInterfaceBuilder { - void replace(ReferenceApiResolveResponseApplicationJson_OcsInterface other); - void update(void Function(ReferenceApiResolveResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder get data; - set data(ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder? data); +abstract mixin class TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + TextProcessingTaskBuilder get task; + set task(TextProcessingTaskBuilder? task); } -class _$ReferenceApiResolveResponseApplicationJson_Ocs extends ReferenceApiResolveResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data + extends TextProcessingApiScheduleResponseApplicationJson_Ocs_Data { @override - final ReferenceApiResolveResponseApplicationJson_Ocs_Data data; + final TextProcessingTask task; - factory _$ReferenceApiResolveResponseApplicationJson_Ocs( - [void Function(ReferenceApiResolveResponseApplicationJson_OcsBuilder)? updates]) => - (ReferenceApiResolveResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data( + [void Function(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$ReferenceApiResolveResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'ReferenceApiResolveResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'ReferenceApiResolveResponseApplicationJson_Ocs', 'data'); + _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data._({required this.task}) : super._() { + BuiltValueNullFieldError.checkNotNull(task, r'TextProcessingApiScheduleResponseApplicationJson_Ocs_Data', 'task'); } @override - ReferenceApiResolveResponseApplicationJson_Ocs rebuild( - void Function(ReferenceApiResolveResponseApplicationJson_OcsBuilder) updates) => + TextProcessingApiScheduleResponseApplicationJson_Ocs_Data rebuild( + void Function(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiResolveResponseApplicationJson_OcsBuilder toBuilder() => - ReferenceApiResolveResponseApplicationJson_OcsBuilder()..replace(this); + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder toBuilder() => + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiResolveResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is TextProcessingApiScheduleResponseApplicationJson_Ocs_Data && task == other.task; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, task.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiResolveResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'TextProcessingApiScheduleResponseApplicationJson_Ocs_Data') + ..add('task', task)) .toString(); } } -class ReferenceApiResolveResponseApplicationJson_OcsBuilder +class TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder implements - Builder, - ReferenceApiResolveResponseApplicationJson_OcsInterfaceBuilder { - _$ReferenceApiResolveResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data? _$v; - ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder? _data; - ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + TextProcessingTaskBuilder? _task; + TextProcessingTaskBuilder get task => _$this._task ??= TextProcessingTaskBuilder(); + set task(covariant TextProcessingTaskBuilder? task) => _$this._task = task; - ReferenceApiResolveResponseApplicationJson_OcsBuilder(); + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder(); - ReferenceApiResolveResponseApplicationJson_OcsBuilder get _$this { + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _task = $v.task.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceApiResolveResponseApplicationJson_Ocs other) { + void replace(covariant TextProcessingApiScheduleResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiResolveResponseApplicationJson_Ocs; + _$v = other as _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data; } @override - void update(void Function(ReferenceApiResolveResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - ReferenceApiResolveResponseApplicationJson_Ocs build() => _build(); + TextProcessingApiScheduleResponseApplicationJson_Ocs_Data build() => _build(); - _$ReferenceApiResolveResponseApplicationJson_Ocs _build() { - _$ReferenceApiResolveResponseApplicationJson_Ocs _$result; + _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data _build() { + _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$ReferenceApiResolveResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data._(task: task.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'task'; + task.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'ReferenceApiResolveResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'TextProcessingApiScheduleResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -23539,101 +26445,122 @@ class ReferenceApiResolveResponseApplicationJson_OcsBuilder } } -abstract mixin class ReferenceApiResolveResponseApplicationJsonInterfaceBuilder { - void replace(ReferenceApiResolveResponseApplicationJsonInterface other); - void update(void Function(ReferenceApiResolveResponseApplicationJsonInterfaceBuilder) updates); - ReferenceApiResolveResponseApplicationJson_OcsBuilder get ocs; - set ocs(ReferenceApiResolveResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class TextProcessingApiScheduleResponseApplicationJson_OcsInterfaceBuilder { + void replace(TextProcessingApiScheduleResponseApplicationJson_OcsInterface other); + void update(void Function(TextProcessingApiScheduleResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder get data; + set data(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder? data); } -class _$ReferenceApiResolveResponseApplicationJson extends ReferenceApiResolveResponseApplicationJson { +class _$TextProcessingApiScheduleResponseApplicationJson_Ocs + extends TextProcessingApiScheduleResponseApplicationJson_Ocs { @override - final ReferenceApiResolveResponseApplicationJson_Ocs ocs; + final OCSMeta meta; + @override + final TextProcessingApiScheduleResponseApplicationJson_Ocs_Data data; - factory _$ReferenceApiResolveResponseApplicationJson( - [void Function(ReferenceApiResolveResponseApplicationJsonBuilder)? updates]) => - (ReferenceApiResolveResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$TextProcessingApiScheduleResponseApplicationJson_Ocs( + [void Function(TextProcessingApiScheduleResponseApplicationJson_OcsBuilder)? updates]) => + (TextProcessingApiScheduleResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$ReferenceApiResolveResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'ReferenceApiResolveResponseApplicationJson', 'ocs'); + _$TextProcessingApiScheduleResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'TextProcessingApiScheduleResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'TextProcessingApiScheduleResponseApplicationJson_Ocs', 'data'); } @override - ReferenceApiResolveResponseApplicationJson rebuild( - void Function(ReferenceApiResolveResponseApplicationJsonBuilder) updates) => + TextProcessingApiScheduleResponseApplicationJson_Ocs rebuild( + void Function(TextProcessingApiScheduleResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiResolveResponseApplicationJsonBuilder toBuilder() => - ReferenceApiResolveResponseApplicationJsonBuilder()..replace(this); + TextProcessingApiScheduleResponseApplicationJson_OcsBuilder toBuilder() => + TextProcessingApiScheduleResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiResolveResponseApplicationJson && ocs == other.ocs; + return other is TextProcessingApiScheduleResponseApplicationJson_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'ReferenceApiResolveResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'TextProcessingApiScheduleResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); } } -class ReferenceApiResolveResponseApplicationJsonBuilder +class TextProcessingApiScheduleResponseApplicationJson_OcsBuilder implements - Builder, - ReferenceApiResolveResponseApplicationJsonInterfaceBuilder { - _$ReferenceApiResolveResponseApplicationJson? _$v; + Builder, + TextProcessingApiScheduleResponseApplicationJson_OcsInterfaceBuilder { + _$TextProcessingApiScheduleResponseApplicationJson_Ocs? _$v; - ReferenceApiResolveResponseApplicationJson_OcsBuilder? _ocs; - ReferenceApiResolveResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= ReferenceApiResolveResponseApplicationJson_OcsBuilder(); - set ocs(covariant ReferenceApiResolveResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - ReferenceApiResolveResponseApplicationJsonBuilder(); + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder? _data; + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - ReferenceApiResolveResponseApplicationJsonBuilder get _$this { + TextProcessingApiScheduleResponseApplicationJson_OcsBuilder(); + + TextProcessingApiScheduleResponseApplicationJson_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(covariant ReferenceApiResolveResponseApplicationJson other) { + void replace(covariant TextProcessingApiScheduleResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiResolveResponseApplicationJson; + _$v = other as _$TextProcessingApiScheduleResponseApplicationJson_Ocs; } @override - void update(void Function(ReferenceApiResolveResponseApplicationJsonBuilder)? updates) { + void update(void Function(TextProcessingApiScheduleResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - ReferenceApiResolveResponseApplicationJson build() => _build(); + TextProcessingApiScheduleResponseApplicationJson_Ocs build() => _build(); - _$ReferenceApiResolveResponseApplicationJson _build() { - _$ReferenceApiResolveResponseApplicationJson _$result; + _$TextProcessingApiScheduleResponseApplicationJson_Ocs _build() { + _$TextProcessingApiScheduleResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$ReferenceApiResolveResponseApplicationJson._(ocs: ocs.build()); + _$result = + _$v ?? _$TextProcessingApiScheduleResponseApplicationJson_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'ReferenceApiResolveResponseApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'TextProcessingApiScheduleResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -23642,106 +26569,104 @@ class ReferenceApiResolveResponseApplicationJsonBuilder } } -abstract mixin class ReferenceApiExtractResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(ReferenceApiExtractResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(ReferenceApiExtractResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - MapBuilder get references; - set references(MapBuilder? references); +abstract mixin class TextProcessingApiScheduleResponseApplicationJsonInterfaceBuilder { + void replace(TextProcessingApiScheduleResponseApplicationJsonInterface other); + void update(void Function(TextProcessingApiScheduleResponseApplicationJsonInterfaceBuilder) updates); + TextProcessingApiScheduleResponseApplicationJson_OcsBuilder get ocs; + set ocs(TextProcessingApiScheduleResponseApplicationJson_OcsBuilder? ocs); } -class _$ReferenceApiExtractResponseApplicationJson_Ocs_Data - extends ReferenceApiExtractResponseApplicationJson_Ocs_Data { +class _$TextProcessingApiScheduleResponseApplicationJson extends TextProcessingApiScheduleResponseApplicationJson { @override - final BuiltMap references; + final TextProcessingApiScheduleResponseApplicationJson_Ocs ocs; - factory _$ReferenceApiExtractResponseApplicationJson_Ocs_Data( - [void Function(ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$TextProcessingApiScheduleResponseApplicationJson( + [void Function(TextProcessingApiScheduleResponseApplicationJsonBuilder)? updates]) => + (TextProcessingApiScheduleResponseApplicationJsonBuilder()..update(updates))._build(); - _$ReferenceApiExtractResponseApplicationJson_Ocs_Data._({required this.references}) : super._() { - BuiltValueNullFieldError.checkNotNull( - references, r'ReferenceApiExtractResponseApplicationJson_Ocs_Data', 'references'); + _$TextProcessingApiScheduleResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'TextProcessingApiScheduleResponseApplicationJson', 'ocs'); } @override - ReferenceApiExtractResponseApplicationJson_Ocs_Data rebuild( - void Function(ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder) updates) => + TextProcessingApiScheduleResponseApplicationJson rebuild( + void Function(TextProcessingApiScheduleResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder toBuilder() => - ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder()..replace(this); + TextProcessingApiScheduleResponseApplicationJsonBuilder toBuilder() => + TextProcessingApiScheduleResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiExtractResponseApplicationJson_Ocs_Data && references == other.references; + return other is TextProcessingApiScheduleResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, references.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiExtractResponseApplicationJson_Ocs_Data') - ..add('references', references)) + return (newBuiltValueToStringHelper(r'TextProcessingApiScheduleResponseApplicationJson')..add('ocs', ocs)) .toString(); } } -class ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder +class TextProcessingApiScheduleResponseApplicationJsonBuilder implements - Builder, - ReferenceApiExtractResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$ReferenceApiExtractResponseApplicationJson_Ocs_Data? _$v; + Builder, + TextProcessingApiScheduleResponseApplicationJsonInterfaceBuilder { + _$TextProcessingApiScheduleResponseApplicationJson? _$v; - MapBuilder? _references; - MapBuilder get references => _$this._references ??= MapBuilder(); - set references(covariant MapBuilder? references) => _$this._references = references; + TextProcessingApiScheduleResponseApplicationJson_OcsBuilder? _ocs; + TextProcessingApiScheduleResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= TextProcessingApiScheduleResponseApplicationJson_OcsBuilder(); + set ocs(covariant TextProcessingApiScheduleResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder(); + TextProcessingApiScheduleResponseApplicationJsonBuilder(); - ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder get _$this { + TextProcessingApiScheduleResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _references = $v.references.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceApiExtractResponseApplicationJson_Ocs_Data other) { + void replace(covariant TextProcessingApiScheduleResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiExtractResponseApplicationJson_Ocs_Data; + _$v = other as _$TextProcessingApiScheduleResponseApplicationJson; } @override - void update(void Function(ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(TextProcessingApiScheduleResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - ReferenceApiExtractResponseApplicationJson_Ocs_Data build() => _build(); + TextProcessingApiScheduleResponseApplicationJson build() => _build(); - _$ReferenceApiExtractResponseApplicationJson_Ocs_Data _build() { - _$ReferenceApiExtractResponseApplicationJson_Ocs_Data _$result; + _$TextProcessingApiScheduleResponseApplicationJson _build() { + _$TextProcessingApiScheduleResponseApplicationJson _$result; try { - _$result = _$v ?? _$ReferenceApiExtractResponseApplicationJson_Ocs_Data._(references: references.build()); + _$result = _$v ?? _$TextProcessingApiScheduleResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'references'; - references.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'ReferenceApiExtractResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + r'TextProcessingApiScheduleResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -23750,119 +26675,104 @@ class ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder } } -abstract mixin class ReferenceApiExtractResponseApplicationJson_OcsInterfaceBuilder { - void replace(ReferenceApiExtractResponseApplicationJson_OcsInterface other); - void update(void Function(ReferenceApiExtractResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder get data; - set data(ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder? data); +abstract mixin class TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + TextProcessingTaskBuilder get task; + set task(TextProcessingTaskBuilder? task); } -class _$ReferenceApiExtractResponseApplicationJson_Ocs extends ReferenceApiExtractResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data + extends TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data { @override - final ReferenceApiExtractResponseApplicationJson_Ocs_Data data; + final TextProcessingTask task; - factory _$ReferenceApiExtractResponseApplicationJson_Ocs( - [void Function(ReferenceApiExtractResponseApplicationJson_OcsBuilder)? updates]) => - (ReferenceApiExtractResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data( + [void Function(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$ReferenceApiExtractResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'ReferenceApiExtractResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'ReferenceApiExtractResponseApplicationJson_Ocs', 'data'); + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data._({required this.task}) : super._() { + BuiltValueNullFieldError.checkNotNull(task, r'TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data', 'task'); } @override - ReferenceApiExtractResponseApplicationJson_Ocs rebuild( - void Function(ReferenceApiExtractResponseApplicationJson_OcsBuilder) updates) => + TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data rebuild( + void Function(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiExtractResponseApplicationJson_OcsBuilder toBuilder() => - ReferenceApiExtractResponseApplicationJson_OcsBuilder()..replace(this); + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder toBuilder() => + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiExtractResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data && task == other.task; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, task.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiExtractResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data')..add('task', task)) .toString(); } } -class ReferenceApiExtractResponseApplicationJson_OcsBuilder +class TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder implements - Builder, - ReferenceApiExtractResponseApplicationJson_OcsInterfaceBuilder { - _$ReferenceApiExtractResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data? _$v; - ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder? _data; - ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + TextProcessingTaskBuilder? _task; + TextProcessingTaskBuilder get task => _$this._task ??= TextProcessingTaskBuilder(); + set task(covariant TextProcessingTaskBuilder? task) => _$this._task = task; - ReferenceApiExtractResponseApplicationJson_OcsBuilder(); + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder(); - ReferenceApiExtractResponseApplicationJson_OcsBuilder get _$this { + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _task = $v.task.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceApiExtractResponseApplicationJson_Ocs other) { + void replace(covariant TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiExtractResponseApplicationJson_Ocs; + _$v = other as _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data; } @override - void update(void Function(ReferenceApiExtractResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - ReferenceApiExtractResponseApplicationJson_Ocs build() => _build(); + TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data build() => _build(); - _$ReferenceApiExtractResponseApplicationJson_Ocs _build() { - _$ReferenceApiExtractResponseApplicationJson_Ocs _$result; + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data _build() { + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$ReferenceApiExtractResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data._(task: task.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'task'; + task.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'ReferenceApiExtractResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -23871,101 +26781,121 @@ class ReferenceApiExtractResponseApplicationJson_OcsBuilder } } -abstract mixin class ReferenceApiExtractResponseApplicationJsonInterfaceBuilder { - void replace(ReferenceApiExtractResponseApplicationJsonInterface other); - void update(void Function(ReferenceApiExtractResponseApplicationJsonInterfaceBuilder) updates); - ReferenceApiExtractResponseApplicationJson_OcsBuilder get ocs; - set ocs(ReferenceApiExtractResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class TextProcessingApiGetTaskResponseApplicationJson_OcsInterfaceBuilder { + void replace(TextProcessingApiGetTaskResponseApplicationJson_OcsInterface other); + void update(void Function(TextProcessingApiGetTaskResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder get data; + set data(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder? data); } -class _$ReferenceApiExtractResponseApplicationJson extends ReferenceApiExtractResponseApplicationJson { +class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs + extends TextProcessingApiGetTaskResponseApplicationJson_Ocs { @override - final ReferenceApiExtractResponseApplicationJson_Ocs ocs; + final OCSMeta meta; + @override + final TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data data; - factory _$ReferenceApiExtractResponseApplicationJson( - [void Function(ReferenceApiExtractResponseApplicationJsonBuilder)? updates]) => - (ReferenceApiExtractResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$TextProcessingApiGetTaskResponseApplicationJson_Ocs( + [void Function(TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder)? updates]) => + (TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$ReferenceApiExtractResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'ReferenceApiExtractResponseApplicationJson', 'ocs'); + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'TextProcessingApiGetTaskResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'TextProcessingApiGetTaskResponseApplicationJson_Ocs', 'data'); } @override - ReferenceApiExtractResponseApplicationJson rebuild( - void Function(ReferenceApiExtractResponseApplicationJsonBuilder) updates) => + TextProcessingApiGetTaskResponseApplicationJson_Ocs rebuild( + void Function(TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiExtractResponseApplicationJsonBuilder toBuilder() => - ReferenceApiExtractResponseApplicationJsonBuilder()..replace(this); + TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder toBuilder() => + TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiExtractResponseApplicationJson && ocs == other.ocs; + return other is TextProcessingApiGetTaskResponseApplicationJson_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'ReferenceApiExtractResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'TextProcessingApiGetTaskResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); } } -class ReferenceApiExtractResponseApplicationJsonBuilder +class TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder implements - Builder, - ReferenceApiExtractResponseApplicationJsonInterfaceBuilder { - _$ReferenceApiExtractResponseApplicationJson? _$v; + Builder, + TextProcessingApiGetTaskResponseApplicationJson_OcsInterfaceBuilder { + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs? _$v; - ReferenceApiExtractResponseApplicationJson_OcsBuilder? _ocs; - ReferenceApiExtractResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= ReferenceApiExtractResponseApplicationJson_OcsBuilder(); - set ocs(covariant ReferenceApiExtractResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - ReferenceApiExtractResponseApplicationJsonBuilder(); + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder? _data; + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - ReferenceApiExtractResponseApplicationJsonBuilder get _$this { + TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder(); + + TextProcessingApiGetTaskResponseApplicationJson_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(covariant ReferenceApiExtractResponseApplicationJson other) { + void replace(covariant TextProcessingApiGetTaskResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiExtractResponseApplicationJson; + _$v = other as _$TextProcessingApiGetTaskResponseApplicationJson_Ocs; } @override - void update(void Function(ReferenceApiExtractResponseApplicationJsonBuilder)? updates) { + void update(void Function(TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - ReferenceApiExtractResponseApplicationJson build() => _build(); + TextProcessingApiGetTaskResponseApplicationJson_Ocs build() => _build(); - _$ReferenceApiExtractResponseApplicationJson _build() { - _$ReferenceApiExtractResponseApplicationJson _$result; + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs _build() { + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$ReferenceApiExtractResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$TextProcessingApiGetTaskResponseApplicationJson_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'ReferenceApiExtractResponseApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'TextProcessingApiGetTaskResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -23974,161 +26904,104 @@ class ReferenceApiExtractResponseApplicationJsonBuilder } } -abstract mixin class ReferenceProviderInterfaceBuilder { - void replace(ReferenceProviderInterface other); - void update(void Function(ReferenceProviderInterfaceBuilder) updates); - String? get id; - set id(String? id); - - String? get title; - set title(String? title); - - String? get iconUrl; - set iconUrl(String? iconUrl); - - int? get order; - set order(int? order); - - ListBuilder get searchProvidersIds; - set searchProvidersIds(ListBuilder? searchProvidersIds); +abstract mixin class TextProcessingApiGetTaskResponseApplicationJsonInterfaceBuilder { + void replace(TextProcessingApiGetTaskResponseApplicationJsonInterface other); + void update(void Function(TextProcessingApiGetTaskResponseApplicationJsonInterfaceBuilder) updates); + TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder get ocs; + set ocs(TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder? ocs); } -class _$ReferenceProvider extends ReferenceProvider { - @override - final String id; - @override - final String title; - @override - final String iconUrl; - @override - final int order; +class _$TextProcessingApiGetTaskResponseApplicationJson extends TextProcessingApiGetTaskResponseApplicationJson { @override - final BuiltList? searchProvidersIds; + final TextProcessingApiGetTaskResponseApplicationJson_Ocs ocs; - factory _$ReferenceProvider([void Function(ReferenceProviderBuilder)? updates]) => - (ReferenceProviderBuilder()..update(updates))._build(); + factory _$TextProcessingApiGetTaskResponseApplicationJson( + [void Function(TextProcessingApiGetTaskResponseApplicationJsonBuilder)? updates]) => + (TextProcessingApiGetTaskResponseApplicationJsonBuilder()..update(updates))._build(); - _$ReferenceProvider._( - {required this.id, required this.title, required this.iconUrl, required this.order, this.searchProvidersIds}) - : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'ReferenceProvider', 'id'); - BuiltValueNullFieldError.checkNotNull(title, r'ReferenceProvider', 'title'); - BuiltValueNullFieldError.checkNotNull(iconUrl, r'ReferenceProvider', 'iconUrl'); - BuiltValueNullFieldError.checkNotNull(order, r'ReferenceProvider', 'order'); + _$TextProcessingApiGetTaskResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'TextProcessingApiGetTaskResponseApplicationJson', 'ocs'); } @override - ReferenceProvider rebuild(void Function(ReferenceProviderBuilder) updates) => (toBuilder()..update(updates)).build(); + TextProcessingApiGetTaskResponseApplicationJson rebuild( + void Function(TextProcessingApiGetTaskResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - ReferenceProviderBuilder toBuilder() => ReferenceProviderBuilder()..replace(this); + TextProcessingApiGetTaskResponseApplicationJsonBuilder toBuilder() => + TextProcessingApiGetTaskResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceProvider && - id == other.id && - title == other.title && - iconUrl == other.iconUrl && - order == other.order && - searchProvidersIds == other.searchProvidersIds; + return other is TextProcessingApiGetTaskResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$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 = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceProvider') - ..add('id', id) - ..add('title', title) - ..add('iconUrl', iconUrl) - ..add('order', order) - ..add('searchProvidersIds', searchProvidersIds)) + return (newBuiltValueToStringHelper(r'TextProcessingApiGetTaskResponseApplicationJson')..add('ocs', ocs)) .toString(); } } -class ReferenceProviderBuilder - implements Builder, ReferenceProviderInterfaceBuilder { - _$ReferenceProvider? _$v; - - String? _id; - String? get id => _$this._id; - set id(covariant String? id) => _$this._id = id; - - String? _title; - String? get title => _$this._title; - set title(covariant String? title) => _$this._title = title; - - String? _iconUrl; - String? get iconUrl => _$this._iconUrl; - set iconUrl(covariant String? iconUrl) => _$this._iconUrl = iconUrl; - - int? _order; - int? get order => _$this._order; - set order(covariant int? order) => _$this._order = order; +class TextProcessingApiGetTaskResponseApplicationJsonBuilder + implements + Builder, + TextProcessingApiGetTaskResponseApplicationJsonInterfaceBuilder { + _$TextProcessingApiGetTaskResponseApplicationJson? _$v; - ListBuilder? _searchProvidersIds; - ListBuilder get searchProvidersIds => _$this._searchProvidersIds ??= ListBuilder(); - set searchProvidersIds(covariant ListBuilder? searchProvidersIds) => - _$this._searchProvidersIds = searchProvidersIds; + TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder? _ocs; + TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder(); + set ocs(covariant TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - ReferenceProviderBuilder(); + TextProcessingApiGetTaskResponseApplicationJsonBuilder(); - ReferenceProviderBuilder get _$this { + TextProcessingApiGetTaskResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _title = $v.title; - _iconUrl = $v.iconUrl; - _order = $v.order; - _searchProvidersIds = $v.searchProvidersIds?.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceProvider other) { + void replace(covariant TextProcessingApiGetTaskResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceProvider; + _$v = other as _$TextProcessingApiGetTaskResponseApplicationJson; } @override - void update(void Function(ReferenceProviderBuilder)? updates) { + void update(void Function(TextProcessingApiGetTaskResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - ReferenceProvider build() => _build(); + TextProcessingApiGetTaskResponseApplicationJson build() => _build(); - _$ReferenceProvider _build() { - _$ReferenceProvider _$result; + _$TextProcessingApiGetTaskResponseApplicationJson _build() { + _$TextProcessingApiGetTaskResponseApplicationJson _$result; try { - _$result = _$v ?? - _$ReferenceProvider._( - id: BuiltValueNullFieldError.checkNotNull(id, r'ReferenceProvider', 'id'), - title: BuiltValueNullFieldError.checkNotNull(title, r'ReferenceProvider', 'title'), - iconUrl: BuiltValueNullFieldError.checkNotNull(iconUrl, r'ReferenceProvider', 'iconUrl'), - order: BuiltValueNullFieldError.checkNotNull(order, r'ReferenceProvider', 'order'), - searchProvidersIds: _searchProvidersIds?.build()); + _$result = _$v ?? _$TextProcessingApiGetTaskResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'searchProvidersIds'; - _searchProvidersIds?.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'ReferenceProvider', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'TextProcessingApiGetTaskResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -24137,121 +27010,105 @@ class ReferenceProviderBuilder } } -abstract mixin class ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterfaceBuilder { - void replace(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterface other); - void update(void Function(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - ListBuilder get data; - set data(ListBuilder? data); +abstract mixin class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + TextProcessingTaskBuilder get task; + set task(TextProcessingTaskBuilder? task); } -class _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs - extends ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data + extends TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data { @override - final BuiltList data; + final TextProcessingTask task; - factory _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs( - [void Function(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder)? updates]) => - (ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data( + [void Function(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs', 'data'); + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data._({required this.task}) : super._() { + BuiltValueNullFieldError.checkNotNull(task, r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data', 'task'); } @override - ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs rebuild( - void Function(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder) updates) => + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data rebuild( + void Function(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder toBuilder() => - ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder()..replace(this); + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder toBuilder() => + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data && task == other.task; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, task.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data') + ..add('task', task)) .toString(); } } -class ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder +class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder implements - Builder, - ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterfaceBuilder { - _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data? _$v; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(covariant ListBuilder? data) => _$this._data = data; + TextProcessingTaskBuilder? _task; + TextProcessingTaskBuilder get task => _$this._task ??= TextProcessingTaskBuilder(); + set task(covariant TextProcessingTaskBuilder? task) => _$this._task = task; - ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder(); + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder(); - ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder get _$this { + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _task = $v.task.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs other) { + void replace(covariant TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs; + _$v = other as _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data; } @override - void update(void Function(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs build() => _build(); + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data build() => _build(); - _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs _build() { - _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs _$result; + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data _build() { + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data _$result; try { - _$result = - _$v ?? _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data._(task: task.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'task'; + task.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -24260,105 +27117,122 @@ class ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder } } -abstract mixin class ReferenceApiGetProvidersInfoResponseApplicationJsonInterfaceBuilder { - void replace(ReferenceApiGetProvidersInfoResponseApplicationJsonInterface other); - void update(void Function(ReferenceApiGetProvidersInfoResponseApplicationJsonInterfaceBuilder) updates); - ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder get ocs; - set ocs(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterfaceBuilder { + void replace(TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterface other); + void update(void Function(TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder get data; + set data(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder? data); } -class _$ReferenceApiGetProvidersInfoResponseApplicationJson - extends ReferenceApiGetProvidersInfoResponseApplicationJson { +class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs + extends TextProcessingApiDeleteTaskResponseApplicationJson_Ocs { @override - final ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs ocs; + final OCSMeta meta; + @override + final TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data data; - factory _$ReferenceApiGetProvidersInfoResponseApplicationJson( - [void Function(ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder)? updates]) => - (ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs( + [void Function(TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder)? updates]) => + (TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$ReferenceApiGetProvidersInfoResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'ReferenceApiGetProvidersInfoResponseApplicationJson', 'ocs'); + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs', 'data'); } @override - ReferenceApiGetProvidersInfoResponseApplicationJson rebuild( - void Function(ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder) updates) => + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs rebuild( + void Function(TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder toBuilder() => - ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder()..replace(this); + TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder toBuilder() => + TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiGetProvidersInfoResponseApplicationJson && ocs == other.ocs; + return other is TextProcessingApiDeleteTaskResponseApplicationJson_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'ReferenceApiGetProvidersInfoResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder +class TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder implements - Builder, - ReferenceApiGetProvidersInfoResponseApplicationJsonInterfaceBuilder { - _$ReferenceApiGetProvidersInfoResponseApplicationJson? _$v; + Builder, + TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterfaceBuilder { + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs? _$v; - ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder? _ocs; - ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder(); - set ocs(covariant ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder(); + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder? _data; + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder get _$this { + TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder(); + + TextProcessingApiDeleteTaskResponseApplicationJson_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(covariant ReferenceApiGetProvidersInfoResponseApplicationJson other) { + void replace(covariant TextProcessingApiDeleteTaskResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiGetProvidersInfoResponseApplicationJson; + _$v = other as _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs; } @override - void update(void Function(ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder)? updates) { + void update(void Function(TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - ReferenceApiGetProvidersInfoResponseApplicationJson build() => _build(); + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs build() => _build(); - _$ReferenceApiGetProvidersInfoResponseApplicationJson _build() { - _$ReferenceApiGetProvidersInfoResponseApplicationJson _$result; + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs _build() { + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$ReferenceApiGetProvidersInfoResponseApplicationJson._(ocs: ocs.build()); + _$result = + _$v ?? _$TextProcessingApiDeleteTaskResponseApplicationJson_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'ReferenceApiGetProvidersInfoResponseApplicationJson', _$failedField, e.toString()); + r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -24367,220 +27241,212 @@ class ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder } } -abstract mixin class ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - bool? get success; - set success(bool? success); +abstract mixin class TextProcessingApiDeleteTaskResponseApplicationJsonInterfaceBuilder { + void replace(TextProcessingApiDeleteTaskResponseApplicationJsonInterface other); + void update(void Function(TextProcessingApiDeleteTaskResponseApplicationJsonInterfaceBuilder) updates); + TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder get ocs; + set ocs(TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder? ocs); } -class _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data - extends ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data { +class _$TextProcessingApiDeleteTaskResponseApplicationJson extends TextProcessingApiDeleteTaskResponseApplicationJson { @override - final bool success; + final TextProcessingApiDeleteTaskResponseApplicationJson_Ocs ocs; - factory _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data( - [void Function(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$TextProcessingApiDeleteTaskResponseApplicationJson( + [void Function(TextProcessingApiDeleteTaskResponseApplicationJsonBuilder)? updates]) => + (TextProcessingApiDeleteTaskResponseApplicationJsonBuilder()..update(updates))._build(); - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data._({required this.success}) : super._() { - BuiltValueNullFieldError.checkNotNull( - success, r'ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data', 'success'); + _$TextProcessingApiDeleteTaskResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'TextProcessingApiDeleteTaskResponseApplicationJson', 'ocs'); } @override - ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data rebuild( - void Function(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder) updates) => + TextProcessingApiDeleteTaskResponseApplicationJson rebuild( + void Function(TextProcessingApiDeleteTaskResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder toBuilder() => - ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder()..replace(this); + TextProcessingApiDeleteTaskResponseApplicationJsonBuilder toBuilder() => + TextProcessingApiDeleteTaskResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data && success == other.success; + return other is TextProcessingApiDeleteTaskResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, success.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data') - ..add('success', success)) + return (newBuiltValueToStringHelper(r'TextProcessingApiDeleteTaskResponseApplicationJson')..add('ocs', ocs)) .toString(); } } -class ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder +class TextProcessingApiDeleteTaskResponseApplicationJsonBuilder implements - Builder, - ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data? _$v; + Builder, + TextProcessingApiDeleteTaskResponseApplicationJsonInterfaceBuilder { + _$TextProcessingApiDeleteTaskResponseApplicationJson? _$v; - bool? _success; - bool? get success => _$this._success; - set success(covariant bool? success) => _$this._success = success; + TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder? _ocs; + TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder(); + set ocs(covariant TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder(); + TextProcessingApiDeleteTaskResponseApplicationJsonBuilder(); - ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder get _$this { + TextProcessingApiDeleteTaskResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _success = $v.success; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data other) { + void replace(covariant TextProcessingApiDeleteTaskResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data; + _$v = other as _$TextProcessingApiDeleteTaskResponseApplicationJson; } @override - void update(void Function(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(TextProcessingApiDeleteTaskResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data build() => _build(); + TextProcessingApiDeleteTaskResponseApplicationJson build() => _build(); - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data _build() { - final _$result = _$v ?? - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data._( - success: BuiltValueNullFieldError.checkNotNull( - success, r'ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data', 'success')); + _$TextProcessingApiDeleteTaskResponseApplicationJson _build() { + _$TextProcessingApiDeleteTaskResponseApplicationJson _$result; + try { + _$result = _$v ?? _$TextProcessingApiDeleteTaskResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'TextProcessingApiDeleteTaskResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class ReferenceApiTouchProviderResponseApplicationJson_OcsInterfaceBuilder { - void replace(ReferenceApiTouchProviderResponseApplicationJson_OcsInterface other); - void update(void Function(ReferenceApiTouchProviderResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder get data; - set data(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder? data); +abstract mixin class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + ListBuilder get tasks; + set tasks(ListBuilder? tasks); } -class _$ReferenceApiTouchProviderResponseApplicationJson_Ocs - extends ReferenceApiTouchProviderResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data + extends TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data { @override - final ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data data; + final BuiltList tasks; - factory _$ReferenceApiTouchProviderResponseApplicationJson_Ocs( - [void Function(ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder)? updates]) => - (ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data( + [void Function(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'ReferenceApiTouchProviderResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'ReferenceApiTouchProviderResponseApplicationJson_Ocs', 'data'); + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data._({required this.tasks}) : super._() { + BuiltValueNullFieldError.checkNotNull( + tasks, r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data', 'tasks'); } @override - ReferenceApiTouchProviderResponseApplicationJson_Ocs rebuild( - void Function(ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder) updates) => + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data rebuild( + void Function(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder toBuilder() => - ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder()..replace(this); + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder toBuilder() => + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiTouchProviderResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data && tasks == other.tasks; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, tasks.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiTouchProviderResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data') + ..add('tasks', tasks)) .toString(); } } -class ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder +class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder implements - Builder, - ReferenceApiTouchProviderResponseApplicationJson_OcsInterfaceBuilder { - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data? _$v; - ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder? _data; - ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + ListBuilder? _tasks; + ListBuilder get tasks => _$this._tasks ??= ListBuilder(); + set tasks(covariant ListBuilder? tasks) => _$this._tasks = tasks; - ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder(); + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder(); - ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder get _$this { + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _tasks = $v.tasks.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceApiTouchProviderResponseApplicationJson_Ocs other) { + void replace(covariant TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiTouchProviderResponseApplicationJson_Ocs; + _$v = other as _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data; } @override - void update(void Function(ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - ReferenceApiTouchProviderResponseApplicationJson_Ocs build() => _build(); + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data build() => _build(); - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs _build() { - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs _$result; + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data _build() { + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data _$result; try { - _$result = - _$v ?? _$ReferenceApiTouchProviderResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data._(tasks: tasks.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'tasks'; + tasks.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'ReferenceApiTouchProviderResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -24589,104 +27455,125 @@ class ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder } } -abstract mixin class ReferenceApiTouchProviderResponseApplicationJsonInterfaceBuilder { - void replace(ReferenceApiTouchProviderResponseApplicationJsonInterface other); - void update(void Function(ReferenceApiTouchProviderResponseApplicationJsonInterfaceBuilder) updates); - ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder get ocs; - set ocs(ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterfaceBuilder { + void replace(TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterface other); + void update(void Function(TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder get data; + set data(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder? data); } -class _$ReferenceApiTouchProviderResponseApplicationJson extends ReferenceApiTouchProviderResponseApplicationJson { +class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs + extends TextProcessingApiListTasksByAppResponseApplicationJson_Ocs { @override - final ReferenceApiTouchProviderResponseApplicationJson_Ocs ocs; + final OCSMeta meta; + @override + final TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data data; - factory _$ReferenceApiTouchProviderResponseApplicationJson( - [void Function(ReferenceApiTouchProviderResponseApplicationJsonBuilder)? updates]) => - (ReferenceApiTouchProviderResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs( + [void Function(TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder)? updates]) => + (TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$ReferenceApiTouchProviderResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'ReferenceApiTouchProviderResponseApplicationJson', 'ocs'); + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs', 'data'); } @override - ReferenceApiTouchProviderResponseApplicationJson rebuild( - void Function(ReferenceApiTouchProviderResponseApplicationJsonBuilder) updates) => + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs rebuild( + void Function(TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiTouchProviderResponseApplicationJsonBuilder toBuilder() => - ReferenceApiTouchProviderResponseApplicationJsonBuilder()..replace(this); + TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder toBuilder() => + TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiTouchProviderResponseApplicationJson && ocs == other.ocs; + return other is TextProcessingApiListTasksByAppResponseApplicationJson_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'ReferenceApiTouchProviderResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class ReferenceApiTouchProviderResponseApplicationJsonBuilder +class TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder implements - Builder, - ReferenceApiTouchProviderResponseApplicationJsonInterfaceBuilder { - _$ReferenceApiTouchProviderResponseApplicationJson? _$v; + Builder, + TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterfaceBuilder { + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs? _$v; - ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder? _ocs; - ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder(); - set ocs(covariant ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - ReferenceApiTouchProviderResponseApplicationJsonBuilder(); + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder? _data; + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder? data) => + _$this._data = data; - ReferenceApiTouchProviderResponseApplicationJsonBuilder get _$this { + TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder(); + + TextProcessingApiListTasksByAppResponseApplicationJson_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(covariant ReferenceApiTouchProviderResponseApplicationJson other) { + void replace(covariant TextProcessingApiListTasksByAppResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiTouchProviderResponseApplicationJson; + _$v = other as _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs; } @override - void update(void Function(ReferenceApiTouchProviderResponseApplicationJsonBuilder)? updates) { + void update(void Function(TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - ReferenceApiTouchProviderResponseApplicationJson build() => _build(); + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs build() => _build(); - _$ReferenceApiTouchProviderResponseApplicationJson _build() { - _$ReferenceApiTouchProviderResponseApplicationJson _$result; + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs _build() { + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$ReferenceApiTouchProviderResponseApplicationJson._(ocs: ocs.build()); + _$result = + _$v ?? _$TextProcessingApiListTasksByAppResponseApplicationJson_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'ReferenceApiTouchProviderResponseApplicationJson', _$failedField, e.toString()); + r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -24695,290 +27582,250 @@ class ReferenceApiTouchProviderResponseApplicationJsonBuilder } } -abstract mixin class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterfaceBuilder { - void replace(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterface other); - void update(void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterfaceBuilder) updates); - String? get id; - set id(String? id); - - String? get name; - set name(String? name); - - String? get description; - set description(String? description); +abstract mixin class TextProcessingApiListTasksByAppResponseApplicationJsonInterfaceBuilder { + void replace(TextProcessingApiListTasksByAppResponseApplicationJsonInterface other); + void update(void Function(TextProcessingApiListTasksByAppResponseApplicationJsonInterfaceBuilder) updates); + TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder get ocs; + set ocs(TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder? ocs); } -class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types - extends TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types { - @override - final String id; - @override - final String name; +class _$TextProcessingApiListTasksByAppResponseApplicationJson + extends TextProcessingApiListTasksByAppResponseApplicationJson { @override - final String description; - - factory _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types( - [void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder)? updates]) => - (TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder()..update(updates))._build(); - - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types._( - {required this.id, required this.name, required this.description}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - id, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', 'id'); - BuiltValueNullFieldError.checkNotNull( - name, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', 'name'); - BuiltValueNullFieldError.checkNotNull( - description, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', 'description'); + final TextProcessingApiListTasksByAppResponseApplicationJson_Ocs ocs; + + factory _$TextProcessingApiListTasksByAppResponseApplicationJson( + [void Function(TextProcessingApiListTasksByAppResponseApplicationJsonBuilder)? updates]) => + (TextProcessingApiListTasksByAppResponseApplicationJsonBuilder()..update(updates))._build(); + + _$TextProcessingApiListTasksByAppResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'TextProcessingApiListTasksByAppResponseApplicationJson', 'ocs'); } @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types rebuild( - void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder) updates) => + TextProcessingApiListTasksByAppResponseApplicationJson rebuild( + void Function(TextProcessingApiListTasksByAppResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder toBuilder() => - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder()..replace(this); + TextProcessingApiListTasksByAppResponseApplicationJsonBuilder toBuilder() => + TextProcessingApiListTasksByAppResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types && - id == other.id && - name == other.name && - description == other.description; + return other is TextProcessingApiListTasksByAppResponseApplicationJson && ocs == other.ocs; } @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, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types') - ..add('id', id) - ..add('name', name) - ..add('description', description)) + return (newBuiltValueToStringHelper(r'TextProcessingApiListTasksByAppResponseApplicationJson')..add('ocs', ocs)) .toString(); } } -class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder +class TextProcessingApiListTasksByAppResponseApplicationJsonBuilder implements - Builder, - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterfaceBuilder { - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types? _$v; - - String? _id; - String? get id => _$this._id; - set id(covariant String? id) => _$this._id = id; - - String? _name; - String? get name => _$this._name; - set name(covariant String? name) => _$this._name = name; + Builder, + TextProcessingApiListTasksByAppResponseApplicationJsonInterfaceBuilder { + _$TextProcessingApiListTasksByAppResponseApplicationJson? _$v; - String? _description; - String? get description => _$this._description; - set description(covariant String? description) => _$this._description = description; + TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder? _ocs; + TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder(); + set ocs(covariant TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder(); + TextProcessingApiListTasksByAppResponseApplicationJsonBuilder(); - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder get _$this { + TextProcessingApiListTasksByAppResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _name = $v.name; - _description = $v.description; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types other) { + void replace(covariant TextProcessingApiListTasksByAppResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types; + _$v = other as _$TextProcessingApiListTasksByAppResponseApplicationJson; } @override - void update(void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder)? updates) { + void update(void Function(TextProcessingApiListTasksByAppResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types build() => _build(); + TextProcessingApiListTasksByAppResponseApplicationJson build() => _build(); - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types _build() { - final _$result = _$v ?? - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types._( - id: BuiltValueNullFieldError.checkNotNull( - id, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', 'id'), - name: BuiltValueNullFieldError.checkNotNull( - name, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', 'name'), - description: BuiltValueNullFieldError.checkNotNull( - description, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', 'description')); + _$TextProcessingApiListTasksByAppResponseApplicationJson _build() { + _$TextProcessingApiListTasksByAppResponseApplicationJson _$result; + try { + _$result = _$v ?? _$TextProcessingApiListTasksByAppResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'TextProcessingApiListTasksByAppResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - ListBuilder get types; - set types(ListBuilder? types); +abstract mixin class TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + bool? get isAvailable; + set isAvailable(bool? isAvailable); } -class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data - extends TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data { +class _$TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data + extends TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data { @override - final BuiltList types; + final bool isAvailable; - factory _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data( - [void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data( + [void Function(TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data._({required this.types}) : super._() { + _$TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data._({required this.isAvailable}) : super._() { BuiltValueNullFieldError.checkNotNull( - types, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data', 'types'); + isAvailable, r'TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data', 'isAvailable'); } @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data rebuild( - void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder) updates) => + TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data rebuild( + void Function(TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder toBuilder() => - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder()..replace(this); + TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataBuilder toBuilder() => + TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data && types == other.types; + return other is TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data && isAvailable == other.isAvailable; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, types.hashCode); + _$hash = $jc(_$hash, isAvailable.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data') - ..add('types', types)) + return (newBuiltValueToStringHelper(r'TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data') + ..add('isAvailable', isAvailable)) .toString(); } } -class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder +class TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataBuilder implements - Builder, - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data? _$v; + Builder, + TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data? _$v; - ListBuilder? _types; - ListBuilder get types => - _$this._types ??= ListBuilder(); - set types(covariant ListBuilder? types) => - _$this._types = types; + bool? _isAvailable; + bool? get isAvailable => _$this._isAvailable; + set isAvailable(covariant bool? isAvailable) => _$this._isAvailable = isAvailable; - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder(); + TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataBuilder(); - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder get _$this { + TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _types = $v.types.toBuilder(); + _isAvailable = $v.isAvailable; _$v = null; } return this; } @override - void replace(covariant TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data other) { + void replace(covariant TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data; + _$v = other as _$TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data; } @override - void update(void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data build() => _build(); + TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data build() => _build(); - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data _build() { - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data _$result; - try { - _$result = _$v ?? _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data._(types: types.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'types'; - types.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); - } - rethrow; - } + _$TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data._( + isAvailable: BuiltValueNullFieldError.checkNotNull( + isAvailable, r'TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data', 'isAvailable')); replace(_$result); return _$result; } } -abstract mixin class TextProcessingApiTaskTypesResponseApplicationJson_OcsInterfaceBuilder { - void replace(TextProcessingApiTaskTypesResponseApplicationJson_OcsInterface other); - void update(void Function(TextProcessingApiTaskTypesResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class TextToImageApiIsAvailableResponseApplicationJson_OcsInterfaceBuilder { + void replace(TextToImageApiIsAvailableResponseApplicationJson_OcsInterface other); + void update(void Function(TextToImageApiIsAvailableResponseApplicationJson_OcsInterfaceBuilder) updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder get data; - set data(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder? data); + TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataBuilder get data; + set data(TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataBuilder? data); } -class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs - extends TextProcessingApiTaskTypesResponseApplicationJson_Ocs { +class _$TextToImageApiIsAvailableResponseApplicationJson_Ocs + extends TextToImageApiIsAvailableResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data data; + final TextToImageApiIsAvailableResponseApplicationJson_Ocs_Data data; - factory _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs( - [void Function(TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder)? updates]) => - (TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$TextToImageApiIsAvailableResponseApplicationJson_Ocs( + [void Function(TextToImageApiIsAvailableResponseApplicationJson_OcsBuilder)? updates]) => + (TextToImageApiIsAvailableResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs', 'data'); + _$TextToImageApiIsAvailableResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'TextToImageApiIsAvailableResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'TextToImageApiIsAvailableResponseApplicationJson_Ocs', 'data'); } @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs rebuild( - void Function(TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder) updates) => + TextToImageApiIsAvailableResponseApplicationJson_Ocs rebuild( + void Function(TextToImageApiIsAvailableResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder toBuilder() => - TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder()..replace(this); + TextToImageApiIsAvailableResponseApplicationJson_OcsBuilder toBuilder() => + TextToImageApiIsAvailableResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiTaskTypesResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is TextToImageApiIsAvailableResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @override @@ -24992,32 +27839,32 @@ class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'TextToImageApiIsAvailableResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder +class TextToImageApiIsAvailableResponseApplicationJson_OcsBuilder implements - Builder, - TextProcessingApiTaskTypesResponseApplicationJson_OcsInterfaceBuilder { - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs? _$v; + Builder, + TextToImageApiIsAvailableResponseApplicationJson_OcsInterfaceBuilder { + _$TextToImageApiIsAvailableResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder? _data; - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataBuilder? _data; + TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant TextToImageApiIsAvailableResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder(); + TextToImageApiIsAvailableResponseApplicationJson_OcsBuilder(); - TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder get _$this { + TextToImageApiIsAvailableResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -25028,24 +27875,24 @@ class TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder } @override - void replace(covariant TextProcessingApiTaskTypesResponseApplicationJson_Ocs other) { + void replace(covariant TextToImageApiIsAvailableResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs; + _$v = other as _$TextToImageApiIsAvailableResponseApplicationJson_Ocs; } @override - void update(void Function(TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(TextToImageApiIsAvailableResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs build() => _build(); + TextToImageApiIsAvailableResponseApplicationJson_Ocs build() => _build(); - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs _build() { - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs _$result; + _$TextToImageApiIsAvailableResponseApplicationJson_Ocs _build() { + _$TextToImageApiIsAvailableResponseApplicationJson_Ocs _$result; try { _$result = - _$v ?? _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$v ?? _$TextToImageApiIsAvailableResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -25055,7 +27902,7 @@ class TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'TextToImageApiIsAvailableResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -25064,38 +27911,38 @@ class TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder } } -abstract mixin class TextProcessingApiTaskTypesResponseApplicationJsonInterfaceBuilder { - void replace(TextProcessingApiTaskTypesResponseApplicationJsonInterface other); - void update(void Function(TextProcessingApiTaskTypesResponseApplicationJsonInterfaceBuilder) updates); - TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder get ocs; - set ocs(TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class TextToImageApiIsAvailableResponseApplicationJsonInterfaceBuilder { + void replace(TextToImageApiIsAvailableResponseApplicationJsonInterface other); + void update(void Function(TextToImageApiIsAvailableResponseApplicationJsonInterfaceBuilder) updates); + TextToImageApiIsAvailableResponseApplicationJson_OcsBuilder get ocs; + set ocs(TextToImageApiIsAvailableResponseApplicationJson_OcsBuilder? ocs); } -class _$TextProcessingApiTaskTypesResponseApplicationJson extends TextProcessingApiTaskTypesResponseApplicationJson { +class _$TextToImageApiIsAvailableResponseApplicationJson extends TextToImageApiIsAvailableResponseApplicationJson { @override - final TextProcessingApiTaskTypesResponseApplicationJson_Ocs ocs; + final TextToImageApiIsAvailableResponseApplicationJson_Ocs ocs; - factory _$TextProcessingApiTaskTypesResponseApplicationJson( - [void Function(TextProcessingApiTaskTypesResponseApplicationJsonBuilder)? updates]) => - (TextProcessingApiTaskTypesResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$TextToImageApiIsAvailableResponseApplicationJson( + [void Function(TextToImageApiIsAvailableResponseApplicationJsonBuilder)? updates]) => + (TextToImageApiIsAvailableResponseApplicationJsonBuilder()..update(updates))._build(); - _$TextProcessingApiTaskTypesResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'TextProcessingApiTaskTypesResponseApplicationJson', 'ocs'); + _$TextToImageApiIsAvailableResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'TextToImageApiIsAvailableResponseApplicationJson', 'ocs'); } @override - TextProcessingApiTaskTypesResponseApplicationJson rebuild( - void Function(TextProcessingApiTaskTypesResponseApplicationJsonBuilder) updates) => + TextToImageApiIsAvailableResponseApplicationJson rebuild( + void Function(TextToImageApiIsAvailableResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiTaskTypesResponseApplicationJsonBuilder toBuilder() => - TextProcessingApiTaskTypesResponseApplicationJsonBuilder()..replace(this); + TextToImageApiIsAvailableResponseApplicationJsonBuilder toBuilder() => + TextToImageApiIsAvailableResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiTaskTypesResponseApplicationJson && ocs == other.ocs; + return other is TextToImageApiIsAvailableResponseApplicationJson && ocs == other.ocs; } @override @@ -25108,26 +27955,26 @@ class _$TextProcessingApiTaskTypesResponseApplicationJson extends TextProcessing @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiTaskTypesResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'TextToImageApiIsAvailableResponseApplicationJson')..add('ocs', ocs)) .toString(); } } -class TextProcessingApiTaskTypesResponseApplicationJsonBuilder +class TextToImageApiIsAvailableResponseApplicationJsonBuilder implements - Builder, - TextProcessingApiTaskTypesResponseApplicationJsonInterfaceBuilder { - _$TextProcessingApiTaskTypesResponseApplicationJson? _$v; + Builder, + TextToImageApiIsAvailableResponseApplicationJsonInterfaceBuilder { + _$TextToImageApiIsAvailableResponseApplicationJson? _$v; - TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder? _ocs; - TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder(); - set ocs(covariant TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + TextToImageApiIsAvailableResponseApplicationJson_OcsBuilder? _ocs; + TextToImageApiIsAvailableResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= TextToImageApiIsAvailableResponseApplicationJson_OcsBuilder(); + set ocs(covariant TextToImageApiIsAvailableResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - TextProcessingApiTaskTypesResponseApplicationJsonBuilder(); + TextToImageApiIsAvailableResponseApplicationJsonBuilder(); - TextProcessingApiTaskTypesResponseApplicationJsonBuilder get _$this { + TextToImageApiIsAvailableResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -25137,23 +27984,23 @@ class TextProcessingApiTaskTypesResponseApplicationJsonBuilder } @override - void replace(covariant TextProcessingApiTaskTypesResponseApplicationJson other) { + void replace(covariant TextToImageApiIsAvailableResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiTaskTypesResponseApplicationJson; + _$v = other as _$TextToImageApiIsAvailableResponseApplicationJson; } @override - void update(void Function(TextProcessingApiTaskTypesResponseApplicationJsonBuilder)? updates) { + void update(void Function(TextToImageApiIsAvailableResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - TextProcessingApiTaskTypesResponseApplicationJson build() => _build(); + TextToImageApiIsAvailableResponseApplicationJson build() => _build(); - _$TextProcessingApiTaskTypesResponseApplicationJson _build() { - _$TextProcessingApiTaskTypesResponseApplicationJson _$result; + _$TextToImageApiIsAvailableResponseApplicationJson _build() { + _$TextToImageApiIsAvailableResponseApplicationJson _$result; try { - _$result = _$v ?? _$TextProcessingApiTaskTypesResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$TextToImageApiIsAvailableResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -25161,7 +28008,7 @@ class TextProcessingApiTaskTypesResponseApplicationJsonBuilder ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'TextProcessingApiTaskTypesResponseApplicationJson', _$failedField, e.toString()); + r'TextToImageApiIsAvailableResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -25170,15 +28017,12 @@ class TextProcessingApiTaskTypesResponseApplicationJsonBuilder } } -abstract mixin class TextProcessingTaskInterfaceBuilder { - void replace(TextProcessingTaskInterface other); - void update(void Function(TextProcessingTaskInterfaceBuilder) updates); +abstract mixin class TextToImageTaskInterfaceBuilder { + void replace(TextToImageTaskInterface other); + void update(void Function(TextToImageTaskInterfaceBuilder) updates); int? get id; set id(int? id); - String? get type; - set type(String? type); - int? get status; set status(int? status); @@ -25191,19 +28035,20 @@ abstract mixin class TextProcessingTaskInterfaceBuilder { String? get input; set input(String? input); - String? get output; - set output(String? output); - String? get identifier; set identifier(String? identifier); + + int? get numberOfImages; + set numberOfImages(int? numberOfImages); + + int? get completionExpectedAt; + set completionExpectedAt(int? completionExpectedAt); } -class _$TextProcessingTask extends TextProcessingTask { +class _$TextToImageTask extends TextToImageTask { @override final int? id; @override - final String type; - @override final int status; @override final String? userId; @@ -25212,93 +28057,89 @@ class _$TextProcessingTask extends TextProcessingTask { @override final String input; @override - final String? output; + final String? identifier; @override - final String identifier; + final int numberOfImages; + @override + final int? completionExpectedAt; - factory _$TextProcessingTask([void Function(TextProcessingTaskBuilder)? updates]) => - (TextProcessingTaskBuilder()..update(updates))._build(); + factory _$TextToImageTask([void Function(TextToImageTaskBuilder)? updates]) => + (TextToImageTaskBuilder()..update(updates))._build(); - _$TextProcessingTask._( + _$TextToImageTask._( {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'TextProcessingTask', 'type'); - BuiltValueNullFieldError.checkNotNull(status, r'TextProcessingTask', 'status'); - BuiltValueNullFieldError.checkNotNull(appId, r'TextProcessingTask', 'appId'); - BuiltValueNullFieldError.checkNotNull(input, r'TextProcessingTask', 'input'); - BuiltValueNullFieldError.checkNotNull(identifier, r'TextProcessingTask', 'identifier'); + this.userId, + required this.appId, + required this.input, + this.identifier, + required this.numberOfImages, + this.completionExpectedAt}) + : super._() { + BuiltValueNullFieldError.checkNotNull(status, r'TextToImageTask', 'status'); + BuiltValueNullFieldError.checkNotNull(appId, r'TextToImageTask', 'appId'); + BuiltValueNullFieldError.checkNotNull(input, r'TextToImageTask', 'input'); + BuiltValueNullFieldError.checkNotNull(numberOfImages, r'TextToImageTask', 'numberOfImages'); } @override - TextProcessingTask rebuild(void Function(TextProcessingTaskBuilder) updates) => - (toBuilder()..update(updates)).build(); + TextToImageTask rebuild(void Function(TextToImageTaskBuilder) updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingTaskBuilder toBuilder() => TextProcessingTaskBuilder()..replace(this); + TextToImageTaskBuilder toBuilder() => TextToImageTaskBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingTask && + return other is TextToImageTask && id == other.id && - type == other.type && status == other.status && userId == other.userId && appId == other.appId && input == other.input && - output == other.output && - identifier == other.identifier; + identifier == other.identifier && + numberOfImages == other.numberOfImages && + completionExpectedAt == other.completionExpectedAt; } @override int get hashCode { var _$hash = 0; _$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 = $jc(_$hash, numberOfImages.hashCode); + _$hash = $jc(_$hash, completionExpectedAt.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingTask') + return (newBuiltValueToStringHelper(r'TextToImageTask') ..add('id', id) - ..add('type', type) ..add('status', status) ..add('userId', userId) ..add('appId', appId) ..add('input', input) - ..add('output', output) - ..add('identifier', identifier)) + ..add('identifier', identifier) + ..add('numberOfImages', numberOfImages) + ..add('completionExpectedAt', completionExpectedAt)) .toString(); } } -class TextProcessingTaskBuilder - implements Builder, TextProcessingTaskInterfaceBuilder { - _$TextProcessingTask? _$v; +class TextToImageTaskBuilder + implements Builder, TextToImageTaskInterfaceBuilder { + _$TextToImageTask? _$v; int? _id; int? get id => _$this._id; set id(covariant int? id) => _$this._id = id; - String? _type; - String? get type => _$this._type; - set type(covariant String? type) => _$this._type = type; - int? _status; int? get status => _$this._status; set status(covariant int? status) => _$this._status = status; @@ -25315,95 +28156,99 @@ class TextProcessingTaskBuilder String? get input => _$this._input; set input(covariant String? input) => _$this._input = input; - String? _output; - String? get output => _$this._output; - set output(covariant String? output) => _$this._output = output; - String? _identifier; String? get identifier => _$this._identifier; set identifier(covariant String? identifier) => _$this._identifier = identifier; - TextProcessingTaskBuilder(); + int? _numberOfImages; + int? get numberOfImages => _$this._numberOfImages; + set numberOfImages(covariant int? numberOfImages) => _$this._numberOfImages = numberOfImages; - TextProcessingTaskBuilder get _$this { + int? _completionExpectedAt; + int? get completionExpectedAt => _$this._completionExpectedAt; + set completionExpectedAt(covariant int? completionExpectedAt) => _$this._completionExpectedAt = completionExpectedAt; + + TextToImageTaskBuilder(); + + TextToImageTaskBuilder get _$this { final $v = _$v; if ($v != null) { _id = $v.id; - _type = $v.type; _status = $v.status; _userId = $v.userId; _appId = $v.appId; _input = $v.input; - _output = $v.output; _identifier = $v.identifier; + _numberOfImages = $v.numberOfImages; + _completionExpectedAt = $v.completionExpectedAt; _$v = null; } return this; } @override - void replace(covariant TextProcessingTask other) { + void replace(covariant TextToImageTask other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingTask; + _$v = other as _$TextToImageTask; } @override - void update(void Function(TextProcessingTaskBuilder)? updates) { + void update(void Function(TextToImageTaskBuilder)? updates) { if (updates != null) updates(this); } @override - TextProcessingTask build() => _build(); + TextToImageTask build() => _build(); - _$TextProcessingTask _build() { + _$TextToImageTask _build() { final _$result = _$v ?? - _$TextProcessingTask._( + _$TextToImageTask._( id: id, - type: BuiltValueNullFieldError.checkNotNull(type, r'TextProcessingTask', 'type'), - status: BuiltValueNullFieldError.checkNotNull(status, r'TextProcessingTask', 'status'), + status: BuiltValueNullFieldError.checkNotNull(status, r'TextToImageTask', 'status'), userId: userId, - appId: BuiltValueNullFieldError.checkNotNull(appId, r'TextProcessingTask', 'appId'), - input: BuiltValueNullFieldError.checkNotNull(input, r'TextProcessingTask', 'input'), - output: output, - identifier: BuiltValueNullFieldError.checkNotNull(identifier, r'TextProcessingTask', 'identifier')); + appId: BuiltValueNullFieldError.checkNotNull(appId, r'TextToImageTask', 'appId'), + input: BuiltValueNullFieldError.checkNotNull(input, r'TextToImageTask', 'input'), + identifier: identifier, + numberOfImages: BuiltValueNullFieldError.checkNotNull(numberOfImages, r'TextToImageTask', 'numberOfImages'), + completionExpectedAt: completionExpectedAt); replace(_$result); return _$result; } } -abstract mixin class TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - TextProcessingTaskBuilder get task; - set task(TextProcessingTaskBuilder? task); +abstract mixin class TextToImageApiScheduleResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(TextToImageApiScheduleResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(TextToImageApiScheduleResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + TextToImageTaskBuilder get task; + set task(TextToImageTaskBuilder? task); } -class _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data - extends TextProcessingApiScheduleResponseApplicationJson_Ocs_Data { +class _$TextToImageApiScheduleResponseApplicationJson_Ocs_Data + extends TextToImageApiScheduleResponseApplicationJson_Ocs_Data { @override - final TextProcessingTask task; + final TextToImageTask task; - factory _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data( - [void Function(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$TextToImageApiScheduleResponseApplicationJson_Ocs_Data( + [void Function(TextToImageApiScheduleResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (TextToImageApiScheduleResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data._({required this.task}) : super._() { - BuiltValueNullFieldError.checkNotNull(task, r'TextProcessingApiScheduleResponseApplicationJson_Ocs_Data', 'task'); + _$TextToImageApiScheduleResponseApplicationJson_Ocs_Data._({required this.task}) : super._() { + BuiltValueNullFieldError.checkNotNull(task, r'TextToImageApiScheduleResponseApplicationJson_Ocs_Data', 'task'); } @override - TextProcessingApiScheduleResponseApplicationJson_Ocs_Data rebuild( - void Function(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder) updates) => + TextToImageApiScheduleResponseApplicationJson_Ocs_Data rebuild( + void Function(TextToImageApiScheduleResponseApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder toBuilder() => - TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder()..replace(this); + TextToImageApiScheduleResponseApplicationJson_Ocs_DataBuilder toBuilder() => + TextToImageApiScheduleResponseApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiScheduleResponseApplicationJson_Ocs_Data && task == other.task; + return other is TextToImageApiScheduleResponseApplicationJson_Ocs_Data && task == other.task; } @override @@ -25416,26 +28261,25 @@ class _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiScheduleResponseApplicationJson_Ocs_Data') - ..add('task', task)) + return (newBuiltValueToStringHelper(r'TextToImageApiScheduleResponseApplicationJson_Ocs_Data')..add('task', task)) .toString(); } } -class TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder +class TextToImageApiScheduleResponseApplicationJson_Ocs_DataBuilder implements - Builder, - TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data? _$v; + Builder, + TextToImageApiScheduleResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$TextToImageApiScheduleResponseApplicationJson_Ocs_Data? _$v; - TextProcessingTaskBuilder? _task; - TextProcessingTaskBuilder get task => _$this._task ??= TextProcessingTaskBuilder(); - set task(covariant TextProcessingTaskBuilder? task) => _$this._task = task; + TextToImageTaskBuilder? _task; + TextToImageTaskBuilder get task => _$this._task ??= TextToImageTaskBuilder(); + set task(covariant TextToImageTaskBuilder? task) => _$this._task = task; - TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder(); + TextToImageApiScheduleResponseApplicationJson_Ocs_DataBuilder(); - TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder get _$this { + TextToImageApiScheduleResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { _task = $v.task.toBuilder(); @@ -25445,23 +28289,23 @@ class TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder } @override - void replace(covariant TextProcessingApiScheduleResponseApplicationJson_Ocs_Data other) { + void replace(covariant TextToImageApiScheduleResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data; + _$v = other as _$TextToImageApiScheduleResponseApplicationJson_Ocs_Data; } @override - void update(void Function(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(TextToImageApiScheduleResponseApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - TextProcessingApiScheduleResponseApplicationJson_Ocs_Data build() => _build(); + TextToImageApiScheduleResponseApplicationJson_Ocs_Data build() => _build(); - _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data _build() { - _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data _$result; + _$TextToImageApiScheduleResponseApplicationJson_Ocs_Data _build() { + _$TextToImageApiScheduleResponseApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data._(task: task.build()); + _$result = _$v ?? _$TextToImageApiScheduleResponseApplicationJson_Ocs_Data._(task: task.build()); } catch (_) { late String _$failedField; try { @@ -25469,7 +28313,7 @@ class TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder task.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'TextProcessingApiScheduleResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + r'TextToImageApiScheduleResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -25478,45 +28322,44 @@ class TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder } } -abstract mixin class TextProcessingApiScheduleResponseApplicationJson_OcsInterfaceBuilder { - void replace(TextProcessingApiScheduleResponseApplicationJson_OcsInterface other); - void update(void Function(TextProcessingApiScheduleResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class TextToImageApiScheduleResponseApplicationJson_OcsInterfaceBuilder { + void replace(TextToImageApiScheduleResponseApplicationJson_OcsInterface other); + void update(void Function(TextToImageApiScheduleResponseApplicationJson_OcsInterfaceBuilder) updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder get data; - set data(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder? data); + TextToImageApiScheduleResponseApplicationJson_Ocs_DataBuilder get data; + set data(TextToImageApiScheduleResponseApplicationJson_Ocs_DataBuilder? data); } -class _$TextProcessingApiScheduleResponseApplicationJson_Ocs - extends TextProcessingApiScheduleResponseApplicationJson_Ocs { +class _$TextToImageApiScheduleResponseApplicationJson_Ocs extends TextToImageApiScheduleResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final TextProcessingApiScheduleResponseApplicationJson_Ocs_Data data; + final TextToImageApiScheduleResponseApplicationJson_Ocs_Data data; - factory _$TextProcessingApiScheduleResponseApplicationJson_Ocs( - [void Function(TextProcessingApiScheduleResponseApplicationJson_OcsBuilder)? updates]) => - (TextProcessingApiScheduleResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$TextToImageApiScheduleResponseApplicationJson_Ocs( + [void Function(TextToImageApiScheduleResponseApplicationJson_OcsBuilder)? updates]) => + (TextToImageApiScheduleResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$TextProcessingApiScheduleResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'TextProcessingApiScheduleResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'TextProcessingApiScheduleResponseApplicationJson_Ocs', 'data'); + _$TextToImageApiScheduleResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'TextToImageApiScheduleResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'TextToImageApiScheduleResponseApplicationJson_Ocs', 'data'); } @override - TextProcessingApiScheduleResponseApplicationJson_Ocs rebuild( - void Function(TextProcessingApiScheduleResponseApplicationJson_OcsBuilder) updates) => + TextToImageApiScheduleResponseApplicationJson_Ocs rebuild( + void Function(TextToImageApiScheduleResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiScheduleResponseApplicationJson_OcsBuilder toBuilder() => - TextProcessingApiScheduleResponseApplicationJson_OcsBuilder()..replace(this); + TextToImageApiScheduleResponseApplicationJson_OcsBuilder toBuilder() => + TextToImageApiScheduleResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiScheduleResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is TextToImageApiScheduleResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @override @@ -25530,32 +28373,32 @@ class _$TextProcessingApiScheduleResponseApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiScheduleResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'TextToImageApiScheduleResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class TextProcessingApiScheduleResponseApplicationJson_OcsBuilder +class TextToImageApiScheduleResponseApplicationJson_OcsBuilder implements - Builder, - TextProcessingApiScheduleResponseApplicationJson_OcsInterfaceBuilder { - _$TextProcessingApiScheduleResponseApplicationJson_Ocs? _$v; + Builder, + TextToImageApiScheduleResponseApplicationJson_OcsInterfaceBuilder { + _$TextToImageApiScheduleResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder? _data; - TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + TextToImageApiScheduleResponseApplicationJson_Ocs_DataBuilder? _data; + TextToImageApiScheduleResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= TextToImageApiScheduleResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant TextToImageApiScheduleResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - TextProcessingApiScheduleResponseApplicationJson_OcsBuilder(); + TextToImageApiScheduleResponseApplicationJson_OcsBuilder(); - TextProcessingApiScheduleResponseApplicationJson_OcsBuilder get _$this { + TextToImageApiScheduleResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -25566,24 +28409,23 @@ class TextProcessingApiScheduleResponseApplicationJson_OcsBuilder } @override - void replace(covariant TextProcessingApiScheduleResponseApplicationJson_Ocs other) { + void replace(covariant TextToImageApiScheduleResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiScheduleResponseApplicationJson_Ocs; + _$v = other as _$TextToImageApiScheduleResponseApplicationJson_Ocs; } @override - void update(void Function(TextProcessingApiScheduleResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(TextToImageApiScheduleResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - TextProcessingApiScheduleResponseApplicationJson_Ocs build() => _build(); + TextToImageApiScheduleResponseApplicationJson_Ocs build() => _build(); - _$TextProcessingApiScheduleResponseApplicationJson_Ocs _build() { - _$TextProcessingApiScheduleResponseApplicationJson_Ocs _$result; + _$TextToImageApiScheduleResponseApplicationJson_Ocs _build() { + _$TextToImageApiScheduleResponseApplicationJson_Ocs _$result; try { - _$result = - _$v ?? _$TextProcessingApiScheduleResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? _$TextToImageApiScheduleResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -25593,7 +28435,7 @@ class TextProcessingApiScheduleResponseApplicationJson_OcsBuilder data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'TextProcessingApiScheduleResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'TextToImageApiScheduleResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -25602,38 +28444,38 @@ class TextProcessingApiScheduleResponseApplicationJson_OcsBuilder } } -abstract mixin class TextProcessingApiScheduleResponseApplicationJsonInterfaceBuilder { - void replace(TextProcessingApiScheduleResponseApplicationJsonInterface other); - void update(void Function(TextProcessingApiScheduleResponseApplicationJsonInterfaceBuilder) updates); - TextProcessingApiScheduleResponseApplicationJson_OcsBuilder get ocs; - set ocs(TextProcessingApiScheduleResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class TextToImageApiScheduleResponseApplicationJsonInterfaceBuilder { + void replace(TextToImageApiScheduleResponseApplicationJsonInterface other); + void update(void Function(TextToImageApiScheduleResponseApplicationJsonInterfaceBuilder) updates); + TextToImageApiScheduleResponseApplicationJson_OcsBuilder get ocs; + set ocs(TextToImageApiScheduleResponseApplicationJson_OcsBuilder? ocs); } -class _$TextProcessingApiScheduleResponseApplicationJson extends TextProcessingApiScheduleResponseApplicationJson { +class _$TextToImageApiScheduleResponseApplicationJson extends TextToImageApiScheduleResponseApplicationJson { @override - final TextProcessingApiScheduleResponseApplicationJson_Ocs ocs; + final TextToImageApiScheduleResponseApplicationJson_Ocs ocs; - factory _$TextProcessingApiScheduleResponseApplicationJson( - [void Function(TextProcessingApiScheduleResponseApplicationJsonBuilder)? updates]) => - (TextProcessingApiScheduleResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$TextToImageApiScheduleResponseApplicationJson( + [void Function(TextToImageApiScheduleResponseApplicationJsonBuilder)? updates]) => + (TextToImageApiScheduleResponseApplicationJsonBuilder()..update(updates))._build(); - _$TextProcessingApiScheduleResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'TextProcessingApiScheduleResponseApplicationJson', 'ocs'); + _$TextToImageApiScheduleResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'TextToImageApiScheduleResponseApplicationJson', 'ocs'); } @override - TextProcessingApiScheduleResponseApplicationJson rebuild( - void Function(TextProcessingApiScheduleResponseApplicationJsonBuilder) updates) => + TextToImageApiScheduleResponseApplicationJson rebuild( + void Function(TextToImageApiScheduleResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiScheduleResponseApplicationJsonBuilder toBuilder() => - TextProcessingApiScheduleResponseApplicationJsonBuilder()..replace(this); + TextToImageApiScheduleResponseApplicationJsonBuilder toBuilder() => + TextToImageApiScheduleResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiScheduleResponseApplicationJson && ocs == other.ocs; + return other is TextToImageApiScheduleResponseApplicationJson && ocs == other.ocs; } @override @@ -25646,26 +28488,24 @@ class _$TextProcessingApiScheduleResponseApplicationJson extends TextProcessingA @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiScheduleResponseApplicationJson')..add('ocs', ocs)) - .toString(); + return (newBuiltValueToStringHelper(r'TextToImageApiScheduleResponseApplicationJson')..add('ocs', ocs)).toString(); } } -class TextProcessingApiScheduleResponseApplicationJsonBuilder +class TextToImageApiScheduleResponseApplicationJsonBuilder implements - Builder, - TextProcessingApiScheduleResponseApplicationJsonInterfaceBuilder { - _$TextProcessingApiScheduleResponseApplicationJson? _$v; + Builder, + TextToImageApiScheduleResponseApplicationJsonInterfaceBuilder { + _$TextToImageApiScheduleResponseApplicationJson? _$v; - TextProcessingApiScheduleResponseApplicationJson_OcsBuilder? _ocs; - TextProcessingApiScheduleResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= TextProcessingApiScheduleResponseApplicationJson_OcsBuilder(); - set ocs(covariant TextProcessingApiScheduleResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + TextToImageApiScheduleResponseApplicationJson_OcsBuilder? _ocs; + TextToImageApiScheduleResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= TextToImageApiScheduleResponseApplicationJson_OcsBuilder(); + set ocs(covariant TextToImageApiScheduleResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - TextProcessingApiScheduleResponseApplicationJsonBuilder(); + TextToImageApiScheduleResponseApplicationJsonBuilder(); - TextProcessingApiScheduleResponseApplicationJsonBuilder get _$this { + TextToImageApiScheduleResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -25675,31 +28515,30 @@ class TextProcessingApiScheduleResponseApplicationJsonBuilder } @override - void replace(covariant TextProcessingApiScheduleResponseApplicationJson other) { + void replace(covariant TextToImageApiScheduleResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiScheduleResponseApplicationJson; + _$v = other as _$TextToImageApiScheduleResponseApplicationJson; } @override - void update(void Function(TextProcessingApiScheduleResponseApplicationJsonBuilder)? updates) { + void update(void Function(TextToImageApiScheduleResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - TextProcessingApiScheduleResponseApplicationJson build() => _build(); + TextToImageApiScheduleResponseApplicationJson build() => _build(); - _$TextProcessingApiScheduleResponseApplicationJson _build() { - _$TextProcessingApiScheduleResponseApplicationJson _$result; + _$TextToImageApiScheduleResponseApplicationJson _build() { + _$TextToImageApiScheduleResponseApplicationJson _$result; try { - _$result = _$v ?? _$TextProcessingApiScheduleResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$TextToImageApiScheduleResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TextProcessingApiScheduleResponseApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'TextToImageApiScheduleResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -25708,39 +28547,39 @@ class TextProcessingApiScheduleResponseApplicationJsonBuilder } } -abstract mixin class TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - TextProcessingTaskBuilder get task; - set task(TextProcessingTaskBuilder? task); +abstract mixin class TextToImageApiGetTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(TextToImageApiGetTaskResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(TextToImageApiGetTaskResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + TextToImageTaskBuilder get task; + set task(TextToImageTaskBuilder? task); } -class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data - extends TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data { +class _$TextToImageApiGetTaskResponseApplicationJson_Ocs_Data + extends TextToImageApiGetTaskResponseApplicationJson_Ocs_Data { @override - final TextProcessingTask task; + final TextToImageTask task; - factory _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data( - [void Function(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$TextToImageApiGetTaskResponseApplicationJson_Ocs_Data( + [void Function(TextToImageApiGetTaskResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (TextToImageApiGetTaskResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data._({required this.task}) : super._() { - BuiltValueNullFieldError.checkNotNull(task, r'TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data', 'task'); + _$TextToImageApiGetTaskResponseApplicationJson_Ocs_Data._({required this.task}) : super._() { + BuiltValueNullFieldError.checkNotNull(task, r'TextToImageApiGetTaskResponseApplicationJson_Ocs_Data', 'task'); } @override - TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data rebuild( - void Function(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder) updates) => + TextToImageApiGetTaskResponseApplicationJson_Ocs_Data rebuild( + void Function(TextToImageApiGetTaskResponseApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder toBuilder() => - TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder()..replace(this); + TextToImageApiGetTaskResponseApplicationJson_Ocs_DataBuilder toBuilder() => + TextToImageApiGetTaskResponseApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data && task == other.task; + return other is TextToImageApiGetTaskResponseApplicationJson_Ocs_Data && task == other.task; } @override @@ -25753,25 +28592,25 @@ class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data')..add('task', task)) + return (newBuiltValueToStringHelper(r'TextToImageApiGetTaskResponseApplicationJson_Ocs_Data')..add('task', task)) .toString(); } } -class TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder +class TextToImageApiGetTaskResponseApplicationJson_Ocs_DataBuilder implements - Builder, - TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data? _$v; + Builder, + TextToImageApiGetTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$TextToImageApiGetTaskResponseApplicationJson_Ocs_Data? _$v; - TextProcessingTaskBuilder? _task; - TextProcessingTaskBuilder get task => _$this._task ??= TextProcessingTaskBuilder(); - set task(covariant TextProcessingTaskBuilder? task) => _$this._task = task; + TextToImageTaskBuilder? _task; + TextToImageTaskBuilder get task => _$this._task ??= TextToImageTaskBuilder(); + set task(covariant TextToImageTaskBuilder? task) => _$this._task = task; - TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder(); + TextToImageApiGetTaskResponseApplicationJson_Ocs_DataBuilder(); - TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder get _$this { + TextToImageApiGetTaskResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { _task = $v.task.toBuilder(); @@ -25781,23 +28620,23 @@ class TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder } @override - void replace(covariant TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data other) { + void replace(covariant TextToImageApiGetTaskResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data; + _$v = other as _$TextToImageApiGetTaskResponseApplicationJson_Ocs_Data; } @override - void update(void Function(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(TextToImageApiGetTaskResponseApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data build() => _build(); + TextToImageApiGetTaskResponseApplicationJson_Ocs_Data build() => _build(); - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data _build() { - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data _$result; + _$TextToImageApiGetTaskResponseApplicationJson_Ocs_Data _build() { + _$TextToImageApiGetTaskResponseApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data._(task: task.build()); + _$result = _$v ?? _$TextToImageApiGetTaskResponseApplicationJson_Ocs_Data._(task: task.build()); } catch (_) { late String _$failedField; try { @@ -25805,7 +28644,7 @@ class TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder task.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + r'TextToImageApiGetTaskResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -25814,45 +28653,44 @@ class TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder } } -abstract mixin class TextProcessingApiGetTaskResponseApplicationJson_OcsInterfaceBuilder { - void replace(TextProcessingApiGetTaskResponseApplicationJson_OcsInterface other); - void update(void Function(TextProcessingApiGetTaskResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class TextToImageApiGetTaskResponseApplicationJson_OcsInterfaceBuilder { + void replace(TextToImageApiGetTaskResponseApplicationJson_OcsInterface other); + void update(void Function(TextToImageApiGetTaskResponseApplicationJson_OcsInterfaceBuilder) updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder get data; - set data(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder? data); + TextToImageApiGetTaskResponseApplicationJson_Ocs_DataBuilder get data; + set data(TextToImageApiGetTaskResponseApplicationJson_Ocs_DataBuilder? data); } -class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs - extends TextProcessingApiGetTaskResponseApplicationJson_Ocs { +class _$TextToImageApiGetTaskResponseApplicationJson_Ocs extends TextToImageApiGetTaskResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data data; + final TextToImageApiGetTaskResponseApplicationJson_Ocs_Data data; - factory _$TextProcessingApiGetTaskResponseApplicationJson_Ocs( - [void Function(TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder)? updates]) => - (TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$TextToImageApiGetTaskResponseApplicationJson_Ocs( + [void Function(TextToImageApiGetTaskResponseApplicationJson_OcsBuilder)? updates]) => + (TextToImageApiGetTaskResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'TextProcessingApiGetTaskResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'TextProcessingApiGetTaskResponseApplicationJson_Ocs', 'data'); + _$TextToImageApiGetTaskResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'TextToImageApiGetTaskResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'TextToImageApiGetTaskResponseApplicationJson_Ocs', 'data'); } @override - TextProcessingApiGetTaskResponseApplicationJson_Ocs rebuild( - void Function(TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder) updates) => + TextToImageApiGetTaskResponseApplicationJson_Ocs rebuild( + void Function(TextToImageApiGetTaskResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder toBuilder() => - TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder()..replace(this); + TextToImageApiGetTaskResponseApplicationJson_OcsBuilder toBuilder() => + TextToImageApiGetTaskResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiGetTaskResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is TextToImageApiGetTaskResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @override @@ -25866,32 +28704,32 @@ class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiGetTaskResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'TextToImageApiGetTaskResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder +class TextToImageApiGetTaskResponseApplicationJson_OcsBuilder implements - Builder, - TextProcessingApiGetTaskResponseApplicationJson_OcsInterfaceBuilder { - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs? _$v; + Builder, + TextToImageApiGetTaskResponseApplicationJson_OcsInterfaceBuilder { + _$TextToImageApiGetTaskResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder? _data; - TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + TextToImageApiGetTaskResponseApplicationJson_Ocs_DataBuilder? _data; + TextToImageApiGetTaskResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= TextToImageApiGetTaskResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant TextToImageApiGetTaskResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder(); + TextToImageApiGetTaskResponseApplicationJson_OcsBuilder(); - TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder get _$this { + TextToImageApiGetTaskResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -25902,23 +28740,23 @@ class TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder } @override - void replace(covariant TextProcessingApiGetTaskResponseApplicationJson_Ocs other) { + void replace(covariant TextToImageApiGetTaskResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiGetTaskResponseApplicationJson_Ocs; + _$v = other as _$TextToImageApiGetTaskResponseApplicationJson_Ocs; } @override - void update(void Function(TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(TextToImageApiGetTaskResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - TextProcessingApiGetTaskResponseApplicationJson_Ocs build() => _build(); + TextToImageApiGetTaskResponseApplicationJson_Ocs build() => _build(); - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs _build() { - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs _$result; + _$TextToImageApiGetTaskResponseApplicationJson_Ocs _build() { + _$TextToImageApiGetTaskResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$TextProcessingApiGetTaskResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? _$TextToImageApiGetTaskResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -25928,7 +28766,7 @@ class TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'TextProcessingApiGetTaskResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'TextToImageApiGetTaskResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -25937,38 +28775,38 @@ class TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder } } -abstract mixin class TextProcessingApiGetTaskResponseApplicationJsonInterfaceBuilder { - void replace(TextProcessingApiGetTaskResponseApplicationJsonInterface other); - void update(void Function(TextProcessingApiGetTaskResponseApplicationJsonInterfaceBuilder) updates); - TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder get ocs; - set ocs(TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class TextToImageApiGetTaskResponseApplicationJsonInterfaceBuilder { + void replace(TextToImageApiGetTaskResponseApplicationJsonInterface other); + void update(void Function(TextToImageApiGetTaskResponseApplicationJsonInterfaceBuilder) updates); + TextToImageApiGetTaskResponseApplicationJson_OcsBuilder get ocs; + set ocs(TextToImageApiGetTaskResponseApplicationJson_OcsBuilder? ocs); } -class _$TextProcessingApiGetTaskResponseApplicationJson extends TextProcessingApiGetTaskResponseApplicationJson { +class _$TextToImageApiGetTaskResponseApplicationJson extends TextToImageApiGetTaskResponseApplicationJson { @override - final TextProcessingApiGetTaskResponseApplicationJson_Ocs ocs; + final TextToImageApiGetTaskResponseApplicationJson_Ocs ocs; - factory _$TextProcessingApiGetTaskResponseApplicationJson( - [void Function(TextProcessingApiGetTaskResponseApplicationJsonBuilder)? updates]) => - (TextProcessingApiGetTaskResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$TextToImageApiGetTaskResponseApplicationJson( + [void Function(TextToImageApiGetTaskResponseApplicationJsonBuilder)? updates]) => + (TextToImageApiGetTaskResponseApplicationJsonBuilder()..update(updates))._build(); - _$TextProcessingApiGetTaskResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'TextProcessingApiGetTaskResponseApplicationJson', 'ocs'); + _$TextToImageApiGetTaskResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'TextToImageApiGetTaskResponseApplicationJson', 'ocs'); } @override - TextProcessingApiGetTaskResponseApplicationJson rebuild( - void Function(TextProcessingApiGetTaskResponseApplicationJsonBuilder) updates) => + TextToImageApiGetTaskResponseApplicationJson rebuild( + void Function(TextToImageApiGetTaskResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); - @override - TextProcessingApiGetTaskResponseApplicationJsonBuilder toBuilder() => - TextProcessingApiGetTaskResponseApplicationJsonBuilder()..replace(this); + @override + TextToImageApiGetTaskResponseApplicationJsonBuilder toBuilder() => + TextToImageApiGetTaskResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiGetTaskResponseApplicationJson && ocs == other.ocs; + return other is TextToImageApiGetTaskResponseApplicationJson && ocs == other.ocs; } @override @@ -25981,26 +28819,24 @@ class _$TextProcessingApiGetTaskResponseApplicationJson extends TextProcessingAp @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiGetTaskResponseApplicationJson')..add('ocs', ocs)) - .toString(); + return (newBuiltValueToStringHelper(r'TextToImageApiGetTaskResponseApplicationJson')..add('ocs', ocs)).toString(); } } -class TextProcessingApiGetTaskResponseApplicationJsonBuilder +class TextToImageApiGetTaskResponseApplicationJsonBuilder implements - Builder, - TextProcessingApiGetTaskResponseApplicationJsonInterfaceBuilder { - _$TextProcessingApiGetTaskResponseApplicationJson? _$v; + Builder, + TextToImageApiGetTaskResponseApplicationJsonInterfaceBuilder { + _$TextToImageApiGetTaskResponseApplicationJson? _$v; - TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder? _ocs; - TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder(); - set ocs(covariant TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + TextToImageApiGetTaskResponseApplicationJson_OcsBuilder? _ocs; + TextToImageApiGetTaskResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= TextToImageApiGetTaskResponseApplicationJson_OcsBuilder(); + set ocs(covariant TextToImageApiGetTaskResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - TextProcessingApiGetTaskResponseApplicationJsonBuilder(); + TextToImageApiGetTaskResponseApplicationJsonBuilder(); - TextProcessingApiGetTaskResponseApplicationJsonBuilder get _$this { + TextToImageApiGetTaskResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -26010,31 +28846,30 @@ class TextProcessingApiGetTaskResponseApplicationJsonBuilder } @override - void replace(covariant TextProcessingApiGetTaskResponseApplicationJson other) { + void replace(covariant TextToImageApiGetTaskResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiGetTaskResponseApplicationJson; + _$v = other as _$TextToImageApiGetTaskResponseApplicationJson; } @override - void update(void Function(TextProcessingApiGetTaskResponseApplicationJsonBuilder)? updates) { + void update(void Function(TextToImageApiGetTaskResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - TextProcessingApiGetTaskResponseApplicationJson build() => _build(); + TextToImageApiGetTaskResponseApplicationJson build() => _build(); - _$TextProcessingApiGetTaskResponseApplicationJson _build() { - _$TextProcessingApiGetTaskResponseApplicationJson _$result; + _$TextToImageApiGetTaskResponseApplicationJson _build() { + _$TextToImageApiGetTaskResponseApplicationJson _$result; try { - _$result = _$v ?? _$TextProcessingApiGetTaskResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$TextToImageApiGetTaskResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TextProcessingApiGetTaskResponseApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'TextToImageApiGetTaskResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -26043,39 +28878,39 @@ class TextProcessingApiGetTaskResponseApplicationJsonBuilder } } -abstract mixin class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - TextProcessingTaskBuilder get task; - set task(TextProcessingTaskBuilder? task); +abstract mixin class TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + TextToImageTaskBuilder get task; + set task(TextToImageTaskBuilder? task); } -class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data - extends TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data { +class _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data + extends TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data { @override - final TextProcessingTask task; + final TextToImageTask task; - factory _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data( - [void Function(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data( + [void Function(TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data._({required this.task}) : super._() { - BuiltValueNullFieldError.checkNotNull(task, r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data', 'task'); + _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data._({required this.task}) : super._() { + BuiltValueNullFieldError.checkNotNull(task, r'TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data', 'task'); } @override - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data rebuild( - void Function(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder) updates) => + TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data rebuild( + void Function(TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder toBuilder() => - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder()..replace(this); + TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder toBuilder() => + TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data && task == other.task; + return other is TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data && task == other.task; } @override @@ -26088,26 +28923,25 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data') - ..add('task', task)) + return (newBuiltValueToStringHelper(r'TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data')..add('task', task)) .toString(); } } -class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder +class TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder implements - Builder, - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data? _$v; + Builder, + TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data? _$v; - TextProcessingTaskBuilder? _task; - TextProcessingTaskBuilder get task => _$this._task ??= TextProcessingTaskBuilder(); - set task(covariant TextProcessingTaskBuilder? task) => _$this._task = task; + TextToImageTaskBuilder? _task; + TextToImageTaskBuilder get task => _$this._task ??= TextToImageTaskBuilder(); + set task(covariant TextToImageTaskBuilder? task) => _$this._task = task; - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder(); + TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder(); - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder get _$this { + TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { _task = $v.task.toBuilder(); @@ -26117,23 +28951,23 @@ class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder } @override - void replace(covariant TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data other) { + void replace(covariant TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data; + _$v = other as _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data; } @override - void update(void Function(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data build() => _build(); + TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data build() => _build(); - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data _build() { - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data _$result; + _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data _build() { + _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data._(task: task.build()); + _$result = _$v ?? _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data._(task: task.build()); } catch (_) { late String _$failedField; try { @@ -26141,7 +28975,7 @@ class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder task.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + r'TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -26150,45 +28984,45 @@ class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder } } -abstract mixin class TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterfaceBuilder { - void replace(TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterface other); - void update(void Function(TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class TextToImageApiDeleteTaskResponseApplicationJson_OcsInterfaceBuilder { + void replace(TextToImageApiDeleteTaskResponseApplicationJson_OcsInterface other); + void update(void Function(TextToImageApiDeleteTaskResponseApplicationJson_OcsInterfaceBuilder) updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder get data; - set data(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder? data); + TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder get data; + set data(TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder? data); } -class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs - extends TextProcessingApiDeleteTaskResponseApplicationJson_Ocs { +class _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs + extends TextToImageApiDeleteTaskResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data data; + final TextToImageApiDeleteTaskResponseApplicationJson_Ocs_Data data; - factory _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs( - [void Function(TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder)? updates]) => - (TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs( + [void Function(TextToImageApiDeleteTaskResponseApplicationJson_OcsBuilder)? updates]) => + (TextToImageApiDeleteTaskResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs', 'data'); + _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'TextToImageApiDeleteTaskResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'TextToImageApiDeleteTaskResponseApplicationJson_Ocs', 'data'); } @override - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs rebuild( - void Function(TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder) updates) => + TextToImageApiDeleteTaskResponseApplicationJson_Ocs rebuild( + void Function(TextToImageApiDeleteTaskResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder toBuilder() => - TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder()..replace(this); + TextToImageApiDeleteTaskResponseApplicationJson_OcsBuilder toBuilder() => + TextToImageApiDeleteTaskResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiDeleteTaskResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is TextToImageApiDeleteTaskResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @override @@ -26202,32 +29036,32 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'TextToImageApiDeleteTaskResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder +class TextToImageApiDeleteTaskResponseApplicationJson_OcsBuilder implements - Builder, - TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterfaceBuilder { - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs? _$v; + Builder, + TextToImageApiDeleteTaskResponseApplicationJson_OcsInterfaceBuilder { + _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder? _data; - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder? _data; + TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant TextToImageApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder(); + TextToImageApiDeleteTaskResponseApplicationJson_OcsBuilder(); - TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder get _$this { + TextToImageApiDeleteTaskResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -26238,24 +29072,23 @@ class TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder } @override - void replace(covariant TextProcessingApiDeleteTaskResponseApplicationJson_Ocs other) { + void replace(covariant TextToImageApiDeleteTaskResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs; + _$v = other as _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs; } @override - void update(void Function(TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(TextToImageApiDeleteTaskResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs build() => _build(); + TextToImageApiDeleteTaskResponseApplicationJson_Ocs build() => _build(); - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs _build() { - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs _$result; + _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs _build() { + _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs _$result; try { - _$result = - _$v ?? _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? _$TextToImageApiDeleteTaskResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -26265,7 +29098,7 @@ class TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'TextToImageApiDeleteTaskResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -26274,38 +29107,38 @@ class TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder } } -abstract mixin class TextProcessingApiDeleteTaskResponseApplicationJsonInterfaceBuilder { - void replace(TextProcessingApiDeleteTaskResponseApplicationJsonInterface other); - void update(void Function(TextProcessingApiDeleteTaskResponseApplicationJsonInterfaceBuilder) updates); - TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder get ocs; - set ocs(TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class TextToImageApiDeleteTaskResponseApplicationJsonInterfaceBuilder { + void replace(TextToImageApiDeleteTaskResponseApplicationJsonInterface other); + void update(void Function(TextToImageApiDeleteTaskResponseApplicationJsonInterfaceBuilder) updates); + TextToImageApiDeleteTaskResponseApplicationJson_OcsBuilder get ocs; + set ocs(TextToImageApiDeleteTaskResponseApplicationJson_OcsBuilder? ocs); } -class _$TextProcessingApiDeleteTaskResponseApplicationJson extends TextProcessingApiDeleteTaskResponseApplicationJson { +class _$TextToImageApiDeleteTaskResponseApplicationJson extends TextToImageApiDeleteTaskResponseApplicationJson { @override - final TextProcessingApiDeleteTaskResponseApplicationJson_Ocs ocs; + final TextToImageApiDeleteTaskResponseApplicationJson_Ocs ocs; - factory _$TextProcessingApiDeleteTaskResponseApplicationJson( - [void Function(TextProcessingApiDeleteTaskResponseApplicationJsonBuilder)? updates]) => - (TextProcessingApiDeleteTaskResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$TextToImageApiDeleteTaskResponseApplicationJson( + [void Function(TextToImageApiDeleteTaskResponseApplicationJsonBuilder)? updates]) => + (TextToImageApiDeleteTaskResponseApplicationJsonBuilder()..update(updates))._build(); - _$TextProcessingApiDeleteTaskResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'TextProcessingApiDeleteTaskResponseApplicationJson', 'ocs'); + _$TextToImageApiDeleteTaskResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'TextToImageApiDeleteTaskResponseApplicationJson', 'ocs'); } @override - TextProcessingApiDeleteTaskResponseApplicationJson rebuild( - void Function(TextProcessingApiDeleteTaskResponseApplicationJsonBuilder) updates) => + TextToImageApiDeleteTaskResponseApplicationJson rebuild( + void Function(TextToImageApiDeleteTaskResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiDeleteTaskResponseApplicationJsonBuilder toBuilder() => - TextProcessingApiDeleteTaskResponseApplicationJsonBuilder()..replace(this); + TextToImageApiDeleteTaskResponseApplicationJsonBuilder toBuilder() => + TextToImageApiDeleteTaskResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiDeleteTaskResponseApplicationJson && ocs == other.ocs; + return other is TextToImageApiDeleteTaskResponseApplicationJson && ocs == other.ocs; } @override @@ -26318,26 +29151,26 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJson extends TextProcessin @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiDeleteTaskResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'TextToImageApiDeleteTaskResponseApplicationJson')..add('ocs', ocs)) .toString(); } } -class TextProcessingApiDeleteTaskResponseApplicationJsonBuilder +class TextToImageApiDeleteTaskResponseApplicationJsonBuilder implements - Builder, - TextProcessingApiDeleteTaskResponseApplicationJsonInterfaceBuilder { - _$TextProcessingApiDeleteTaskResponseApplicationJson? _$v; + Builder, + TextToImageApiDeleteTaskResponseApplicationJsonInterfaceBuilder { + _$TextToImageApiDeleteTaskResponseApplicationJson? _$v; - TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder? _ocs; - TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder(); - set ocs(covariant TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + TextToImageApiDeleteTaskResponseApplicationJson_OcsBuilder? _ocs; + TextToImageApiDeleteTaskResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= TextToImageApiDeleteTaskResponseApplicationJson_OcsBuilder(); + set ocs(covariant TextToImageApiDeleteTaskResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - TextProcessingApiDeleteTaskResponseApplicationJsonBuilder(); + TextToImageApiDeleteTaskResponseApplicationJsonBuilder(); - TextProcessingApiDeleteTaskResponseApplicationJsonBuilder get _$this { + TextToImageApiDeleteTaskResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -26347,23 +29180,23 @@ class TextProcessingApiDeleteTaskResponseApplicationJsonBuilder } @override - void replace(covariant TextProcessingApiDeleteTaskResponseApplicationJson other) { + void replace(covariant TextToImageApiDeleteTaskResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiDeleteTaskResponseApplicationJson; + _$v = other as _$TextToImageApiDeleteTaskResponseApplicationJson; } @override - void update(void Function(TextProcessingApiDeleteTaskResponseApplicationJsonBuilder)? updates) { + void update(void Function(TextToImageApiDeleteTaskResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - TextProcessingApiDeleteTaskResponseApplicationJson build() => _build(); + TextToImageApiDeleteTaskResponseApplicationJson build() => _build(); - _$TextProcessingApiDeleteTaskResponseApplicationJson _build() { - _$TextProcessingApiDeleteTaskResponseApplicationJson _$result; + _$TextToImageApiDeleteTaskResponseApplicationJson _build() { + _$TextToImageApiDeleteTaskResponseApplicationJson _$result; try { - _$result = _$v ?? _$TextProcessingApiDeleteTaskResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$TextToImageApiDeleteTaskResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -26371,7 +29204,7 @@ class TextProcessingApiDeleteTaskResponseApplicationJsonBuilder ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'TextProcessingApiDeleteTaskResponseApplicationJson', _$failedField, e.toString()); + r'TextToImageApiDeleteTaskResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -26380,40 +29213,40 @@ class TextProcessingApiDeleteTaskResponseApplicationJsonBuilder } } -abstract mixin class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - ListBuilder get tasks; - set tasks(ListBuilder? tasks); +abstract mixin class TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + ListBuilder get tasks; + set tasks(ListBuilder? tasks); } -class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data - extends TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data { +class _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data + extends TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data { @override - final BuiltList tasks; + final BuiltList tasks; - factory _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data( - [void Function(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data( + [void Function(TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data._({required this.tasks}) : super._() { + _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data._({required this.tasks}) : super._() { BuiltValueNullFieldError.checkNotNull( - tasks, r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data', 'tasks'); + tasks, r'TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data', 'tasks'); } @override - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data rebuild( - void Function(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder) updates) => + TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data rebuild( + void Function(TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder toBuilder() => - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder()..replace(this); + TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder toBuilder() => + TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data && tasks == other.tasks; + return other is TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data && tasks == other.tasks; } @override @@ -26426,26 +29259,26 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data') + return (newBuiltValueToStringHelper(r'TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data') ..add('tasks', tasks)) .toString(); } } -class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder +class TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder implements - Builder, - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data? _$v; + Builder, + TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data? _$v; - ListBuilder? _tasks; - ListBuilder get tasks => _$this._tasks ??= ListBuilder(); - set tasks(covariant ListBuilder? tasks) => _$this._tasks = tasks; + ListBuilder? _tasks; + ListBuilder get tasks => _$this._tasks ??= ListBuilder(); + set tasks(covariant ListBuilder? tasks) => _$this._tasks = tasks; - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder(); + TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder(); - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder get _$this { + TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { _tasks = $v.tasks.toBuilder(); @@ -26455,23 +29288,23 @@ class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder } @override - void replace(covariant TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data other) { + void replace(covariant TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data; + _$v = other as _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data; } @override - void update(void Function(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data build() => _build(); + TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data build() => _build(); - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data _build() { - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data _$result; + _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data _build() { + _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data._(tasks: tasks.build()); + _$result = _$v ?? _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data._(tasks: tasks.build()); } catch (_) { late String _$failedField; try { @@ -26479,7 +29312,7 @@ class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder tasks.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + r'TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -26488,47 +29321,45 @@ class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder } } -abstract mixin class TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterfaceBuilder { - void replace(TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterface other); - void update(void Function(TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class TextToImageApiListTasksByAppResponseApplicationJson_OcsInterfaceBuilder { + void replace(TextToImageApiListTasksByAppResponseApplicationJson_OcsInterface other); + void update(void Function(TextToImageApiListTasksByAppResponseApplicationJson_OcsInterfaceBuilder) updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder get data; - set data(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder? data); + TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder get data; + set data(TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder? data); } -class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs - extends TextProcessingApiListTasksByAppResponseApplicationJson_Ocs { +class _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs + extends TextToImageApiListTasksByAppResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data data; + final TextToImageApiListTasksByAppResponseApplicationJson_Ocs_Data data; - factory _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs( - [void Function(TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder)? updates]) => - (TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs( + [void Function(TextToImageApiListTasksByAppResponseApplicationJson_OcsBuilder)? updates]) => + (TextToImageApiListTasksByAppResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs', 'data'); + _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'TextToImageApiListTasksByAppResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'TextToImageApiListTasksByAppResponseApplicationJson_Ocs', 'data'); } @override - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs rebuild( - void Function(TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder) updates) => + TextToImageApiListTasksByAppResponseApplicationJson_Ocs rebuild( + void Function(TextToImageApiListTasksByAppResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder toBuilder() => - TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder()..replace(this); + TextToImageApiListTasksByAppResponseApplicationJson_OcsBuilder toBuilder() => + TextToImageApiListTasksByAppResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiListTasksByAppResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is TextToImageApiListTasksByAppResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @override @@ -26542,33 +29373,32 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'TextToImageApiListTasksByAppResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder +class TextToImageApiListTasksByAppResponseApplicationJson_OcsBuilder implements - Builder, - TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterfaceBuilder { - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs? _$v; + Builder, + TextToImageApiListTasksByAppResponseApplicationJson_OcsInterfaceBuilder { + _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder? _data; - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder? data) => - _$this._data = data; + TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder? _data; + TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant TextToImageApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder(); + TextToImageApiListTasksByAppResponseApplicationJson_OcsBuilder(); - TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder get _$this { + TextToImageApiListTasksByAppResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -26579,24 +29409,24 @@ class TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder } @override - void replace(covariant TextProcessingApiListTasksByAppResponseApplicationJson_Ocs other) { + void replace(covariant TextToImageApiListTasksByAppResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs; + _$v = other as _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs; } @override - void update(void Function(TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(TextToImageApiListTasksByAppResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs build() => _build(); + TextToImageApiListTasksByAppResponseApplicationJson_Ocs build() => _build(); - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs _build() { - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs _$result; + _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs _build() { + _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs _$result; try { _$result = - _$v ?? _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$v ?? _$TextToImageApiListTasksByAppResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -26606,7 +29436,7 @@ class TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'TextToImageApiListTasksByAppResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -26615,39 +29445,39 @@ class TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder } } -abstract mixin class TextProcessingApiListTasksByAppResponseApplicationJsonInterfaceBuilder { - void replace(TextProcessingApiListTasksByAppResponseApplicationJsonInterface other); - void update(void Function(TextProcessingApiListTasksByAppResponseApplicationJsonInterfaceBuilder) updates); - TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder get ocs; - set ocs(TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class TextToImageApiListTasksByAppResponseApplicationJsonInterfaceBuilder { + void replace(TextToImageApiListTasksByAppResponseApplicationJsonInterface other); + void update(void Function(TextToImageApiListTasksByAppResponseApplicationJsonInterfaceBuilder) updates); + TextToImageApiListTasksByAppResponseApplicationJson_OcsBuilder get ocs; + set ocs(TextToImageApiListTasksByAppResponseApplicationJson_OcsBuilder? ocs); } -class _$TextProcessingApiListTasksByAppResponseApplicationJson - extends TextProcessingApiListTasksByAppResponseApplicationJson { +class _$TextToImageApiListTasksByAppResponseApplicationJson + extends TextToImageApiListTasksByAppResponseApplicationJson { @override - final TextProcessingApiListTasksByAppResponseApplicationJson_Ocs ocs; + final TextToImageApiListTasksByAppResponseApplicationJson_Ocs ocs; - factory _$TextProcessingApiListTasksByAppResponseApplicationJson( - [void Function(TextProcessingApiListTasksByAppResponseApplicationJsonBuilder)? updates]) => - (TextProcessingApiListTasksByAppResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$TextToImageApiListTasksByAppResponseApplicationJson( + [void Function(TextToImageApiListTasksByAppResponseApplicationJsonBuilder)? updates]) => + (TextToImageApiListTasksByAppResponseApplicationJsonBuilder()..update(updates))._build(); - _$TextProcessingApiListTasksByAppResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'TextProcessingApiListTasksByAppResponseApplicationJson', 'ocs'); + _$TextToImageApiListTasksByAppResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'TextToImageApiListTasksByAppResponseApplicationJson', 'ocs'); } @override - TextProcessingApiListTasksByAppResponseApplicationJson rebuild( - void Function(TextProcessingApiListTasksByAppResponseApplicationJsonBuilder) updates) => + TextToImageApiListTasksByAppResponseApplicationJson rebuild( + void Function(TextToImageApiListTasksByAppResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiListTasksByAppResponseApplicationJsonBuilder toBuilder() => - TextProcessingApiListTasksByAppResponseApplicationJsonBuilder()..replace(this); + TextToImageApiListTasksByAppResponseApplicationJsonBuilder toBuilder() => + TextToImageApiListTasksByAppResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiListTasksByAppResponseApplicationJson && ocs == other.ocs; + return other is TextToImageApiListTasksByAppResponseApplicationJson && ocs == other.ocs; } @override @@ -26660,26 +29490,26 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJson @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiListTasksByAppResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'TextToImageApiListTasksByAppResponseApplicationJson')..add('ocs', ocs)) .toString(); } } -class TextProcessingApiListTasksByAppResponseApplicationJsonBuilder +class TextToImageApiListTasksByAppResponseApplicationJsonBuilder implements - Builder, - TextProcessingApiListTasksByAppResponseApplicationJsonInterfaceBuilder { - _$TextProcessingApiListTasksByAppResponseApplicationJson? _$v; + Builder, + TextToImageApiListTasksByAppResponseApplicationJsonInterfaceBuilder { + _$TextToImageApiListTasksByAppResponseApplicationJson? _$v; - TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder? _ocs; - TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder(); - set ocs(covariant TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + TextToImageApiListTasksByAppResponseApplicationJson_OcsBuilder? _ocs; + TextToImageApiListTasksByAppResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= TextToImageApiListTasksByAppResponseApplicationJson_OcsBuilder(); + set ocs(covariant TextToImageApiListTasksByAppResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - TextProcessingApiListTasksByAppResponseApplicationJsonBuilder(); + TextToImageApiListTasksByAppResponseApplicationJsonBuilder(); - TextProcessingApiListTasksByAppResponseApplicationJsonBuilder get _$this { + TextToImageApiListTasksByAppResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -26689,23 +29519,23 @@ class TextProcessingApiListTasksByAppResponseApplicationJsonBuilder } @override - void replace(covariant TextProcessingApiListTasksByAppResponseApplicationJson other) { + void replace(covariant TextToImageApiListTasksByAppResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiListTasksByAppResponseApplicationJson; + _$v = other as _$TextToImageApiListTasksByAppResponseApplicationJson; } @override - void update(void Function(TextProcessingApiListTasksByAppResponseApplicationJsonBuilder)? updates) { + void update(void Function(TextToImageApiListTasksByAppResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - TextProcessingApiListTasksByAppResponseApplicationJson build() => _build(); + TextToImageApiListTasksByAppResponseApplicationJson build() => _build(); - _$TextProcessingApiListTasksByAppResponseApplicationJson _build() { - _$TextProcessingApiListTasksByAppResponseApplicationJson _$result; + _$TextToImageApiListTasksByAppResponseApplicationJson _build() { + _$TextToImageApiListTasksByAppResponseApplicationJson _$result; try { - _$result = _$v ?? _$TextProcessingApiListTasksByAppResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$TextToImageApiListTasksByAppResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -26713,7 +29543,7 @@ class TextProcessingApiListTasksByAppResponseApplicationJsonBuilder ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'TextProcessingApiListTasksByAppResponseApplicationJson', _$failedField, e.toString()); + r'TextToImageApiListTasksByAppResponseApplicationJson', _$failedField, e.toString()); } rethrow; } diff --git a/packages/nextcloud/lib/src/api/core.openapi.json b/packages/nextcloud/lib/src/api/core.openapi.json index f7063808..3c5c51e8 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.json +++ b/packages/nextcloud/lib/src/api/core.openapi.json @@ -451,6 +451,53 @@ } } }, + "TextToImageTask": { + "type": "object", + "required": [ + "id", + "status", + "userId", + "appId", + "input", + "identifier", + "numberOfImages", + "completionExpectedAt" + ], + "properties": { + "id": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "status": { + "type": "integer", + "format": "int64" + }, + "userId": { + "type": "string", + "nullable": true + }, + "appId": { + "type": "string" + }, + "input": { + "type": "string" + }, + "identifier": { + "type": "string", + "nullable": true + }, + "numberOfImages": { + "type": "integer", + "format": "int64" + }, + "completionExpectedAt": { + "type": "integer", + "format": "int64", + "nullable": true + } + } + }, "UnifiedSearchProvider": { "type": "object", "required": [ @@ -992,79 +1039,87 @@ } }, "SharebymailCapabilities": { - "type": "object", - "required": [ - "files_sharing" - ], - "properties": { - "files_sharing": { + "oneOf": [ + { "type": "object", "required": [ - "sharebymail" + "files_sharing" ], "properties": { - "sharebymail": { + "files_sharing": { "type": "object", "required": [ - "enabled", - "send_password_by_mail", - "upload_files_drop", - "password", - "expire_date" + "sharebymail" ], "properties": { - "enabled": { - "type": "boolean" - }, - "send_password_by_mail": { - "type": "boolean" - }, - "upload_files_drop": { - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "password": { + "sharebymail": { "type": "object", "required": [ "enabled", - "enforced" + "send_password_by_mail", + "upload_files_drop", + "password", + "expire_date" ], "properties": { "enabled": { "type": "boolean" }, - "enforced": { - "type": "boolean" - } - } - }, - "expire_date": { - "type": "object", - "required": [ - "enabled", - "enforced" - ], - "properties": { - "enabled": { + "send_password_by_mail": { "type": "boolean" }, - "enforced": { - "type": "boolean" + "upload_files_drop": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + }, + "password": { + "type": "object", + "required": [ + "enabled", + "enforced" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "enforced": { + "type": "boolean" + } + } + }, + "expire_date": { + "type": "object", + "required": [ + "enabled", + "enforced" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "enforced": { + "type": "boolean" + } + } } } } } } } + }, + { + "type": "array", + "maxLength": 0 } - } + ] }, "SpreedPublicCapabilities": { "anyOf": [ @@ -6009,6 +6064,835 @@ } } }, + "/ocs/v2.php/text2image/is_available": { + "get": { + "operationId": "text_to_image_api-is-available", + "summary": "Check whether this feature is available", + "tags": [ + "text_to_image_api" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Returns availability status", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "isAvailable" + ], + "properties": { + "isAvailable": { + "type": "boolean" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/text2image/schedule": { + "post": { + "operationId": "text_to_image_api-schedule", + "summary": "This endpoint allows scheduling a text to image task", + "tags": [ + "text_to_image_api" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "input", + "in": "query", + "description": "Input text", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "appId", + "in": "query", + "description": "ID of the app that will execute the task", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "identifier", + "in": "query", + "description": "An arbitrary identifier for the task", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "numberOfImages", + "in": "query", + "description": "The number of images to generate", + "schema": { + "type": "integer", + "format": "int64", + "default": 8 + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Task scheduled successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "task" + ], + "properties": { + "task": { + "$ref": "#/components/schemas/TextToImageTask" + } + } + } + } + } + } + } + } + } + }, + "412": { + "description": "Scheduling task is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/text2image/task/{id}": { + "get": { + "operationId": "text_to_image_api-get-task", + "summary": "This endpoint allows checking the status and results of a task. Tasks are removed 1 week after receiving their last update.", + "tags": [ + "text_to_image_api" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "The id of the task", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Task returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "task" + ], + "properties": { + "task": { + "$ref": "#/components/schemas/TextToImageTask" + } + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Task not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "text_to_image_api-delete-task", + "summary": "This endpoint allows to delete a scheduled task for a user", + "tags": [ + "text_to_image_api" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "The id of the task", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Task returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "task" + ], + "properties": { + "task": { + "$ref": "#/components/schemas/TextToImageTask" + } + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Task not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/text2image/task/{id}/image/{index}": { + "get": { + "operationId": "text_to_image_api-get-image", + "summary": "This endpoint allows downloading the resulting image of a task", + "tags": [ + "text_to_image_api" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "The id of the task", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "index", + "in": "path", + "description": "The index of the image to retrieve", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Image returned", + "content": { + "*/*": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, + "404": { + "description": "Task or image not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/text2image/tasks/app/{appId}": { + "get": { + "operationId": "text_to_image_api-list-tasks-by-app", + "summary": "This endpoint returns a list of tasks of a user that are related with a specific appId and optionally with an identifier", + "tags": [ + "text_to_image_api" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "identifier", + "in": "query", + "description": "An arbitrary identifier for the task", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "appId", + "in": "path", + "description": "ID of the app", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Task list returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "tasks" + ], + "properties": { + "tasks": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TextToImageTask" + } + } + } + } + } + } + } + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, "/status.php": { "get": { "operationId": "get-status", diff --git a/packages/nextcloud/lib/src/api/sharebymail.openapi.dart b/packages/nextcloud/lib/src/api/sharebymail.openapi.dart index d97238b0..63e7f164 100644 --- a/packages/nextcloud/lib/src/api/sharebymail.openapi.dart +++ b/packages/nextcloud/lib/src/api/sharebymail.openapi.dart @@ -3,9 +3,12 @@ // ignore_for_file: public_member_api_docs // ignore_for_file: unreachable_switch_case +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:collection/collection.dart'; import 'package:dynamite_runtime/built_value.dart'; import 'package:dynamite_runtime/http_client.dart'; @@ -32,25 +35,25 @@ class Client extends DynamiteClient { } @BuiltValue(instantiable: false) -abstract interface class Capabilities_FilesSharing_Sharebymail_UploadFilesDropInterface { +abstract interface class Capabilities0_FilesSharing_Sharebymail_UploadFilesDropInterface { bool get enabled; } -abstract class Capabilities_FilesSharing_Sharebymail_UploadFilesDrop +abstract class Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop implements - Capabilities_FilesSharing_Sharebymail_UploadFilesDropInterface, - Built { - factory Capabilities_FilesSharing_Sharebymail_UploadFilesDrop([ - final void Function(Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? b, - ]) = _$Capabilities_FilesSharing_Sharebymail_UploadFilesDrop; + Capabilities0_FilesSharing_Sharebymail_UploadFilesDropInterface, + Built { + factory Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop([ + final void Function(Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder)? b, + ]) = _$Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop; // coverage:ignore-start - const Capabilities_FilesSharing_Sharebymail_UploadFilesDrop._(); + const Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop._(); // coverage:ignore-end // coverage:ignore-start - factory Capabilities_FilesSharing_Sharebymail_UploadFilesDrop.fromJson(final Map json) => + factory Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -58,30 +61,30 @@ abstract class Capabilities_FilesSharing_Sharebymail_UploadFilesDrop Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$capabilitiesFilesSharingSharebymailUploadFilesDropSerializer; + static Serializer get serializer => + _$capabilities0FilesSharingSharebymailUploadFilesDropSerializer; } @BuiltValue(instantiable: false) -abstract interface class Capabilities_FilesSharing_Sharebymail_PasswordInterface { +abstract interface class Capabilities0_FilesSharing_Sharebymail_PasswordInterface { bool get enabled; bool get enforced; } -abstract class Capabilities_FilesSharing_Sharebymail_Password +abstract class Capabilities0_FilesSharing_Sharebymail_Password implements - Capabilities_FilesSharing_Sharebymail_PasswordInterface, - Built { - factory Capabilities_FilesSharing_Sharebymail_Password([ - final void Function(Capabilities_FilesSharing_Sharebymail_PasswordBuilder)? b, - ]) = _$Capabilities_FilesSharing_Sharebymail_Password; + Capabilities0_FilesSharing_Sharebymail_PasswordInterface, + Built { + factory Capabilities0_FilesSharing_Sharebymail_Password([ + final void Function(Capabilities0_FilesSharing_Sharebymail_PasswordBuilder)? b, + ]) = _$Capabilities0_FilesSharing_Sharebymail_Password; // coverage:ignore-start - const Capabilities_FilesSharing_Sharebymail_Password._(); + const Capabilities0_FilesSharing_Sharebymail_Password._(); // coverage:ignore-end // coverage:ignore-start - factory Capabilities_FilesSharing_Sharebymail_Password.fromJson(final Map json) => + factory Capabilities0_FilesSharing_Sharebymail_Password.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -89,31 +92,31 @@ abstract class Capabilities_FilesSharing_Sharebymail_Password Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$capabilitiesFilesSharingSharebymailPasswordSerializer; + static Serializer get serializer => + _$capabilities0FilesSharingSharebymailPasswordSerializer; } @BuiltValue(instantiable: false) -abstract interface class Capabilities_FilesSharing_Sharebymail_ExpireDateInterface { +abstract interface class Capabilities0_FilesSharing_Sharebymail_ExpireDateInterface { bool get enabled; bool get enforced; } -abstract class Capabilities_FilesSharing_Sharebymail_ExpireDate +abstract class Capabilities0_FilesSharing_Sharebymail_ExpireDate implements - Capabilities_FilesSharing_Sharebymail_ExpireDateInterface, - Built { - factory Capabilities_FilesSharing_Sharebymail_ExpireDate([ - final void Function(Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? b, - ]) = _$Capabilities_FilesSharing_Sharebymail_ExpireDate; + Capabilities0_FilesSharing_Sharebymail_ExpireDateInterface, + Built { + factory Capabilities0_FilesSharing_Sharebymail_ExpireDate([ + final void Function(Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder)? b, + ]) = _$Capabilities0_FilesSharing_Sharebymail_ExpireDate; // coverage:ignore-start - const Capabilities_FilesSharing_Sharebymail_ExpireDate._(); + const Capabilities0_FilesSharing_Sharebymail_ExpireDate._(); // coverage:ignore-end // coverage:ignore-start - factory Capabilities_FilesSharing_Sharebymail_ExpireDate.fromJson(final Map json) => + factory Capabilities0_FilesSharing_Sharebymail_ExpireDate.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -121,36 +124,36 @@ abstract class Capabilities_FilesSharing_Sharebymail_ExpireDate Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$capabilitiesFilesSharingSharebymailExpireDateSerializer; + static Serializer get serializer => + _$capabilities0FilesSharingSharebymailExpireDateSerializer; } @BuiltValue(instantiable: false) -abstract interface class Capabilities_FilesSharing_SharebymailInterface { +abstract interface class Capabilities0_FilesSharing_SharebymailInterface { bool get enabled; @BuiltValueField(wireName: 'send_password_by_mail') bool get sendPasswordByMail; @BuiltValueField(wireName: 'upload_files_drop') - Capabilities_FilesSharing_Sharebymail_UploadFilesDrop get uploadFilesDrop; - Capabilities_FilesSharing_Sharebymail_Password get password; + Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop get uploadFilesDrop; + Capabilities0_FilesSharing_Sharebymail_Password get password; @BuiltValueField(wireName: 'expire_date') - Capabilities_FilesSharing_Sharebymail_ExpireDate get expireDate; + Capabilities0_FilesSharing_Sharebymail_ExpireDate get expireDate; } -abstract class Capabilities_FilesSharing_Sharebymail +abstract class Capabilities0_FilesSharing_Sharebymail implements - Capabilities_FilesSharing_SharebymailInterface, - Built { - factory Capabilities_FilesSharing_Sharebymail([ - final void Function(Capabilities_FilesSharing_SharebymailBuilder)? b, - ]) = _$Capabilities_FilesSharing_Sharebymail; + Capabilities0_FilesSharing_SharebymailInterface, + Built { + factory Capabilities0_FilesSharing_Sharebymail([ + final void Function(Capabilities0_FilesSharing_SharebymailBuilder)? b, + ]) = _$Capabilities0_FilesSharing_Sharebymail; // coverage:ignore-start - const Capabilities_FilesSharing_Sharebymail._(); + const Capabilities0_FilesSharing_Sharebymail._(); // coverage:ignore-end // coverage:ignore-start - factory Capabilities_FilesSharing_Sharebymail.fromJson(final Map json) => + factory Capabilities0_FilesSharing_Sharebymail.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -158,26 +161,28 @@ abstract class Capabilities_FilesSharing_Sharebymail Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$capabilitiesFilesSharingSharebymailSerializer; + static Serializer get serializer => + _$capabilities0FilesSharingSharebymailSerializer; } @BuiltValue(instantiable: false) -abstract interface class Capabilities_FilesSharingInterface { - Capabilities_FilesSharing_Sharebymail get sharebymail; +abstract interface class Capabilities0_FilesSharingInterface { + Capabilities0_FilesSharing_Sharebymail get sharebymail; } -abstract class Capabilities_FilesSharing - implements Capabilities_FilesSharingInterface, Built { - factory Capabilities_FilesSharing([final void Function(Capabilities_FilesSharingBuilder)? b]) = - _$Capabilities_FilesSharing; +abstract class Capabilities0_FilesSharing + implements + Capabilities0_FilesSharingInterface, + Built { + factory Capabilities0_FilesSharing([final void Function(Capabilities0_FilesSharingBuilder)? b]) = + _$Capabilities0_FilesSharing; // coverage:ignore-start - const Capabilities_FilesSharing._(); + const Capabilities0_FilesSharing._(); // coverage:ignore-end // coverage:ignore-start - factory Capabilities_FilesSharing.fromJson(final Map json) => + factory Capabilities0_FilesSharing.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -185,13 +190,38 @@ abstract class Capabilities_FilesSharing Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$capabilitiesFilesSharingSerializer; + static Serializer get serializer => _$capabilities0FilesSharingSerializer; } @BuiltValue(instantiable: false) -abstract interface class CapabilitiesInterface { +abstract interface class Capabilities0Interface { @BuiltValueField(wireName: 'files_sharing') - Capabilities_FilesSharing get filesSharing; + Capabilities0_FilesSharing get filesSharing; +} + +abstract class Capabilities0 implements Capabilities0Interface, Built { + factory Capabilities0([final void Function(Capabilities0Builder)? b]) = _$Capabilities0; + + // coverage:ignore-start + const Capabilities0._(); + // coverage:ignore-end + + // coverage:ignore-start + factory Capabilities0.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$capabilities0Serializer; +} + +@BuiltValue(instantiable: false) +abstract interface class CapabilitiesInterface { + Capabilities0? get capabilities0; + BuiltList? get builtListJsonObject; } abstract class Capabilities implements CapabilitiesInterface, Built { @@ -209,35 +239,90 @@ abstract class Capabilities implements CapabilitiesInterface, Built toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$capabilitiesSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$CapabilitiesSerializer(); + + JsonObject get data; + @BuiltValueHook(finalizeBuilder: true) + static void _validate(final CapabilitiesBuilder b) { + // When this is rebuild from another builder + if (b._data == null) { + return; + } + + final match = [b._capabilities0, b._builtListJsonObject].singleWhereOrNull((final x) => x != null); + if (match == null) { + throw StateError("Need exactly one of 'capabilities0', 'builtListJsonObject' for ${b._data}"); + } + } +} + +class _$CapabilitiesSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [Capabilities, _$Capabilities]; + + @override + final String wireName = 'Capabilities'; + + @override + Object serialize( + final Serializers serializers, + final Capabilities object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + Capabilities deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = CapabilitiesBuilder()..data = JsonObject(data); + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(Capabilities0))! as Capabilities0; + result.capabilities0.replace(value); + } catch (_) {} + try { + final value = _jsonSerializers.deserialize( + data, + specifiedType: const FullType(BuiltList, [FullType(JsonObject)]), + )! as BuiltList; + result.builtListJsonObject.replace(value); + } catch (_) {} + return result.build(); + } } // coverage:ignore-start final Serializers _serializers = (Serializers().toBuilder() ..addBuilderFactory(const FullType(Capabilities), Capabilities.new) ..add(Capabilities.serializer) - ..addBuilderFactory(const FullType(Capabilities_FilesSharing), Capabilities_FilesSharing.new) - ..add(Capabilities_FilesSharing.serializer) + ..addBuilderFactory(const FullType(Capabilities0), Capabilities0.new) + ..add(Capabilities0.serializer) + ..addBuilderFactory(const FullType(Capabilities0_FilesSharing), Capabilities0_FilesSharing.new) + ..add(Capabilities0_FilesSharing.serializer) ..addBuilderFactory( - const FullType(Capabilities_FilesSharing_Sharebymail), - Capabilities_FilesSharing_Sharebymail.new, + const FullType(Capabilities0_FilesSharing_Sharebymail), + Capabilities0_FilesSharing_Sharebymail.new, ) - ..add(Capabilities_FilesSharing_Sharebymail.serializer) + ..add(Capabilities0_FilesSharing_Sharebymail.serializer) ..addBuilderFactory( - const FullType(Capabilities_FilesSharing_Sharebymail_UploadFilesDrop), - Capabilities_FilesSharing_Sharebymail_UploadFilesDrop.new, + const FullType(Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop), + Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop.new, ) - ..add(Capabilities_FilesSharing_Sharebymail_UploadFilesDrop.serializer) + ..add(Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop.serializer) ..addBuilderFactory( - const FullType(Capabilities_FilesSharing_Sharebymail_Password), - Capabilities_FilesSharing_Sharebymail_Password.new, + const FullType(Capabilities0_FilesSharing_Sharebymail_Password), + Capabilities0_FilesSharing_Sharebymail_Password.new, ) - ..add(Capabilities_FilesSharing_Sharebymail_Password.serializer) + ..add(Capabilities0_FilesSharing_Sharebymail_Password.serializer) ..addBuilderFactory( - const FullType(Capabilities_FilesSharing_Sharebymail_ExpireDate), - Capabilities_FilesSharing_Sharebymail_ExpireDate.new, + const FullType(Capabilities0_FilesSharing_Sharebymail_ExpireDate), + Capabilities0_FilesSharing_Sharebymail_ExpireDate.new, ) - ..add(Capabilities_FilesSharing_Sharebymail_ExpireDate.serializer)) + ..add(Capabilities0_FilesSharing_Sharebymail_ExpireDate.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(JsonObject)]), ListBuilder.new)) .build(); final Serializers _jsonSerializers = (_serializers.toBuilder() diff --git a/packages/nextcloud/lib/src/api/sharebymail.openapi.g.dart b/packages/nextcloud/lib/src/api/sharebymail.openapi.g.dart index 88acb056..5360a206 100644 --- a/packages/nextcloud/lib/src/api/sharebymail.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/sharebymail.openapi.g.dart @@ -6,30 +6,31 @@ part of 'sharebymail.openapi.dart'; // BuiltValueGenerator // ************************************************************************** -Serializer - _$capabilitiesFilesSharingSharebymailUploadFilesDropSerializer = - _$Capabilities_FilesSharing_Sharebymail_UploadFilesDropSerializer(); -Serializer _$capabilitiesFilesSharingSharebymailPasswordSerializer = - _$Capabilities_FilesSharing_Sharebymail_PasswordSerializer(); -Serializer _$capabilitiesFilesSharingSharebymailExpireDateSerializer = - _$Capabilities_FilesSharing_Sharebymail_ExpireDateSerializer(); -Serializer _$capabilitiesFilesSharingSharebymailSerializer = - _$Capabilities_FilesSharing_SharebymailSerializer(); -Serializer _$capabilitiesFilesSharingSerializer = _$Capabilities_FilesSharingSerializer(); -Serializer _$capabilitiesSerializer = _$CapabilitiesSerializer(); - -class _$Capabilities_FilesSharing_Sharebymail_UploadFilesDropSerializer - implements StructuredSerializer { +Serializer + _$capabilities0FilesSharingSharebymailUploadFilesDropSerializer = + _$Capabilities0_FilesSharing_Sharebymail_UploadFilesDropSerializer(); +Serializer _$capabilities0FilesSharingSharebymailPasswordSerializer = + _$Capabilities0_FilesSharing_Sharebymail_PasswordSerializer(); +Serializer + _$capabilities0FilesSharingSharebymailExpireDateSerializer = + _$Capabilities0_FilesSharing_Sharebymail_ExpireDateSerializer(); +Serializer _$capabilities0FilesSharingSharebymailSerializer = + _$Capabilities0_FilesSharing_SharebymailSerializer(); +Serializer _$capabilities0FilesSharingSerializer = _$Capabilities0_FilesSharingSerializer(); +Serializer _$capabilities0Serializer = _$Capabilities0Serializer(); + +class _$Capabilities0_FilesSharing_Sharebymail_UploadFilesDropSerializer + implements StructuredSerializer { @override final Iterable types = const [ - Capabilities_FilesSharing_Sharebymail_UploadFilesDrop, - _$Capabilities_FilesSharing_Sharebymail_UploadFilesDrop + Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop, + _$Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop ]; @override - final String wireName = 'Capabilities_FilesSharing_Sharebymail_UploadFilesDrop'; + final String wireName = 'Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop'; @override - Iterable serialize(Serializers serializers, Capabilities_FilesSharing_Sharebymail_UploadFilesDrop object, + Iterable serialize(Serializers serializers, Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -40,10 +41,10 @@ class _$Capabilities_FilesSharing_Sharebymail_UploadFilesDropSerializer } @override - Capabilities_FilesSharing_Sharebymail_UploadFilesDrop deserialize( + Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); + final result = Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -61,18 +62,18 @@ class _$Capabilities_FilesSharing_Sharebymail_UploadFilesDropSerializer } } -class _$Capabilities_FilesSharing_Sharebymail_PasswordSerializer - implements StructuredSerializer { +class _$Capabilities0_FilesSharing_Sharebymail_PasswordSerializer + implements StructuredSerializer { @override final Iterable types = const [ - Capabilities_FilesSharing_Sharebymail_Password, - _$Capabilities_FilesSharing_Sharebymail_Password + Capabilities0_FilesSharing_Sharebymail_Password, + _$Capabilities0_FilesSharing_Sharebymail_Password ]; @override - final String wireName = 'Capabilities_FilesSharing_Sharebymail_Password'; + final String wireName = 'Capabilities0_FilesSharing_Sharebymail_Password'; @override - Iterable serialize(Serializers serializers, Capabilities_FilesSharing_Sharebymail_Password object, + Iterable serialize(Serializers serializers, Capabilities0_FilesSharing_Sharebymail_Password object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -85,9 +86,9 @@ class _$Capabilities_FilesSharing_Sharebymail_PasswordSerializer } @override - Capabilities_FilesSharing_Sharebymail_Password deserialize(Serializers serializers, Iterable serialized, + Capabilities0_FilesSharing_Sharebymail_Password deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = Capabilities_FilesSharing_Sharebymail_PasswordBuilder(); + final result = Capabilities0_FilesSharing_Sharebymail_PasswordBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -108,18 +109,18 @@ class _$Capabilities_FilesSharing_Sharebymail_PasswordSerializer } } -class _$Capabilities_FilesSharing_Sharebymail_ExpireDateSerializer - implements StructuredSerializer { +class _$Capabilities0_FilesSharing_Sharebymail_ExpireDateSerializer + implements StructuredSerializer { @override final Iterable types = const [ - Capabilities_FilesSharing_Sharebymail_ExpireDate, - _$Capabilities_FilesSharing_Sharebymail_ExpireDate + Capabilities0_FilesSharing_Sharebymail_ExpireDate, + _$Capabilities0_FilesSharing_Sharebymail_ExpireDate ]; @override - final String wireName = 'Capabilities_FilesSharing_Sharebymail_ExpireDate'; + final String wireName = 'Capabilities0_FilesSharing_Sharebymail_ExpireDate'; @override - Iterable serialize(Serializers serializers, Capabilities_FilesSharing_Sharebymail_ExpireDate object, + Iterable serialize(Serializers serializers, Capabilities0_FilesSharing_Sharebymail_ExpireDate object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -132,9 +133,9 @@ class _$Capabilities_FilesSharing_Sharebymail_ExpireDateSerializer } @override - Capabilities_FilesSharing_Sharebymail_ExpireDate deserialize(Serializers serializers, Iterable serialized, + Capabilities0_FilesSharing_Sharebymail_ExpireDate deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); + final result = Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -155,15 +156,15 @@ class _$Capabilities_FilesSharing_Sharebymail_ExpireDateSerializer } } -class _$Capabilities_FilesSharing_SharebymailSerializer - implements StructuredSerializer { +class _$Capabilities0_FilesSharing_SharebymailSerializer + implements StructuredSerializer { @override - final Iterable types = const [Capabilities_FilesSharing_Sharebymail, _$Capabilities_FilesSharing_Sharebymail]; + final Iterable types = const [Capabilities0_FilesSharing_Sharebymail, _$Capabilities0_FilesSharing_Sharebymail]; @override - final String wireName = 'Capabilities_FilesSharing_Sharebymail'; + final String wireName = 'Capabilities0_FilesSharing_Sharebymail'; @override - Iterable serialize(Serializers serializers, Capabilities_FilesSharing_Sharebymail object, + Iterable serialize(Serializers serializers, Capabilities0_FilesSharing_Sharebymail object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -172,22 +173,22 @@ class _$Capabilities_FilesSharing_SharebymailSerializer serializers.serialize(object.sendPasswordByMail, specifiedType: const FullType(bool)), 'upload_files_drop', serializers.serialize(object.uploadFilesDrop, - specifiedType: const FullType(Capabilities_FilesSharing_Sharebymail_UploadFilesDrop)), + specifiedType: const FullType(Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop)), 'password', serializers.serialize(object.password, - specifiedType: const FullType(Capabilities_FilesSharing_Sharebymail_Password)), + specifiedType: const FullType(Capabilities0_FilesSharing_Sharebymail_Password)), 'expire_date', serializers.serialize(object.expireDate, - specifiedType: const FullType(Capabilities_FilesSharing_Sharebymail_ExpireDate)), + specifiedType: const FullType(Capabilities0_FilesSharing_Sharebymail_ExpireDate)), ]; return result; } @override - Capabilities_FilesSharing_Sharebymail deserialize(Serializers serializers, Iterable serialized, + Capabilities0_FilesSharing_Sharebymail deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = Capabilities_FilesSharing_SharebymailBuilder(); + final result = Capabilities0_FilesSharing_SharebymailBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -203,18 +204,18 @@ class _$Capabilities_FilesSharing_SharebymailSerializer break; case 'upload_files_drop': result.uploadFilesDrop.replace(serializers.deserialize(value, - specifiedType: const FullType(Capabilities_FilesSharing_Sharebymail_UploadFilesDrop))! - as Capabilities_FilesSharing_Sharebymail_UploadFilesDrop); + specifiedType: const FullType(Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop))! + as Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop); break; case 'password': result.password.replace(serializers.deserialize(value, - specifiedType: const FullType(Capabilities_FilesSharing_Sharebymail_Password))! - as Capabilities_FilesSharing_Sharebymail_Password); + specifiedType: const FullType(Capabilities0_FilesSharing_Sharebymail_Password))! + as Capabilities0_FilesSharing_Sharebymail_Password); break; case 'expire_date': result.expireDate.replace(serializers.deserialize(value, - specifiedType: const FullType(Capabilities_FilesSharing_Sharebymail_ExpireDate))! - as Capabilities_FilesSharing_Sharebymail_ExpireDate); + specifiedType: const FullType(Capabilities0_FilesSharing_Sharebymail_ExpireDate))! + as Capabilities0_FilesSharing_Sharebymail_ExpireDate); break; } } @@ -223,27 +224,27 @@ class _$Capabilities_FilesSharing_SharebymailSerializer } } -class _$Capabilities_FilesSharingSerializer implements StructuredSerializer { +class _$Capabilities0_FilesSharingSerializer implements StructuredSerializer { @override - final Iterable types = const [Capabilities_FilesSharing, _$Capabilities_FilesSharing]; + final Iterable types = const [Capabilities0_FilesSharing, _$Capabilities0_FilesSharing]; @override - final String wireName = 'Capabilities_FilesSharing'; + final String wireName = 'Capabilities0_FilesSharing'; @override - Iterable serialize(Serializers serializers, Capabilities_FilesSharing object, + Iterable serialize(Serializers serializers, Capabilities0_FilesSharing object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'sharebymail', - serializers.serialize(object.sharebymail, specifiedType: const FullType(Capabilities_FilesSharing_Sharebymail)), + serializers.serialize(object.sharebymail, specifiedType: const FullType(Capabilities0_FilesSharing_Sharebymail)), ]; return result; } @override - Capabilities_FilesSharing deserialize(Serializers serializers, Iterable serialized, + Capabilities0_FilesSharing deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = Capabilities_FilesSharingBuilder(); + final result = Capabilities0_FilesSharingBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -253,8 +254,8 @@ class _$Capabilities_FilesSharingSerializer implements StructuredSerializer { +class _$Capabilities0Serializer implements StructuredSerializer { @override - final Iterable types = const [Capabilities, _$Capabilities]; + final Iterable types = const [Capabilities0, _$Capabilities0]; @override - final String wireName = 'Capabilities'; + final String wireName = 'Capabilities0'; @override - Iterable serialize(Serializers serializers, Capabilities object, + Iterable serialize(Serializers serializers, Capabilities0 object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'files_sharing', - serializers.serialize(object.filesSharing, specifiedType: const FullType(Capabilities_FilesSharing)), + serializers.serialize(object.filesSharing, specifiedType: const FullType(Capabilities0_FilesSharing)), ]; return result; } @override - Capabilities deserialize(Serializers serializers, Iterable serialized, + Capabilities0 deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CapabilitiesBuilder(); + final result = Capabilities0Builder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -293,7 +294,7 @@ class _$CapabilitiesSerializer implements StructuredSerializer { switch (key) { case 'files_sharing': result.filesSharing.replace(serializers.deserialize(value, - specifiedType: const FullType(Capabilities_FilesSharing))! as Capabilities_FilesSharing); + specifiedType: const FullType(Capabilities0_FilesSharing))! as Capabilities0_FilesSharing); break; } } @@ -302,39 +303,40 @@ class _$CapabilitiesSerializer implements StructuredSerializer { } } -abstract mixin class Capabilities_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder { - void replace(Capabilities_FilesSharing_Sharebymail_UploadFilesDropInterface other); - void update(void Function(Capabilities_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder) updates); +abstract mixin class Capabilities0_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder { + void replace(Capabilities0_FilesSharing_Sharebymail_UploadFilesDropInterface other); + void update(void Function(Capabilities0_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder) updates); bool? get enabled; set enabled(bool? enabled); } -class _$Capabilities_FilesSharing_Sharebymail_UploadFilesDrop - extends Capabilities_FilesSharing_Sharebymail_UploadFilesDrop { +class _$Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop + extends Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop { @override final bool enabled; - factory _$Capabilities_FilesSharing_Sharebymail_UploadFilesDrop( - [void Function(Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? updates]) => - (Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder()..update(updates))._build(); + factory _$Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop( + [void Function(Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder)? updates]) => + (Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder()..update(updates))._build(); - _$Capabilities_FilesSharing_Sharebymail_UploadFilesDrop._({required this.enabled}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'Capabilities_FilesSharing_Sharebymail_UploadFilesDrop', 'enabled'); + _$Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop._({required this.enabled}) : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop', 'enabled'); } @override - Capabilities_FilesSharing_Sharebymail_UploadFilesDrop rebuild( - void Function(Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder) updates) => + Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop rebuild( + void Function(Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder) updates) => (toBuilder()..update(updates)).build(); @override - Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder toBuilder() => - Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder()..replace(this); + Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder toBuilder() => + Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is Capabilities_FilesSharing_Sharebymail_UploadFilesDrop && enabled == other.enabled; + return other is Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop && enabled == other.enabled; } @override @@ -347,26 +349,26 @@ class _$Capabilities_FilesSharing_Sharebymail_UploadFilesDrop @override String toString() { - return (newBuiltValueToStringHelper(r'Capabilities_FilesSharing_Sharebymail_UploadFilesDrop') + return (newBuiltValueToStringHelper(r'Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop') ..add('enabled', enabled)) .toString(); } } -class Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder +class Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder implements - Builder, - Capabilities_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder { - _$Capabilities_FilesSharing_Sharebymail_UploadFilesDrop? _$v; + Builder, + Capabilities0_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder { + _$Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop? _$v; bool? _enabled; bool? get enabled => _$this._enabled; set enabled(covariant bool? enabled) => _$this._enabled = enabled; - Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); + Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder(); - Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder get _$this { + Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder get _$this { final $v = _$v; if ($v != null) { _enabled = $v.enabled; @@ -376,32 +378,32 @@ class Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder } @override - void replace(covariant Capabilities_FilesSharing_Sharebymail_UploadFilesDrop other) { + void replace(covariant Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$Capabilities_FilesSharing_Sharebymail_UploadFilesDrop; + _$v = other as _$Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop; } @override - void update(void Function(Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? updates) { + void update(void Function(Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder)? updates) { if (updates != null) updates(this); } @override - Capabilities_FilesSharing_Sharebymail_UploadFilesDrop build() => _build(); + Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop build() => _build(); - _$Capabilities_FilesSharing_Sharebymail_UploadFilesDrop _build() { + _$Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop _build() { final _$result = _$v ?? - _$Capabilities_FilesSharing_Sharebymail_UploadFilesDrop._( + _$Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop._( enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'Capabilities_FilesSharing_Sharebymail_UploadFilesDrop', 'enabled')); + enabled, r'Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop', 'enabled')); replace(_$result); return _$result; } } -abstract mixin class Capabilities_FilesSharing_Sharebymail_PasswordInterfaceBuilder { - void replace(Capabilities_FilesSharing_Sharebymail_PasswordInterface other); - void update(void Function(Capabilities_FilesSharing_Sharebymail_PasswordInterfaceBuilder) updates); +abstract mixin class Capabilities0_FilesSharing_Sharebymail_PasswordInterfaceBuilder { + void replace(Capabilities0_FilesSharing_Sharebymail_PasswordInterface other); + void update(void Function(Capabilities0_FilesSharing_Sharebymail_PasswordInterfaceBuilder) updates); bool? get enabled; set enabled(bool? enabled); @@ -409,34 +411,34 @@ abstract mixin class Capabilities_FilesSharing_Sharebymail_PasswordInterfaceBuil set enforced(bool? enforced); } -class _$Capabilities_FilesSharing_Sharebymail_Password extends Capabilities_FilesSharing_Sharebymail_Password { +class _$Capabilities0_FilesSharing_Sharebymail_Password extends Capabilities0_FilesSharing_Sharebymail_Password { @override final bool enabled; @override final bool enforced; - factory _$Capabilities_FilesSharing_Sharebymail_Password( - [void Function(Capabilities_FilesSharing_Sharebymail_PasswordBuilder)? updates]) => - (Capabilities_FilesSharing_Sharebymail_PasswordBuilder()..update(updates))._build(); + factory _$Capabilities0_FilesSharing_Sharebymail_Password( + [void Function(Capabilities0_FilesSharing_Sharebymail_PasswordBuilder)? updates]) => + (Capabilities0_FilesSharing_Sharebymail_PasswordBuilder()..update(updates))._build(); - _$Capabilities_FilesSharing_Sharebymail_Password._({required this.enabled, required this.enforced}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'Capabilities_FilesSharing_Sharebymail_Password', 'enabled'); - BuiltValueNullFieldError.checkNotNull(enforced, r'Capabilities_FilesSharing_Sharebymail_Password', 'enforced'); + _$Capabilities0_FilesSharing_Sharebymail_Password._({required this.enabled, required this.enforced}) : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'Capabilities0_FilesSharing_Sharebymail_Password', 'enabled'); + BuiltValueNullFieldError.checkNotNull(enforced, r'Capabilities0_FilesSharing_Sharebymail_Password', 'enforced'); } @override - Capabilities_FilesSharing_Sharebymail_Password rebuild( - void Function(Capabilities_FilesSharing_Sharebymail_PasswordBuilder) updates) => + Capabilities0_FilesSharing_Sharebymail_Password rebuild( + void Function(Capabilities0_FilesSharing_Sharebymail_PasswordBuilder) updates) => (toBuilder()..update(updates)).build(); @override - Capabilities_FilesSharing_Sharebymail_PasswordBuilder toBuilder() => - Capabilities_FilesSharing_Sharebymail_PasswordBuilder()..replace(this); + Capabilities0_FilesSharing_Sharebymail_PasswordBuilder toBuilder() => + Capabilities0_FilesSharing_Sharebymail_PasswordBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is Capabilities_FilesSharing_Sharebymail_Password && + return other is Capabilities0_FilesSharing_Sharebymail_Password && enabled == other.enabled && enforced == other.enforced; } @@ -452,18 +454,19 @@ class _$Capabilities_FilesSharing_Sharebymail_Password extends Capabilities_File @override String toString() { - return (newBuiltValueToStringHelper(r'Capabilities_FilesSharing_Sharebymail_Password') + return (newBuiltValueToStringHelper(r'Capabilities0_FilesSharing_Sharebymail_Password') ..add('enabled', enabled) ..add('enforced', enforced)) .toString(); } } -class Capabilities_FilesSharing_Sharebymail_PasswordBuilder +class Capabilities0_FilesSharing_Sharebymail_PasswordBuilder implements - Builder, - Capabilities_FilesSharing_Sharebymail_PasswordInterfaceBuilder { - _$Capabilities_FilesSharing_Sharebymail_Password? _$v; + Builder, + Capabilities0_FilesSharing_Sharebymail_PasswordInterfaceBuilder { + _$Capabilities0_FilesSharing_Sharebymail_Password? _$v; bool? _enabled; bool? get enabled => _$this._enabled; @@ -473,9 +476,9 @@ class Capabilities_FilesSharing_Sharebymail_PasswordBuilder bool? get enforced => _$this._enforced; set enforced(covariant bool? enforced) => _$this._enforced = enforced; - Capabilities_FilesSharing_Sharebymail_PasswordBuilder(); + Capabilities0_FilesSharing_Sharebymail_PasswordBuilder(); - Capabilities_FilesSharing_Sharebymail_PasswordBuilder get _$this { + Capabilities0_FilesSharing_Sharebymail_PasswordBuilder get _$this { final $v = _$v; if ($v != null) { _enabled = $v.enabled; @@ -486,34 +489,34 @@ class Capabilities_FilesSharing_Sharebymail_PasswordBuilder } @override - void replace(covariant Capabilities_FilesSharing_Sharebymail_Password other) { + void replace(covariant Capabilities0_FilesSharing_Sharebymail_Password other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$Capabilities_FilesSharing_Sharebymail_Password; + _$v = other as _$Capabilities0_FilesSharing_Sharebymail_Password; } @override - void update(void Function(Capabilities_FilesSharing_Sharebymail_PasswordBuilder)? updates) { + void update(void Function(Capabilities0_FilesSharing_Sharebymail_PasswordBuilder)? updates) { if (updates != null) updates(this); } @override - Capabilities_FilesSharing_Sharebymail_Password build() => _build(); + Capabilities0_FilesSharing_Sharebymail_Password build() => _build(); - _$Capabilities_FilesSharing_Sharebymail_Password _build() { + _$Capabilities0_FilesSharing_Sharebymail_Password _build() { final _$result = _$v ?? - _$Capabilities_FilesSharing_Sharebymail_Password._( + _$Capabilities0_FilesSharing_Sharebymail_Password._( enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'Capabilities_FilesSharing_Sharebymail_Password', 'enabled'), + enabled, r'Capabilities0_FilesSharing_Sharebymail_Password', 'enabled'), enforced: BuiltValueNullFieldError.checkNotNull( - enforced, r'Capabilities_FilesSharing_Sharebymail_Password', 'enforced')); + enforced, r'Capabilities0_FilesSharing_Sharebymail_Password', 'enforced')); replace(_$result); return _$result; } } -abstract mixin class Capabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder { - void replace(Capabilities_FilesSharing_Sharebymail_ExpireDateInterface other); - void update(void Function(Capabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder) updates); +abstract mixin class Capabilities0_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder { + void replace(Capabilities0_FilesSharing_Sharebymail_ExpireDateInterface other); + void update(void Function(Capabilities0_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder) updates); bool? get enabled; set enabled(bool? enabled); @@ -521,34 +524,34 @@ abstract mixin class Capabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBu set enforced(bool? enforced); } -class _$Capabilities_FilesSharing_Sharebymail_ExpireDate extends Capabilities_FilesSharing_Sharebymail_ExpireDate { +class _$Capabilities0_FilesSharing_Sharebymail_ExpireDate extends Capabilities0_FilesSharing_Sharebymail_ExpireDate { @override final bool enabled; @override final bool enforced; - factory _$Capabilities_FilesSharing_Sharebymail_ExpireDate( - [void Function(Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? updates]) => - (Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder()..update(updates))._build(); + factory _$Capabilities0_FilesSharing_Sharebymail_ExpireDate( + [void Function(Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder)? updates]) => + (Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder()..update(updates))._build(); - _$Capabilities_FilesSharing_Sharebymail_ExpireDate._({required this.enabled, required this.enforced}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'Capabilities_FilesSharing_Sharebymail_ExpireDate', 'enabled'); - BuiltValueNullFieldError.checkNotNull(enforced, r'Capabilities_FilesSharing_Sharebymail_ExpireDate', 'enforced'); + _$Capabilities0_FilesSharing_Sharebymail_ExpireDate._({required this.enabled, required this.enforced}) : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'Capabilities0_FilesSharing_Sharebymail_ExpireDate', 'enabled'); + BuiltValueNullFieldError.checkNotNull(enforced, r'Capabilities0_FilesSharing_Sharebymail_ExpireDate', 'enforced'); } @override - Capabilities_FilesSharing_Sharebymail_ExpireDate rebuild( - void Function(Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder) updates) => + Capabilities0_FilesSharing_Sharebymail_ExpireDate rebuild( + void Function(Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder) updates) => (toBuilder()..update(updates)).build(); @override - Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder toBuilder() => - Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder()..replace(this); + Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder toBuilder() => + Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is Capabilities_FilesSharing_Sharebymail_ExpireDate && + return other is Capabilities0_FilesSharing_Sharebymail_ExpireDate && enabled == other.enabled && enforced == other.enforced; } @@ -564,19 +567,19 @@ class _$Capabilities_FilesSharing_Sharebymail_ExpireDate extends Capabilities_Fi @override String toString() { - return (newBuiltValueToStringHelper(r'Capabilities_FilesSharing_Sharebymail_ExpireDate') + return (newBuiltValueToStringHelper(r'Capabilities0_FilesSharing_Sharebymail_ExpireDate') ..add('enabled', enabled) ..add('enforced', enforced)) .toString(); } } -class Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder +class Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder implements - Builder, - Capabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder { - _$Capabilities_FilesSharing_Sharebymail_ExpireDate? _$v; + Builder, + Capabilities0_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder { + _$Capabilities0_FilesSharing_Sharebymail_ExpireDate? _$v; bool? _enabled; bool? get enabled => _$this._enabled; @@ -586,9 +589,9 @@ class Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder bool? get enforced => _$this._enforced; set enforced(covariant bool? enforced) => _$this._enforced = enforced; - Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); + Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder(); - Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder get _$this { + Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder get _$this { final $v = _$v; if ($v != null) { _enabled = $v.enabled; @@ -599,93 +602,95 @@ class Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder } @override - void replace(covariant Capabilities_FilesSharing_Sharebymail_ExpireDate other) { + void replace(covariant Capabilities0_FilesSharing_Sharebymail_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$Capabilities_FilesSharing_Sharebymail_ExpireDate; + _$v = other as _$Capabilities0_FilesSharing_Sharebymail_ExpireDate; } @override - void update(void Function(Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? updates) { + void update(void Function(Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder)? updates) { if (updates != null) updates(this); } @override - Capabilities_FilesSharing_Sharebymail_ExpireDate build() => _build(); + Capabilities0_FilesSharing_Sharebymail_ExpireDate build() => _build(); - _$Capabilities_FilesSharing_Sharebymail_ExpireDate _build() { + _$Capabilities0_FilesSharing_Sharebymail_ExpireDate _build() { final _$result = _$v ?? - _$Capabilities_FilesSharing_Sharebymail_ExpireDate._( + _$Capabilities0_FilesSharing_Sharebymail_ExpireDate._( enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'Capabilities_FilesSharing_Sharebymail_ExpireDate', 'enabled'), + enabled, r'Capabilities0_FilesSharing_Sharebymail_ExpireDate', 'enabled'), enforced: BuiltValueNullFieldError.checkNotNull( - enforced, r'Capabilities_FilesSharing_Sharebymail_ExpireDate', 'enforced')); + enforced, r'Capabilities0_FilesSharing_Sharebymail_ExpireDate', 'enforced')); replace(_$result); return _$result; } } -abstract mixin class Capabilities_FilesSharing_SharebymailInterfaceBuilder { - void replace(Capabilities_FilesSharing_SharebymailInterface other); - void update(void Function(Capabilities_FilesSharing_SharebymailInterfaceBuilder) updates); +abstract mixin class Capabilities0_FilesSharing_SharebymailInterfaceBuilder { + void replace(Capabilities0_FilesSharing_SharebymailInterface other); + void update(void Function(Capabilities0_FilesSharing_SharebymailInterfaceBuilder) updates); bool? get enabled; set enabled(bool? enabled); bool? get sendPasswordByMail; set sendPasswordByMail(bool? sendPasswordByMail); - Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder get uploadFilesDrop; - set uploadFilesDrop(Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? uploadFilesDrop); + Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder get uploadFilesDrop; + set uploadFilesDrop(Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder? uploadFilesDrop); - Capabilities_FilesSharing_Sharebymail_PasswordBuilder get password; - set password(Capabilities_FilesSharing_Sharebymail_PasswordBuilder? password); + Capabilities0_FilesSharing_Sharebymail_PasswordBuilder get password; + set password(Capabilities0_FilesSharing_Sharebymail_PasswordBuilder? password); - Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder get expireDate; - set expireDate(Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder? expireDate); + Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder get expireDate; + set expireDate(Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder? expireDate); } -class _$Capabilities_FilesSharing_Sharebymail extends Capabilities_FilesSharing_Sharebymail { +class _$Capabilities0_FilesSharing_Sharebymail extends Capabilities0_FilesSharing_Sharebymail { @override final bool enabled; @override final bool sendPasswordByMail; @override - final Capabilities_FilesSharing_Sharebymail_UploadFilesDrop uploadFilesDrop; + final Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop uploadFilesDrop; @override - final Capabilities_FilesSharing_Sharebymail_Password password; + final Capabilities0_FilesSharing_Sharebymail_Password password; @override - final Capabilities_FilesSharing_Sharebymail_ExpireDate expireDate; + final Capabilities0_FilesSharing_Sharebymail_ExpireDate expireDate; - factory _$Capabilities_FilesSharing_Sharebymail( - [void Function(Capabilities_FilesSharing_SharebymailBuilder)? updates]) => - (Capabilities_FilesSharing_SharebymailBuilder()..update(updates))._build(); + factory _$Capabilities0_FilesSharing_Sharebymail( + [void Function(Capabilities0_FilesSharing_SharebymailBuilder)? updates]) => + (Capabilities0_FilesSharing_SharebymailBuilder()..update(updates))._build(); - _$Capabilities_FilesSharing_Sharebymail._( + _$Capabilities0_FilesSharing_Sharebymail._( {required this.enabled, required this.sendPasswordByMail, required this.uploadFilesDrop, required this.password, required this.expireDate}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'Capabilities_FilesSharing_Sharebymail', 'enabled'); + BuiltValueNullFieldError.checkNotNull(enabled, r'Capabilities0_FilesSharing_Sharebymail', 'enabled'); + BuiltValueNullFieldError.checkNotNull( + sendPasswordByMail, r'Capabilities0_FilesSharing_Sharebymail', 'sendPasswordByMail'); BuiltValueNullFieldError.checkNotNull( - sendPasswordByMail, r'Capabilities_FilesSharing_Sharebymail', 'sendPasswordByMail'); - BuiltValueNullFieldError.checkNotNull(uploadFilesDrop, r'Capabilities_FilesSharing_Sharebymail', 'uploadFilesDrop'); - BuiltValueNullFieldError.checkNotNull(password, r'Capabilities_FilesSharing_Sharebymail', 'password'); - BuiltValueNullFieldError.checkNotNull(expireDate, r'Capabilities_FilesSharing_Sharebymail', 'expireDate'); + uploadFilesDrop, r'Capabilities0_FilesSharing_Sharebymail', 'uploadFilesDrop'); + BuiltValueNullFieldError.checkNotNull(password, r'Capabilities0_FilesSharing_Sharebymail', 'password'); + BuiltValueNullFieldError.checkNotNull(expireDate, r'Capabilities0_FilesSharing_Sharebymail', 'expireDate'); } @override - Capabilities_FilesSharing_Sharebymail rebuild(void Function(Capabilities_FilesSharing_SharebymailBuilder) updates) => + Capabilities0_FilesSharing_Sharebymail rebuild( + void Function(Capabilities0_FilesSharing_SharebymailBuilder) updates) => (toBuilder()..update(updates)).build(); @override - Capabilities_FilesSharing_SharebymailBuilder toBuilder() => - Capabilities_FilesSharing_SharebymailBuilder()..replace(this); + Capabilities0_FilesSharing_SharebymailBuilder toBuilder() => + Capabilities0_FilesSharing_SharebymailBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is Capabilities_FilesSharing_Sharebymail && + return other is Capabilities0_FilesSharing_Sharebymail && enabled == other.enabled && sendPasswordByMail == other.sendPasswordByMail && uploadFilesDrop == other.uploadFilesDrop && @@ -707,7 +712,7 @@ class _$Capabilities_FilesSharing_Sharebymail extends Capabilities_FilesSharing_ @override String toString() { - return (newBuiltValueToStringHelper(r'Capabilities_FilesSharing_Sharebymail') + return (newBuiltValueToStringHelper(r'Capabilities0_FilesSharing_Sharebymail') ..add('enabled', enabled) ..add('sendPasswordByMail', sendPasswordByMail) ..add('uploadFilesDrop', uploadFilesDrop) @@ -717,11 +722,11 @@ class _$Capabilities_FilesSharing_Sharebymail extends Capabilities_FilesSharing_ } } -class Capabilities_FilesSharing_SharebymailBuilder +class Capabilities0_FilesSharing_SharebymailBuilder implements - Builder, - Capabilities_FilesSharing_SharebymailInterfaceBuilder { - _$Capabilities_FilesSharing_Sharebymail? _$v; + Builder, + Capabilities0_FilesSharing_SharebymailInterfaceBuilder { + _$Capabilities0_FilesSharing_Sharebymail? _$v; bool? _enabled; bool? get enabled => _$this._enabled; @@ -731,27 +736,27 @@ class Capabilities_FilesSharing_SharebymailBuilder bool? get sendPasswordByMail => _$this._sendPasswordByMail; set sendPasswordByMail(covariant bool? sendPasswordByMail) => _$this._sendPasswordByMail = sendPasswordByMail; - Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? _uploadFilesDrop; - Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder get uploadFilesDrop => - _$this._uploadFilesDrop ??= Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); - set uploadFilesDrop(covariant Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? uploadFilesDrop) => + Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder? _uploadFilesDrop; + Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder get uploadFilesDrop => + _$this._uploadFilesDrop ??= Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder(); + set uploadFilesDrop(covariant Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder? uploadFilesDrop) => _$this._uploadFilesDrop = uploadFilesDrop; - Capabilities_FilesSharing_Sharebymail_PasswordBuilder? _password; - Capabilities_FilesSharing_Sharebymail_PasswordBuilder get password => - _$this._password ??= Capabilities_FilesSharing_Sharebymail_PasswordBuilder(); - set password(covariant Capabilities_FilesSharing_Sharebymail_PasswordBuilder? password) => + Capabilities0_FilesSharing_Sharebymail_PasswordBuilder? _password; + Capabilities0_FilesSharing_Sharebymail_PasswordBuilder get password => + _$this._password ??= Capabilities0_FilesSharing_Sharebymail_PasswordBuilder(); + set password(covariant Capabilities0_FilesSharing_Sharebymail_PasswordBuilder? password) => _$this._password = password; - Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder? _expireDate; - Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder get expireDate => - _$this._expireDate ??= Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); - set expireDate(covariant Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder? expireDate) => + Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder? _expireDate; + Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder get expireDate => + _$this._expireDate ??= Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder(); + set expireDate(covariant Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder? expireDate) => _$this._expireDate = expireDate; - Capabilities_FilesSharing_SharebymailBuilder(); + Capabilities0_FilesSharing_SharebymailBuilder(); - Capabilities_FilesSharing_SharebymailBuilder get _$this { + Capabilities0_FilesSharing_SharebymailBuilder get _$this { final $v = _$v; if ($v != null) { _enabled = $v.enabled; @@ -765,28 +770,28 @@ class Capabilities_FilesSharing_SharebymailBuilder } @override - void replace(covariant Capabilities_FilesSharing_Sharebymail other) { + void replace(covariant Capabilities0_FilesSharing_Sharebymail other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$Capabilities_FilesSharing_Sharebymail; + _$v = other as _$Capabilities0_FilesSharing_Sharebymail; } @override - void update(void Function(Capabilities_FilesSharing_SharebymailBuilder)? updates) { + void update(void Function(Capabilities0_FilesSharing_SharebymailBuilder)? updates) { if (updates != null) updates(this); } @override - Capabilities_FilesSharing_Sharebymail build() => _build(); + Capabilities0_FilesSharing_Sharebymail build() => _build(); - _$Capabilities_FilesSharing_Sharebymail _build() { - _$Capabilities_FilesSharing_Sharebymail _$result; + _$Capabilities0_FilesSharing_Sharebymail _build() { + _$Capabilities0_FilesSharing_Sharebymail _$result; try { _$result = _$v ?? - _$Capabilities_FilesSharing_Sharebymail._( + _$Capabilities0_FilesSharing_Sharebymail._( enabled: - BuiltValueNullFieldError.checkNotNull(enabled, r'Capabilities_FilesSharing_Sharebymail', 'enabled'), + BuiltValueNullFieldError.checkNotNull(enabled, r'Capabilities0_FilesSharing_Sharebymail', 'enabled'), sendPasswordByMail: BuiltValueNullFieldError.checkNotNull( - sendPasswordByMail, r'Capabilities_FilesSharing_Sharebymail', 'sendPasswordByMail'), + sendPasswordByMail, r'Capabilities0_FilesSharing_Sharebymail', 'sendPasswordByMail'), uploadFilesDrop: uploadFilesDrop.build(), password: password.build(), expireDate: expireDate.build()); @@ -800,7 +805,7 @@ class Capabilities_FilesSharing_SharebymailBuilder _$failedField = 'expireDate'; expireDate.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'Capabilities_FilesSharing_Sharebymail', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'Capabilities0_FilesSharing_Sharebymail', _$failedField, e.toString()); } rethrow; } @@ -809,35 +814,35 @@ class Capabilities_FilesSharing_SharebymailBuilder } } -abstract mixin class Capabilities_FilesSharingInterfaceBuilder { - void replace(Capabilities_FilesSharingInterface other); - void update(void Function(Capabilities_FilesSharingInterfaceBuilder) updates); - Capabilities_FilesSharing_SharebymailBuilder get sharebymail; - set sharebymail(Capabilities_FilesSharing_SharebymailBuilder? sharebymail); +abstract mixin class Capabilities0_FilesSharingInterfaceBuilder { + void replace(Capabilities0_FilesSharingInterface other); + void update(void Function(Capabilities0_FilesSharingInterfaceBuilder) updates); + Capabilities0_FilesSharing_SharebymailBuilder get sharebymail; + set sharebymail(Capabilities0_FilesSharing_SharebymailBuilder? sharebymail); } -class _$Capabilities_FilesSharing extends Capabilities_FilesSharing { +class _$Capabilities0_FilesSharing extends Capabilities0_FilesSharing { @override - final Capabilities_FilesSharing_Sharebymail sharebymail; + final Capabilities0_FilesSharing_Sharebymail sharebymail; - factory _$Capabilities_FilesSharing([void Function(Capabilities_FilesSharingBuilder)? updates]) => - (Capabilities_FilesSharingBuilder()..update(updates))._build(); + factory _$Capabilities0_FilesSharing([void Function(Capabilities0_FilesSharingBuilder)? updates]) => + (Capabilities0_FilesSharingBuilder()..update(updates))._build(); - _$Capabilities_FilesSharing._({required this.sharebymail}) : super._() { - BuiltValueNullFieldError.checkNotNull(sharebymail, r'Capabilities_FilesSharing', 'sharebymail'); + _$Capabilities0_FilesSharing._({required this.sharebymail}) : super._() { + BuiltValueNullFieldError.checkNotNull(sharebymail, r'Capabilities0_FilesSharing', 'sharebymail'); } @override - Capabilities_FilesSharing rebuild(void Function(Capabilities_FilesSharingBuilder) updates) => + Capabilities0_FilesSharing rebuild(void Function(Capabilities0_FilesSharingBuilder) updates) => (toBuilder()..update(updates)).build(); @override - Capabilities_FilesSharingBuilder toBuilder() => Capabilities_FilesSharingBuilder()..replace(this); + Capabilities0_FilesSharingBuilder toBuilder() => Capabilities0_FilesSharingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is Capabilities_FilesSharing && sharebymail == other.sharebymail; + return other is Capabilities0_FilesSharing && sharebymail == other.sharebymail; } @override @@ -850,25 +855,25 @@ class _$Capabilities_FilesSharing extends Capabilities_FilesSharing { @override String toString() { - return (newBuiltValueToStringHelper(r'Capabilities_FilesSharing')..add('sharebymail', sharebymail)).toString(); + return (newBuiltValueToStringHelper(r'Capabilities0_FilesSharing')..add('sharebymail', sharebymail)).toString(); } } -class Capabilities_FilesSharingBuilder +class Capabilities0_FilesSharingBuilder implements - Builder, - Capabilities_FilesSharingInterfaceBuilder { - _$Capabilities_FilesSharing? _$v; - - Capabilities_FilesSharing_SharebymailBuilder? _sharebymail; - Capabilities_FilesSharing_SharebymailBuilder get sharebymail => - _$this._sharebymail ??= Capabilities_FilesSharing_SharebymailBuilder(); - set sharebymail(covariant Capabilities_FilesSharing_SharebymailBuilder? sharebymail) => + Builder, + Capabilities0_FilesSharingInterfaceBuilder { + _$Capabilities0_FilesSharing? _$v; + + Capabilities0_FilesSharing_SharebymailBuilder? _sharebymail; + Capabilities0_FilesSharing_SharebymailBuilder get sharebymail => + _$this._sharebymail ??= Capabilities0_FilesSharing_SharebymailBuilder(); + set sharebymail(covariant Capabilities0_FilesSharing_SharebymailBuilder? sharebymail) => _$this._sharebymail = sharebymail; - Capabilities_FilesSharingBuilder(); + Capabilities0_FilesSharingBuilder(); - Capabilities_FilesSharingBuilder get _$this { + Capabilities0_FilesSharingBuilder get _$this { final $v = _$v; if ($v != null) { _sharebymail = $v.sharebymail.toBuilder(); @@ -878,30 +883,125 @@ class Capabilities_FilesSharingBuilder } @override - void replace(covariant Capabilities_FilesSharing other) { + void replace(covariant Capabilities0_FilesSharing other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$Capabilities_FilesSharing; + _$v = other as _$Capabilities0_FilesSharing; } @override - void update(void Function(Capabilities_FilesSharingBuilder)? updates) { + void update(void Function(Capabilities0_FilesSharingBuilder)? updates) { if (updates != null) updates(this); } @override - Capabilities_FilesSharing build() => _build(); + Capabilities0_FilesSharing build() => _build(); - _$Capabilities_FilesSharing _build() { - _$Capabilities_FilesSharing _$result; + _$Capabilities0_FilesSharing _build() { + _$Capabilities0_FilesSharing _$result; try { - _$result = _$v ?? _$Capabilities_FilesSharing._(sharebymail: sharebymail.build()); + _$result = _$v ?? _$Capabilities0_FilesSharing._(sharebymail: sharebymail.build()); } catch (_) { late String _$failedField; try { _$failedField = 'sharebymail'; sharebymail.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'Capabilities_FilesSharing', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'Capabilities0_FilesSharing', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class Capabilities0InterfaceBuilder { + void replace(Capabilities0Interface other); + void update(void Function(Capabilities0InterfaceBuilder) updates); + Capabilities0_FilesSharingBuilder get filesSharing; + set filesSharing(Capabilities0_FilesSharingBuilder? filesSharing); +} + +class _$Capabilities0 extends Capabilities0 { + @override + final Capabilities0_FilesSharing filesSharing; + + factory _$Capabilities0([void Function(Capabilities0Builder)? updates]) => + (Capabilities0Builder()..update(updates))._build(); + + _$Capabilities0._({required this.filesSharing}) : super._() { + BuiltValueNullFieldError.checkNotNull(filesSharing, r'Capabilities0', 'filesSharing'); + } + + @override + Capabilities0 rebuild(void Function(Capabilities0Builder) updates) => (toBuilder()..update(updates)).build(); + + @override + Capabilities0Builder toBuilder() => Capabilities0Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is Capabilities0 && filesSharing == other.filesSharing; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, filesSharing.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'Capabilities0')..add('filesSharing', filesSharing)).toString(); + } +} + +class Capabilities0Builder implements Builder, Capabilities0InterfaceBuilder { + _$Capabilities0? _$v; + + Capabilities0_FilesSharingBuilder? _filesSharing; + Capabilities0_FilesSharingBuilder get filesSharing => _$this._filesSharing ??= Capabilities0_FilesSharingBuilder(); + set filesSharing(covariant Capabilities0_FilesSharingBuilder? filesSharing) => _$this._filesSharing = filesSharing; + + Capabilities0Builder(); + + Capabilities0Builder get _$this { + final $v = _$v; + if ($v != null) { + _filesSharing = $v.filesSharing.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant Capabilities0 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$Capabilities0; + } + + @override + void update(void Function(Capabilities0Builder)? updates) { + if (updates != null) updates(this); + } + + @override + Capabilities0 build() => _build(); + + _$Capabilities0 _build() { + _$Capabilities0 _$result; + try { + _$result = _$v ?? _$Capabilities0._(filesSharing: filesSharing.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'filesSharing'; + filesSharing.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'Capabilities0', _$failedField, e.toString()); } rethrow; } @@ -913,19 +1013,26 @@ class Capabilities_FilesSharingBuilder abstract mixin class CapabilitiesInterfaceBuilder { void replace(CapabilitiesInterface other); void update(void Function(CapabilitiesInterfaceBuilder) updates); - Capabilities_FilesSharingBuilder get filesSharing; - set filesSharing(Capabilities_FilesSharingBuilder? filesSharing); + Capabilities0Builder get capabilities0; + set capabilities0(Capabilities0Builder? capabilities0); + + ListBuilder get builtListJsonObject; + set builtListJsonObject(ListBuilder? builtListJsonObject); } class _$Capabilities extends Capabilities { @override - final Capabilities_FilesSharing filesSharing; + final JsonObject data; + @override + final Capabilities0? capabilities0; + @override + final BuiltList? builtListJsonObject; factory _$Capabilities([void Function(CapabilitiesBuilder)? updates]) => (CapabilitiesBuilder()..update(updates))._build(); - _$Capabilities._({required this.filesSharing}) : super._() { - BuiltValueNullFieldError.checkNotNull(filesSharing, r'Capabilities', 'filesSharing'); + _$Capabilities._({required this.data, this.capabilities0, this.builtListJsonObject}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'Capabilities', 'data'); } @override @@ -937,36 +1044,56 @@ class _$Capabilities extends Capabilities { @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is Capabilities && filesSharing == other.filesSharing; + return other is Capabilities && + data == other.data && + capabilities0 == other.capabilities0 && + builtListJsonObject == other.builtListJsonObject; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, filesSharing.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, capabilities0.hashCode); + _$hash = $jc(_$hash, builtListJsonObject.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'Capabilities')..add('filesSharing', filesSharing)).toString(); + return (newBuiltValueToStringHelper(r'Capabilities') + ..add('data', data) + ..add('capabilities0', capabilities0) + ..add('builtListJsonObject', builtListJsonObject)) + .toString(); } } class CapabilitiesBuilder implements Builder, CapabilitiesInterfaceBuilder { _$Capabilities? _$v; - Capabilities_FilesSharingBuilder? _filesSharing; - Capabilities_FilesSharingBuilder get filesSharing => _$this._filesSharing ??= Capabilities_FilesSharingBuilder(); - set filesSharing(covariant Capabilities_FilesSharingBuilder? filesSharing) => _$this._filesSharing = filesSharing; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + Capabilities0Builder? _capabilities0; + Capabilities0Builder get capabilities0 => _$this._capabilities0 ??= Capabilities0Builder(); + set capabilities0(covariant Capabilities0Builder? capabilities0) => _$this._capabilities0 = capabilities0; + + ListBuilder? _builtListJsonObject; + ListBuilder get builtListJsonObject => _$this._builtListJsonObject ??= ListBuilder(); + set builtListJsonObject(covariant ListBuilder? builtListJsonObject) => + _$this._builtListJsonObject = builtListJsonObject; CapabilitiesBuilder(); CapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _filesSharing = $v.filesSharing.toBuilder(); + _data = $v.data; + _capabilities0 = $v.capabilities0?.toBuilder(); + _builtListJsonObject = $v.builtListJsonObject?.toBuilder(); _$v = null; } return this; @@ -987,14 +1114,21 @@ class CapabilitiesBuilder implements Builder, Capabilities build() => _build(); _$Capabilities _build() { + Capabilities._validate(this); _$Capabilities _$result; try { - _$result = _$v ?? _$Capabilities._(filesSharing: filesSharing.build()); + _$result = _$v ?? + _$Capabilities._( + data: BuiltValueNullFieldError.checkNotNull(data, r'Capabilities', 'data'), + capabilities0: _capabilities0?.build(), + builtListJsonObject: _builtListJsonObject?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'filesSharing'; - filesSharing.build(); + _$failedField = 'capabilities0'; + _capabilities0?.build(); + _$failedField = 'builtListJsonObject'; + _builtListJsonObject?.build(); } catch (e) { throw BuiltValueNestedFieldError(r'Capabilities', _$failedField, e.toString()); } diff --git a/packages/nextcloud/lib/src/api/sharebymail.openapi.json b/packages/nextcloud/lib/src/api/sharebymail.openapi.json index 1f7e79d6..81eff703 100644 --- a/packages/nextcloud/lib/src/api/sharebymail.openapi.json +++ b/packages/nextcloud/lib/src/api/sharebymail.openapi.json @@ -22,79 +22,87 @@ }, "schemas": { "Capabilities": { - "type": "object", - "required": [ - "files_sharing" - ], - "properties": { - "files_sharing": { + "oneOf": [ + { "type": "object", "required": [ - "sharebymail" + "files_sharing" ], "properties": { - "sharebymail": { + "files_sharing": { "type": "object", "required": [ - "enabled", - "send_password_by_mail", - "upload_files_drop", - "password", - "expire_date" + "sharebymail" ], "properties": { - "enabled": { - "type": "boolean" - }, - "send_password_by_mail": { - "type": "boolean" - }, - "upload_files_drop": { - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "password": { + "sharebymail": { "type": "object", "required": [ "enabled", - "enforced" + "send_password_by_mail", + "upload_files_drop", + "password", + "expire_date" ], "properties": { "enabled": { "type": "boolean" }, - "enforced": { - "type": "boolean" - } - } - }, - "expire_date": { - "type": "object", - "required": [ - "enabled", - "enforced" - ], - "properties": { - "enabled": { + "send_password_by_mail": { "type": "boolean" }, - "enforced": { - "type": "boolean" + "upload_files_drop": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + }, + "password": { + "type": "object", + "required": [ + "enabled", + "enforced" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "enforced": { + "type": "boolean" + } + } + }, + "expire_date": { + "type": "object", + "required": [ + "enabled", + "enforced" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "enforced": { + "type": "boolean" + } + } } } } } } } + }, + { + "type": "array", + "maxLength": 0 } - } + ] } } }, diff --git a/packages/nextcloud/lib/src/api/user_status.openapi.dart b/packages/nextcloud/lib/src/api/user_status.openapi.dart index 404ed775..a24b1880 100644 --- a/packages/nextcloud/lib/src/api/user_status.openapi.dart +++ b/packages/nextcloud/lib/src/api/user_status.openapi.dart @@ -1790,7 +1790,7 @@ abstract class UserStatusClearMessageResponseApplicationJson @BuiltValue(instantiable: false) abstract interface class UserStatusRevertStatusResponseApplicationJson_Ocs_DataInterface { Private? get private; - JsonObject? get jsonObject; + BuiltList? get builtListJsonObject; } abstract class UserStatusRevertStatusResponseApplicationJson_Ocs_Data @@ -1827,9 +1827,9 @@ abstract class UserStatusRevertStatusResponseApplicationJson_Ocs_Data return; } - final match = [b._private, b._jsonObject].singleWhereOrNull((final x) => x != null); + final match = [b._private, b._builtListJsonObject].singleWhereOrNull((final x) => x != null); if (match == null) { - throw StateError("Need exactly one of 'private', 'jsonObject' for ${b._data}"); + throw StateError("Need exactly one of 'private', 'builtListJsonObject' for ${b._data}"); } } } @@ -1865,8 +1865,11 @@ class _$UserStatusRevertStatusResponseApplicationJson_Ocs_DataSerializer result.private.replace(value); } catch (_) {} try { - final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(JsonObject))! as JsonObject; - result.jsonObject = value; + final value = _jsonSerializers.deserialize( + data, + specifiedType: const FullType(BuiltList, [FullType(JsonObject)]), + )! as BuiltList; + result.builtListJsonObject.replace(value); } catch (_) {} return result.build(); } @@ -2106,6 +2109,7 @@ final Serializers _serializers = (Serializers().toBuilder() UserStatusRevertStatusResponseApplicationJson_Ocs_Data.new, ) ..add(UserStatusRevertStatusResponseApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(JsonObject)]), ListBuilder.new) ..addBuilderFactory(const FullType(Capabilities), Capabilities.new) ..add(Capabilities.serializer) ..addBuilderFactory(const FullType(Capabilities_UserStatus), Capabilities_UserStatus.new) 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 78db5c33..e5216a14 100644 --- a/packages/nextcloud/lib/src/api/user_status.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/user_status.openapi.g.dart @@ -4392,8 +4392,8 @@ abstract mixin class UserStatusRevertStatusResponseApplicationJson_Ocs_DataInter PrivateBuilder get private; set private(PrivateBuilder? private); - JsonObject? get jsonObject; - set jsonObject(JsonObject? jsonObject); + ListBuilder get builtListJsonObject; + set builtListJsonObject(ListBuilder? builtListJsonObject); } class _$UserStatusRevertStatusResponseApplicationJson_Ocs_Data @@ -4403,13 +4403,14 @@ class _$UserStatusRevertStatusResponseApplicationJson_Ocs_Data @override final Private? private; @override - final JsonObject? jsonObject; + final BuiltList? builtListJsonObject; factory _$UserStatusRevertStatusResponseApplicationJson_Ocs_Data( [void Function(UserStatusRevertStatusResponseApplicationJson_Ocs_DataBuilder)? updates]) => (UserStatusRevertStatusResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$UserStatusRevertStatusResponseApplicationJson_Ocs_Data._({required this.data, this.private, this.jsonObject}) + _$UserStatusRevertStatusResponseApplicationJson_Ocs_Data._( + {required this.data, this.private, this.builtListJsonObject}) : super._() { BuiltValueNullFieldError.checkNotNull(data, r'UserStatusRevertStatusResponseApplicationJson_Ocs_Data', 'data'); } @@ -4429,7 +4430,7 @@ class _$UserStatusRevertStatusResponseApplicationJson_Ocs_Data return other is UserStatusRevertStatusResponseApplicationJson_Ocs_Data && data == other.data && private == other.private && - jsonObject == other.jsonObject; + builtListJsonObject == other.builtListJsonObject; } @override @@ -4437,7 +4438,7 @@ class _$UserStatusRevertStatusResponseApplicationJson_Ocs_Data var _$hash = 0; _$hash = $jc(_$hash, data.hashCode); _$hash = $jc(_$hash, private.hashCode); - _$hash = $jc(_$hash, jsonObject.hashCode); + _$hash = $jc(_$hash, builtListJsonObject.hashCode); _$hash = $jf(_$hash); return _$hash; } @@ -4447,7 +4448,7 @@ class _$UserStatusRevertStatusResponseApplicationJson_Ocs_Data return (newBuiltValueToStringHelper(r'UserStatusRevertStatusResponseApplicationJson_Ocs_Data') ..add('data', data) ..add('private', private) - ..add('jsonObject', jsonObject)) + ..add('builtListJsonObject', builtListJsonObject)) .toString(); } } @@ -4467,9 +4468,10 @@ class UserStatusRevertStatusResponseApplicationJson_Ocs_DataBuilder PrivateBuilder get private => _$this._private ??= PrivateBuilder(); set private(covariant PrivateBuilder? private) => _$this._private = private; - JsonObject? _jsonObject; - JsonObject? get jsonObject => _$this._jsonObject; - set jsonObject(covariant JsonObject? jsonObject) => _$this._jsonObject = jsonObject; + ListBuilder? _builtListJsonObject; + ListBuilder get builtListJsonObject => _$this._builtListJsonObject ??= ListBuilder(); + set builtListJsonObject(covariant ListBuilder? builtListJsonObject) => + _$this._builtListJsonObject = builtListJsonObject; UserStatusRevertStatusResponseApplicationJson_Ocs_DataBuilder(); @@ -4478,7 +4480,7 @@ class UserStatusRevertStatusResponseApplicationJson_Ocs_DataBuilder if ($v != null) { _data = $v.data; _private = $v.private?.toBuilder(); - _jsonObject = $v.jsonObject; + _builtListJsonObject = $v.builtListJsonObject?.toBuilder(); _$v = null; } return this; @@ -4507,12 +4509,14 @@ class UserStatusRevertStatusResponseApplicationJson_Ocs_DataBuilder data: BuiltValueNullFieldError.checkNotNull( data, r'UserStatusRevertStatusResponseApplicationJson_Ocs_Data', 'data'), private: _private?.build(), - jsonObject: jsonObject); + builtListJsonObject: _builtListJsonObject?.build()); } catch (_) { late String _$failedField; try { _$failedField = 'private'; _private?.build(); + _$failedField = 'builtListJsonObject'; + _builtListJsonObject?.build(); } catch (e) { throw BuiltValueNestedFieldError( r'UserStatusRevertStatusResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); diff --git a/packages/nextcloud/lib/src/api/user_status.openapi.json b/packages/nextcloud/lib/src/api/user_status.openapi.json index 77008c91..802ad16f 100644 --- a/packages/nextcloud/lib/src/api/user_status.openapi.json +++ b/packages/nextcloud/lib/src/api/user_status.openapi.json @@ -821,7 +821,10 @@ { "$ref": "#/components/schemas/Private" }, - {} + { + "type": "array", + "maxLength": 0 + } ] } }