diff --git a/external/nextcloud-openapi-extractor b/external/nextcloud-openapi-extractor index 5940a175..85b552a0 160000 --- a/external/nextcloud-openapi-extractor +++ b/external/nextcloud-openapi-extractor @@ -1 +1 @@ -Subproject commit 5940a175e352d3cf7780e1c50dd572dfe04523b3 +Subproject commit 85b552a0c82ac71e1f5660109113b6235156e92e diff --git a/external/nextcloud-server b/external/nextcloud-server index 8606f162..020401b6 160000 --- a/external/nextcloud-server +++ b/external/nextcloud-server @@ -1 +1 @@ -Subproject commit 8606f162c5b5b5d6a355e7e2f27e05585b3d0360 +Subproject commit 020401b6c82930783188fd428b961ddd4a296656 diff --git a/packages/nextcloud/lib/src/api/core.openapi.dart b/packages/nextcloud/lib/src/api/core.openapi.dart index 31be9f13..e041d2e3 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.dart +++ b/packages/nextcloud/lib/src/api/core.openapi.dart @@ -1057,6 +1057,7 @@ class CorePreviewClient { final int a = 0, final int forceIcon = 1, final String mode = 'fill', + final int mimeFallback = 0, }) async { const path = '/index.php/core/preview'; final queryParameters = {}; @@ -1095,6 +1096,9 @@ class CorePreviewClient { if (mode != 'fill') { queryParameters['mode'] = mode; } + if (mimeFallback != 0) { + queryParameters['mimeFallback'] = mimeFallback.toString(); + } final response = await _rootClient.doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), @@ -1115,6 +1119,7 @@ class CorePreviewClient { final int a = 0, final int forceIcon = 1, final String mode = 'fill', + final int mimeFallback = 0, }) async { const path = '/index.php/core/preview.png'; final queryParameters = {}; @@ -1153,6 +1158,9 @@ class CorePreviewClient { if (mode != 'fill') { queryParameters['mode'] = mode; } + if (mimeFallback != 0) { + queryParameters['mimeFallback'] = mimeFallback.toString(); + } final response = await _rootClient.doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), @@ -1607,6 +1615,92 @@ class CoreTextProcessingApiClient { } throw await CoreApiException.fromResponse(response); // coverage:ignore-line } + + /// This endpoint allows to delete a scheduled task for a user + Future deleteTask({ + required final int id, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/textprocessing/task/{id}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + // coverage:ignore-start + if (_rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + _rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (_rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers.addAll( + _rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + // coverage:ignore-end + path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await _rootClient.doRequest( + 'delete', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson), + )! as CoreTextProcessingApiDeleteTaskResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } + + /// This endpoint returns a list of tasks of a user that are related with a specific appId and optionally with an identifier + Future listTasksByApp({ + required final String appId, + final String? identifier, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/textprocessing/tasks/app/{appId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + // coverage:ignore-start + if (_rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + _rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (_rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers.addAll( + _rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + // coverage:ignore-end + path = path.replaceAll('{appId}', Uri.encodeQueryComponent(appId)); + if (identifier != null) { + queryParameters['identifier'] = identifier; + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await _rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson), + )! as CoreTextProcessingApiListTasksByAppResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } } class CoreTranslationApiClient { @@ -3243,24 +3337,20 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataVersionSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password +abstract class CoreFilesSharingCapabilities_FilesSharing_Public_Password implements - Built { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password([ - final void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder, - )? b, - ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password; + Built { + factory CoreFilesSharingCapabilities_FilesSharing_Public_Password([ + final void Function(CoreFilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? b, + ]) = _$CoreFilesSharingCapabilities_FilesSharing_Public_Password; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password._(); + const CoreFilesSharingCapabilities_FilesSharing_Public_Password._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password.fromJson( - final Map json, - ) => + factory CoreFilesSharingCapabilities_FilesSharing_Public_Password.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -3269,29 +3359,24 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil // coverage:ignore-end bool get enforced; bool get askForOptionalPassword; - static Serializer - get serializer => - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicPasswordSerializer; + static Serializer get serializer => + _$coreFilesSharingCapabilitiesFilesSharingPublicPasswordSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate +abstract class CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate implements - Built { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate([ - final void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder, - )? b, - ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate; + Built { + factory CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate([ + final void Function(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? b, + ]) = _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate._(); + const CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate.fromJson( - final Map json, - ) => + factory CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -3301,29 +3386,24 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil bool get enabled; int? get days; bool? get enforced; - static Serializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate> - get serializer => - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicExpireDateSerializer; + static Serializer get serializer => + _$coreFilesSharingCapabilitiesFilesSharingPublicExpireDateSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal +abstract class CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal implements - Built< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder> { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal([ - final void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder, - )? b, - ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal; + Built { + factory CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal([ + final void Function(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? b, + ]) = _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal._(); + const CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal.fromJson( + factory CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; @@ -3335,31 +3415,24 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil bool get enabled; int? get days; bool? get enforced; - static Serializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal> - get serializer => - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicExpireDateInternalSerializer; + static Serializer get serializer => + _$coreFilesSharingCapabilitiesFilesSharingPublicExpireDateInternalSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote +abstract class CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote implements - Built< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder> { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote([ - final void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder, - )? b, - ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote; + Built { + factory CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote([ + final void Function(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? b, + ]) = _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote._(); + const CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote.fromJson( - final Map json, - ) => + factory CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -3369,30 +3442,24 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil bool get enabled; int? get days; bool? get enforced; - static Serializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote> - get serializer => - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicExpireDateRemoteSerializer; + static Serializer get serializer => + _$coreFilesSharingCapabilitiesFilesSharingPublicExpireDateRemoteSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public +abstract class CoreFilesSharingCapabilities_FilesSharing_Public implements - Built { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public([ - final void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder, - )? b, - ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public; + Built { + factory CoreFilesSharingCapabilities_FilesSharing_Public([ + final void Function(CoreFilesSharingCapabilities_FilesSharing_PublicBuilder)? b, + ]) = _$CoreFilesSharingCapabilities_FilesSharing_Public; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public._(); + const CoreFilesSharingCapabilities_FilesSharing_Public._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public.fromJson( - final Map json, - ) => + factory CoreFilesSharingCapabilities_FilesSharing_Public.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -3400,45 +3467,38 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end bool get enabled; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password? get password; + CoreFilesSharingCapabilities_FilesSharing_Public_Password? get password; @BuiltValueField(wireName: 'multiple_links') bool? get multipleLinks; @BuiltValueField(wireName: 'expire_date') - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate? get expireDate; + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate? get expireDate; @BuiltValueField(wireName: 'expire_date_internal') - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal? - get expireDateInternal; + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? get expireDateInternal; @BuiltValueField(wireName: 'expire_date_remote') - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote? - get expireDateRemote; + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? get expireDateRemote; @BuiltValueField(wireName: 'send_mail') bool? get sendMail; bool? get upload; @BuiltValueField(wireName: 'upload_files_drop') bool? get uploadFilesDrop; - static Serializer - get serializer => - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicSerializer; + static Serializer get serializer => + _$coreFilesSharingCapabilitiesFilesSharingPublicSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate +abstract class CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate implements - Built { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate([ - final void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder, - )? b, - ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate; + Built { + factory CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate([ + final void Function(CoreFilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? b, + ]) = _$CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate._(); + const CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate.fromJson( - final Map json, - ) => + factory CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -3446,29 +3506,23 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end bool get enabled; - static Serializer - get serializer => - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingUserExpireDateSerializer; + static Serializer get serializer => + _$coreFilesSharingCapabilitiesFilesSharingUserExpireDateSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User +abstract class CoreFilesSharingCapabilities_FilesSharing_User implements - Built { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User([ - final void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder, - )? b, - ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User; + Built { + factory CoreFilesSharingCapabilities_FilesSharing_User([ + final void Function(CoreFilesSharingCapabilities_FilesSharing_UserBuilder)? b, + ]) = _$CoreFilesSharingCapabilities_FilesSharing_User; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User._(); + const CoreFilesSharingCapabilities_FilesSharing_User._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User.fromJson( - final Map json, - ) => + factory CoreFilesSharingCapabilities_FilesSharing_User.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -3478,29 +3532,25 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil @BuiltValueField(wireName: 'send_mail') bool get sendMail; @BuiltValueField(wireName: 'expire_date') - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate? get expireDate; - static Serializer - get serializer => _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingUserSerializer; + CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate? get expireDate; + static Serializer get serializer => + _$coreFilesSharingCapabilitiesFilesSharingUserSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate +abstract class CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate implements - Built { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate([ - final void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder, - )? b, - ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate; + Built { + factory CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate([ + final void Function(CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? b, + ]) = _$CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate._(); + const CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate.fromJson( - final Map json, - ) => + factory CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -3508,30 +3558,23 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end bool get enabled; - static Serializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate> - get serializer => - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingGroupExpireDateSerializer; + static Serializer get serializer => + _$coreFilesSharingCapabilitiesFilesSharingGroupExpireDateSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group +abstract class CoreFilesSharingCapabilities_FilesSharing_Group implements - Built { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group([ - final void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder, - )? b, - ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group; + Built { + factory CoreFilesSharingCapabilities_FilesSharing_Group([ + final void Function(CoreFilesSharingCapabilities_FilesSharing_GroupBuilder)? b, + ]) = _$CoreFilesSharingCapabilities_FilesSharing_Group; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group._(); + const CoreFilesSharingCapabilities_FilesSharing_Group._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group.fromJson( - final Map json, - ) => + factory CoreFilesSharingCapabilities_FilesSharing_Group.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -3540,30 +3583,25 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil // coverage:ignore-end bool get enabled; @BuiltValueField(wireName: 'expire_date') - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate? get expireDate; - static Serializer - get serializer => - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingGroupSerializer; + CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate? get expireDate; + static Serializer get serializer => + _$coreFilesSharingCapabilitiesFilesSharingGroupSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate +abstract class CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate implements - Built { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate([ - final void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder, - )? b, - ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate; + Built { + factory CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate([ + final void Function(CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? b, + ]) = _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate._(); + const CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate.fromJson( - final Map json, - ) => + factory CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -3571,30 +3609,24 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end bool get enabled; - static Serializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate> - get serializer => - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingFederationExpireDateSerializer; + static Serializer get serializer => + _$coreFilesSharingCapabilitiesFilesSharingFederationExpireDateSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported +abstract class CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported implements - Built< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder> { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported([ - final void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder, - )? b, - ]) = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported; + Built { + factory CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported([ + final void Function(CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? b, + ]) = _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported._(); + const CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported.fromJson( + factory CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; @@ -3604,30 +3636,24 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end bool get enabled; - static Serializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported> - get serializer => - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingFederationExpireDateSupportedSerializer; + static Serializer get serializer => + _$coreFilesSharingCapabilitiesFilesSharingFederationExpireDateSupportedSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation +abstract class CoreFilesSharingCapabilities_FilesSharing_Federation implements - Built { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation([ - final void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder, - )? b, - ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation; + Built { + factory CoreFilesSharingCapabilities_FilesSharing_Federation([ + final void Function(CoreFilesSharingCapabilities_FilesSharing_FederationBuilder)? b, + ]) = _$CoreFilesSharingCapabilities_FilesSharing_Federation; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation._(); + const CoreFilesSharingCapabilities_FilesSharing_Federation._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation.fromJson( - final Map json, - ) => + factory CoreFilesSharingCapabilities_FilesSharing_Federation.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -3637,34 +3663,27 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil bool get outgoing; bool get incoming; @BuiltValueField(wireName: 'expire_date') - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate - get expireDate; + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate get expireDate; @BuiltValueField(wireName: 'expire_date_supported') - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported - get expireDateSupported; - static Serializer - get serializer => - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingFederationSerializer; + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported get expireDateSupported; + static Serializer get serializer => + _$coreFilesSharingCapabilitiesFilesSharingFederationSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee +abstract class CoreFilesSharingCapabilities_FilesSharing_Sharee implements - Built { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee([ - final void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder, - )? b, - ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee; + Built { + factory CoreFilesSharingCapabilities_FilesSharing_Sharee([ + final void Function(CoreFilesSharingCapabilities_FilesSharing_ShareeBuilder)? b, + ]) = _$CoreFilesSharingCapabilities_FilesSharing_Sharee; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee._(); + const CoreFilesSharingCapabilities_FilesSharing_Sharee._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee.fromJson( - final Map json, - ) => + factory CoreFilesSharingCapabilities_FilesSharing_Sharee.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -3675,27 +3694,22 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil bool get queryLookupDefault; @BuiltValueField(wireName: 'always_show_unique') bool get alwaysShowUnique; - static Serializer - get serializer => - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingShareeSerializer; + static Serializer get serializer => + _$coreFilesSharingCapabilitiesFilesSharingShareeSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing - implements - Built { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing([ - final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder)? b, - ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing; +abstract class CoreFilesSharingCapabilities_FilesSharing + implements Built { + factory CoreFilesSharingCapabilities_FilesSharing([ + final void Function(CoreFilesSharingCapabilities_FilesSharingBuilder)? b, + ]) = _$CoreFilesSharingCapabilities_FilesSharing; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing._(); + const CoreFilesSharingCapabilities_FilesSharing._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing.fromJson( - final Map json, - ) => + factory CoreFilesSharingCapabilities_FilesSharing.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -3704,36 +3718,53 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil // coverage:ignore-end @BuiltValueField(wireName: 'api_enabled') bool get apiEnabled; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public get public; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User get user; + CoreFilesSharingCapabilities_FilesSharing_Public get public; + CoreFilesSharingCapabilities_FilesSharing_User get user; bool get resharing; @BuiltValueField(wireName: 'group_sharing') bool? get groupSharing; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group? get group; + CoreFilesSharingCapabilities_FilesSharing_Group? get group; @BuiltValueField(wireName: 'default_permissions') int? get defaultPermissions; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation get federation; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee get sharee; - static Serializer - get serializer => _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingSerializer; + CoreFilesSharingCapabilities_FilesSharing_Federation get federation; + CoreFilesSharingCapabilities_FilesSharing_Sharee get sharee; + static Serializer get serializer => + _$coreFilesSharingCapabilitiesFilesSharingSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes - implements - Built { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes([ - final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder)? b, - ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes; +abstract class CoreFilesSharingCapabilities + implements Built { + factory CoreFilesSharingCapabilities([final void Function(CoreFilesSharingCapabilitiesBuilder)? b]) = + _$CoreFilesSharingCapabilities; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes._(); + const CoreFilesSharingCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes.fromJson( - final Map json, - ) => + factory CoreFilesSharingCapabilities.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + @BuiltValueField(wireName: 'files_sharing') + CoreFilesSharingCapabilities_FilesSharing get filesSharing; + static Serializer get serializer => _$coreFilesSharingCapabilitiesSerializer; +} + +abstract class CoreNotesCapabilities_Notes + implements Built { + factory CoreNotesCapabilities_Notes([final void Function(CoreNotesCapabilities_NotesBuilder)? b]) = + _$CoreNotesCapabilities_Notes; + + // coverage:ignore-start + const CoreNotesCapabilities_Notes._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CoreNotesCapabilities_Notes.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -3743,26 +3774,40 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil @BuiltValueField(wireName: 'api_version') BuiltList? get apiVersion; String? get version; - static Serializer get serializer => - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesNotesSerializer; + static Serializer get serializer => _$coreNotesCapabilitiesNotesSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications - implements - Built { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications([ - final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder)? b, - ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications; +abstract class CoreNotesCapabilities implements Built { + factory CoreNotesCapabilities([final void Function(CoreNotesCapabilitiesBuilder)? b]) = _$CoreNotesCapabilities; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications._(); + const CoreNotesCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications.fromJson( - final Map json, - ) => + factory CoreNotesCapabilities.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + CoreNotesCapabilities_Notes get notes; + static Serializer get serializer => _$coreNotesCapabilitiesSerializer; +} + +abstract class CoreNotificationsCapabilities_Notifications + implements Built { + factory CoreNotificationsCapabilities_Notifications([ + final void Function(CoreNotificationsCapabilities_NotificationsBuilder)? b, + ]) = _$CoreNotificationsCapabilities_Notifications; + + // coverage:ignore-start + const CoreNotificationsCapabilities_Notifications._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CoreNotificationsCapabilities_Notifications.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -3774,27 +3819,44 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil BuiltList? get push; @BuiltValueField(wireName: 'admin-notifications') BuiltList? get adminNotifications; - static Serializer - get serializer => _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesNotificationsSerializer; + static Serializer get serializer => + _$coreNotificationsCapabilitiesNotificationsSerializer; +} + +abstract class CoreNotificationsCapabilities + implements Built { + factory CoreNotificationsCapabilities([final void Function(CoreNotificationsCapabilitiesBuilder)? b]) = + _$CoreNotificationsCapabilities; + + // coverage:ignore-start + const CoreNotificationsCapabilities._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CoreNotificationsCapabilities.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + CoreNotificationsCapabilities_Notifications get notifications; + static Serializer get serializer => _$coreNotificationsCapabilitiesSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi +abstract class CoreProvisioningApiCapabilities_ProvisioningApi implements - Built { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi([ - final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder)? - b, - ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi; + Built { + factory CoreProvisioningApiCapabilities_ProvisioningApi([ + final void Function(CoreProvisioningApiCapabilities_ProvisioningApiBuilder)? b, + ]) = _$CoreProvisioningApiCapabilities_ProvisioningApi; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi._(); + const CoreProvisioningApiCapabilities_ProvisioningApi._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi.fromJson( - final Map json, - ) => + factory CoreProvisioningApiCapabilities_ProvisioningApi.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -3808,26 +3870,44 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil bool get accountPropertyScopesFederatedEnabled; @BuiltValueField(wireName: 'AccountPropertyScopesPublishedEnabled') bool get accountPropertyScopesPublishedEnabled; - static Serializer - get serializer => _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesProvisioningApiSerializer; + static Serializer get serializer => + _$coreProvisioningApiCapabilitiesProvisioningApiSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming - implements - Built { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming([ - final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder)? b, - ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming; +abstract class CoreProvisioningApiCapabilities + implements Built { + factory CoreProvisioningApiCapabilities([final void Function(CoreProvisioningApiCapabilitiesBuilder)? b]) = + _$CoreProvisioningApiCapabilities; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming._(); + const CoreProvisioningApiCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming.fromJson( - final Map json, - ) => + factory CoreProvisioningApiCapabilities.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + @BuiltValueField(wireName: 'provisioning_api') + CoreProvisioningApiCapabilities_ProvisioningApi get provisioningApi; + static Serializer get serializer => _$coreProvisioningApiCapabilitiesSerializer; +} + +abstract class CoreThemingPublicCapabilities_Theming + implements Built { + factory CoreThemingPublicCapabilities_Theming([ + final void Function(CoreThemingPublicCapabilities_ThemingBuilder)? b, + ]) = _$CoreThemingPublicCapabilities_Theming; + + // coverage:ignore-start + const CoreThemingPublicCapabilities_Theming._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CoreThemingPublicCapabilities_Theming.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -3854,26 +3934,43 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil bool get backgroundDefault; String get logoheader; String get favicon; - static Serializer get serializer => - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesThemingSerializer; + static Serializer get serializer => + _$coreThemingPublicCapabilitiesThemingSerializer; } -abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus - implements - Built { - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus([ - final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder)? b, - ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus; +abstract class CoreThemingPublicCapabilities + implements Built { + factory CoreThemingPublicCapabilities([final void Function(CoreThemingPublicCapabilitiesBuilder)? b]) = + _$CoreThemingPublicCapabilities; // coverage:ignore-start - const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus._(); + const CoreThemingPublicCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus.fromJson( - final Map json, - ) => + factory CoreThemingPublicCapabilities.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + CoreThemingPublicCapabilities_Theming get theming; + static Serializer get serializer => _$coreThemingPublicCapabilitiesSerializer; +} + +abstract class CoreUserStatusCapabilities_UserStatus + implements Built { + factory CoreUserStatusCapabilities_UserStatus([ + final void Function(CoreUserStatusCapabilities_UserStatusBuilder)? b, + ]) = _$CoreUserStatusCapabilities_UserStatus; + + // coverage:ignore-start + const CoreUserStatusCapabilities_UserStatus._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CoreUserStatusCapabilities_UserStatus.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -3884,43 +3981,143 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil bool get restore; @BuiltValueField(wireName: 'supports_emoji') bool get supportsEmoji; - static Serializer get serializer => - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesUserStatusSerializer; + static Serializer get serializer => + _$coreUserStatusCapabilitiesUserStatusSerializer; +} + +abstract class CoreUserStatusCapabilities + implements Built { + factory CoreUserStatusCapabilities([final void Function(CoreUserStatusCapabilitiesBuilder)? b]) = + _$CoreUserStatusCapabilities; + + // coverage:ignore-start + const CoreUserStatusCapabilities._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CoreUserStatusCapabilities.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + @BuiltValueField(wireName: 'user_status') + CoreUserStatusCapabilities_UserStatus get userStatus; + static Serializer get serializer => _$coreUserStatusCapabilitiesSerializer; } abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities implements Built { + // coverage:ignore-end + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities([ final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder)? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities; - // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities._(); - // coverage:ignore-end - // coverage:ignore-start - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities.fromJson( - final Map json, - ) => + JsonObject get data; + CoreFilesSharingCapabilities? get filesSharingCapabilities; + CoreNotesCapabilities? get notesCapabilities; + CoreNotificationsCapabilities? get notificationsCapabilities; + CoreProvisioningApiCapabilities? get provisioningApiCapabilities; + CoreThemingPublicCapabilities? get themingPublicCapabilities; + CoreUserStatusCapabilities? get userStatusCapabilities; + static CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; - // coverage:ignore-end - // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - @BuiltValueField(wireName: 'files_sharing') - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing? get filesSharing; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes? get notes; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications? get notifications; - @BuiltValueField(wireName: 'provisioning_api') - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi? get provisioningApi; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming? get theming; - @BuiltValueField(wireName: 'user_status') - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus? get userStatus; + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesSerializer; + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesSerializer(); +} + +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [ + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities, + ]; + + @override + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities'; + + @override + Object serialize( + final Serializers serializers, + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder() + ..data = JsonObject(data); + try { + result._filesSharingCapabilities = (_jsonSerializers.deserialize( + data, + specifiedType: const FullType(CoreFilesSharingCapabilities), + )! as CoreFilesSharingCapabilities) + .toBuilder(); + } catch (_) {} + try { + result._notesCapabilities = (_jsonSerializers.deserialize( + data, + specifiedType: const FullType(CoreNotesCapabilities), + )! as CoreNotesCapabilities) + .toBuilder(); + } catch (_) {} + try { + result._notificationsCapabilities = (_jsonSerializers.deserialize( + data, + specifiedType: const FullType(CoreNotificationsCapabilities), + )! as CoreNotificationsCapabilities) + .toBuilder(); + } catch (_) {} + try { + result._provisioningApiCapabilities = (_jsonSerializers.deserialize( + data, + specifiedType: const FullType(CoreProvisioningApiCapabilities), + )! as CoreProvisioningApiCapabilities) + .toBuilder(); + } catch (_) {} + try { + result._themingPublicCapabilities = (_jsonSerializers.deserialize( + data, + specifiedType: const FullType(CoreThemingPublicCapabilities), + )! as CoreThemingPublicCapabilities) + .toBuilder(); + } catch (_) {} + try { + result._userStatusCapabilities = (_jsonSerializers.deserialize( + data, + specifiedType: const FullType(CoreUserStatusCapabilities), + )! as CoreUserStatusCapabilities) + .toBuilder(); + } catch (_) {} + assert( + [ + result._filesSharingCapabilities, + result._notesCapabilities, + result._notificationsCapabilities, + result._provisioningApiCapabilities, + result._themingPublicCapabilities, + result._userStatusCapabilities, + ].where((final x) => x != null).isNotEmpty, + 'Need anyOf for ${result._data}', + ); + return result.build(); + } } abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data @@ -4872,6 +5069,162 @@ abstract class CoreTextProcessingApiGetTaskResponse200ApplicationJson _$coreTextProcessingApiGetTaskResponse200ApplicationJsonSerializer; } +abstract class CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data + implements + Built { + factory CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data([ + final void Function(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start + const CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + CoreTextProcessingTask get task; + static Serializer get serializer => + _$coreTextProcessingApiDeleteTaskResponse200ApplicationJsonOcsDataSerializer; +} + +abstract class CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs + implements + Built { + factory CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs([ + final void Function(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs; + + // coverage:ignore-start + const CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + CoreOCSMeta get meta; + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$coreTextProcessingApiDeleteTaskResponse200ApplicationJsonOcsSerializer; +} + +abstract class CoreTextProcessingApiDeleteTaskResponse200ApplicationJson + implements + Built { + factory CoreTextProcessingApiDeleteTaskResponse200ApplicationJson([ + final void Function(CoreTextProcessingApiDeleteTaskResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson; + + // coverage:ignore-start + const CoreTextProcessingApiDeleteTaskResponse200ApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CoreTextProcessingApiDeleteTaskResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreTextProcessingApiDeleteTaskResponse200ApplicationJsonSerializer; +} + +abstract class CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data + implements + Built { + factory CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data([ + final void Function(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start + const CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + BuiltList get tasks; + static Serializer get serializer => + _$coreTextProcessingApiListTasksByAppResponse200ApplicationJsonOcsDataSerializer; +} + +abstract class CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs + implements + Built { + factory CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs([ + final void Function(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs; + + // coverage:ignore-start + const CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + CoreOCSMeta get meta; + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$coreTextProcessingApiListTasksByAppResponse200ApplicationJsonOcsSerializer; +} + +abstract class CoreTextProcessingApiListTasksByAppResponse200ApplicationJson + implements + Built { + factory CoreTextProcessingApiListTasksByAppResponse200ApplicationJson([ + final void Function(CoreTextProcessingApiListTasksByAppResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson; + + // coverage:ignore-start + const CoreTextProcessingApiListTasksByAppResponse200ApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CoreTextProcessingApiListTasksByAppResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreTextProcessingApiListTasksByAppResponse200ApplicationJsonSerializer; +} + abstract class CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages implements Built.new) + ..addBuilderFactory(const FullType(CoreNotificationsCapabilities), CoreNotificationsCapabilities.new) + ..add(CoreNotificationsCapabilities.serializer) ..addBuilderFactory( - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications), - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications.new, + const FullType(CoreNotificationsCapabilities_Notifications), + CoreNotificationsCapabilities_Notifications.new, ) - ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications.serializer) + ..add(CoreNotificationsCapabilities_Notifications.serializer) + ..addBuilderFactory(const FullType(CoreProvisioningApiCapabilities), CoreProvisioningApiCapabilities.new) + ..add(CoreProvisioningApiCapabilities.serializer) ..addBuilderFactory( - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi), - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi.new, + const FullType(CoreProvisioningApiCapabilities_ProvisioningApi), + CoreProvisioningApiCapabilities_ProvisioningApi.new, ) - ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi.serializer) + ..add(CoreProvisioningApiCapabilities_ProvisioningApi.serializer) + ..addBuilderFactory(const FullType(CoreThemingPublicCapabilities), CoreThemingPublicCapabilities.new) + ..add(CoreThemingPublicCapabilities.serializer) ..addBuilderFactory( - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming), - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming.new, + const FullType(CoreThemingPublicCapabilities_Theming), + CoreThemingPublicCapabilities_Theming.new, ) - ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming.serializer) + ..add(CoreThemingPublicCapabilities_Theming.serializer) + ..addBuilderFactory(const FullType(CoreUserStatusCapabilities), CoreUserStatusCapabilities.new) + ..add(CoreUserStatusCapabilities.serializer) ..addBuilderFactory( - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus), - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus.new, + const FullType(CoreUserStatusCapabilities_UserStatus), + CoreUserStatusCapabilities_UserStatus.new, ) - ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus.serializer) + ..add(CoreUserStatusCapabilities_UserStatus.serializer) ..addBuilderFactory( const FullType(CoreProfileApiSetVisibilityResponse200ApplicationJson), CoreProfileApiSetVisibilityResponse200ApplicationJson.new, @@ -6054,6 +6377,40 @@ final Serializers _serializers = (Serializers().toBuilder() CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data.new, ) ..add(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson), + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson.new, + ) + ..add(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs), + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs.new, + ) + ..add(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data), + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson), + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson.new, + ) + ..add(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs), + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs.new, + ) + ..add(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data), + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(CoreTextProcessingTask)]), + ListBuilder.new, + ) ..addBuilderFactory( const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson), CoreTranslationApiLanguagesResponse200ApplicationJson.new, diff --git a/packages/nextcloud/lib/src/api/core.openapi.g.dart b/packages/nextcloud/lib/src/api/core.openapi.g.dart index f425cdb2..3305c77c 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/core.openapi.g.dart @@ -113,68 +113,66 @@ Serializer Serializer _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataVersionSerializer = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionSerializer(); -Serializer - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicPasswordSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordSerializer(); -Serializer - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicExpireDateSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateSerializer(); -Serializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal> - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicExpireDateInternalSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalSerializer(); -Serializer - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicExpireDateRemoteSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteSerializer(); -Serializer - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicSerializer(); -Serializer - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingUserExpireDateSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateSerializer(); -Serializer - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingUserSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserSerializer(); -Serializer - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingGroupExpireDateSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateSerializer(); -Serializer - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingGroupSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupSerializer(); -Serializer - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingFederationExpireDateSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSerializer(); -Serializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported> - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingFederationExpireDateSupportedSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedSerializer(); -Serializer - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingFederationSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationSerializer(); -Serializer - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingShareeSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeSerializer(); -Serializer - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingSerializer(); -Serializer - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesNotesSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesSerializer(); -Serializer - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesNotificationsSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsSerializer(); -Serializer - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesProvisioningApiSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiSerializer(); -Serializer - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesThemingSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingSerializer(); -Serializer - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesUserStatusSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusSerializer(); -Serializer - _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesSerializer = - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesSerializer(); +Serializer + _$coreFilesSharingCapabilitiesFilesSharingPublicPasswordSerializer = + _$CoreFilesSharingCapabilities_FilesSharing_Public_PasswordSerializer(); +Serializer + _$coreFilesSharingCapabilitiesFilesSharingPublicExpireDateSerializer = + _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateSerializer(); +Serializer + _$coreFilesSharingCapabilitiesFilesSharingPublicExpireDateInternalSerializer = + _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalSerializer(); +Serializer + _$coreFilesSharingCapabilitiesFilesSharingPublicExpireDateRemoteSerializer = + _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteSerializer(); +Serializer + _$coreFilesSharingCapabilitiesFilesSharingPublicSerializer = + _$CoreFilesSharingCapabilities_FilesSharing_PublicSerializer(); +Serializer + _$coreFilesSharingCapabilitiesFilesSharingUserExpireDateSerializer = + _$CoreFilesSharingCapabilities_FilesSharing_User_ExpireDateSerializer(); +Serializer _$coreFilesSharingCapabilitiesFilesSharingUserSerializer = + _$CoreFilesSharingCapabilities_FilesSharing_UserSerializer(); +Serializer + _$coreFilesSharingCapabilitiesFilesSharingGroupExpireDateSerializer = + _$CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDateSerializer(); +Serializer _$coreFilesSharingCapabilitiesFilesSharingGroupSerializer = + _$CoreFilesSharingCapabilities_FilesSharing_GroupSerializer(); +Serializer + _$coreFilesSharingCapabilitiesFilesSharingFederationExpireDateSerializer = + _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSerializer(); +Serializer + _$coreFilesSharingCapabilitiesFilesSharingFederationExpireDateSupportedSerializer = + _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedSerializer(); +Serializer + _$coreFilesSharingCapabilitiesFilesSharingFederationSerializer = + _$CoreFilesSharingCapabilities_FilesSharing_FederationSerializer(); +Serializer + _$coreFilesSharingCapabilitiesFilesSharingShareeSerializer = + _$CoreFilesSharingCapabilities_FilesSharing_ShareeSerializer(); +Serializer _$coreFilesSharingCapabilitiesFilesSharingSerializer = + _$CoreFilesSharingCapabilities_FilesSharingSerializer(); +Serializer _$coreFilesSharingCapabilitiesSerializer = + _$CoreFilesSharingCapabilitiesSerializer(); +Serializer _$coreNotesCapabilitiesNotesSerializer = + _$CoreNotesCapabilities_NotesSerializer(); +Serializer _$coreNotesCapabilitiesSerializer = _$CoreNotesCapabilitiesSerializer(); +Serializer _$coreNotificationsCapabilitiesNotificationsSerializer = + _$CoreNotificationsCapabilities_NotificationsSerializer(); +Serializer _$coreNotificationsCapabilitiesSerializer = + _$CoreNotificationsCapabilitiesSerializer(); +Serializer _$coreProvisioningApiCapabilitiesProvisioningApiSerializer = + _$CoreProvisioningApiCapabilities_ProvisioningApiSerializer(); +Serializer _$coreProvisioningApiCapabilitiesSerializer = + _$CoreProvisioningApiCapabilitiesSerializer(); +Serializer _$coreThemingPublicCapabilitiesThemingSerializer = + _$CoreThemingPublicCapabilities_ThemingSerializer(); +Serializer _$coreThemingPublicCapabilitiesSerializer = + _$CoreThemingPublicCapabilitiesSerializer(); +Serializer _$coreUserStatusCapabilitiesUserStatusSerializer = + _$CoreUserStatusCapabilities_UserStatusSerializer(); +Serializer _$coreUserStatusCapabilitiesSerializer = + _$CoreUserStatusCapabilitiesSerializer(); Serializer _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataSerializer = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataSerializer(); @@ -265,6 +263,24 @@ Serializer Serializer _$coreTextProcessingApiGetTaskResponse200ApplicationJsonSerializer = _$CoreTextProcessingApiGetTaskResponse200ApplicationJsonSerializer(); +Serializer + _$coreTextProcessingApiDeleteTaskResponse200ApplicationJsonOcsDataSerializer = + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$coreTextProcessingApiDeleteTaskResponse200ApplicationJsonOcsSerializer = + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreTextProcessingApiDeleteTaskResponse200ApplicationJsonSerializer = + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJsonSerializer(); +Serializer + _$coreTextProcessingApiListTasksByAppResponse200ApplicationJsonOcsDataSerializer = + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$coreTextProcessingApiListTasksByAppResponse200ApplicationJsonOcsSerializer = + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreTextProcessingApiListTasksByAppResponse200ApplicationJsonSerializer = + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJsonSerializer(); Serializer _$coreTranslationApiLanguagesResponse200ApplicationJsonOcsDataLanguagesSerializer = _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesSerializer(); @@ -2560,22 +2576,18 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionSeriali } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordSerializer - implements - StructuredSerializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password> { +class _$CoreFilesSharingCapabilities_FilesSharing_Public_PasswordSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password + CoreFilesSharingCapabilities_FilesSharing_Public_Password, + _$CoreFilesSharingCapabilities_FilesSharing_Public_Password ]; @override - final String wireName = - 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password'; + final String wireName = 'CoreFilesSharingCapabilities_FilesSharing_Public_Password'; @override - Iterable serialize(Serializers serializers, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password object, + Iterable serialize(Serializers serializers, CoreFilesSharingCapabilities_FilesSharing_Public_Password object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enforced', @@ -2588,11 +2600,10 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password deserialize( + CoreFilesSharingCapabilities_FilesSharing_Public_Password deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder(); + final result = CoreFilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2613,22 +2624,19 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateSerializer - implements - StructuredSerializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate> { +class _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate, + _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate ]; @override - final String wireName = - 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate'; + final String wireName = 'CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate'; @override - Iterable serialize(Serializers serializers, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate object, + Iterable serialize( + Serializers serializers, CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -2651,11 +2659,10 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate deserialize( + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder(); + final result = CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2679,24 +2686,19 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalSerializer - implements - StructuredSerializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal> { +class _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal, + _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal ]; @override - final String wireName = - 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal'; + final String wireName = 'CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal'; @override Iterable serialize( - Serializers serializers, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal - object, + Serializers serializers, CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -2719,11 +2721,10 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal - deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder(); + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2747,24 +2748,19 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteSerializer - implements - StructuredSerializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote> { +class _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote, + _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote ]; @override - final String wireName = - 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote'; + final String wireName = 'CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote'; @override Iterable serialize( - Serializers serializers, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote - object, + Serializers serializers, CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -2787,11 +2783,10 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote - deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2815,21 +2810,18 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicSerializer - implements - StructuredSerializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public> { +class _$CoreFilesSharingCapabilities_FilesSharing_PublicSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public + CoreFilesSharingCapabilities_FilesSharing_Public, + _$CoreFilesSharingCapabilities_FilesSharing_Public ]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public'; + final String wireName = 'CoreFilesSharingCapabilities_FilesSharing_Public'; @override - Iterable serialize(Serializers serializers, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public object, + Iterable serialize(Serializers serializers, CoreFilesSharingCapabilities_FilesSharing_Public object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -2841,8 +2833,7 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F result ..add('password') ..add(serializers.serialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password))); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Public_Password))); } value = object.multipleLinks; if (value != null) { @@ -2855,24 +2846,21 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F result ..add('expire_date') ..add(serializers.serialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate))); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate))); } value = object.expireDateInternal; if (value != null) { result ..add('expire_date_internal') ..add(serializers.serialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal))); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal))); } value = object.expireDateRemote; if (value != null) { result ..add('expire_date_remote') ..add(serializers.serialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote))); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote))); } value = object.sendMail; if (value != null) { @@ -2896,10 +2884,9 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public deserialize( - Serializers serializers, Iterable serialized, + CoreFilesSharingCapabilities_FilesSharing_Public deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder(); + final result = CoreFilesSharingCapabilities_FilesSharing_PublicBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2912,30 +2899,26 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F break; case 'password': result.password.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Public_Password))! + as CoreFilesSharingCapabilities_FilesSharing_Public_Password); break; case 'multiple_links': result.multipleLinks = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; break; case 'expire_date': result.expireDate.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate))! + as CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate); break; case 'expire_date_internal': result.expireDateInternal.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal))! + as CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal); break; case 'expire_date_remote': result.expireDateRemote.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote))! + as CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote); break; case 'send_mail': result.sendMail = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; @@ -2953,22 +2936,18 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateSerializer - implements - StructuredSerializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate> { +class _$CoreFilesSharingCapabilities_FilesSharing_User_ExpireDateSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate + CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate, + _$CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate ]; @override - final String wireName = - 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate'; + final String wireName = 'CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate'; @override - Iterable serialize(Serializers serializers, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate object, + Iterable serialize(Serializers serializers, CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -2979,11 +2958,10 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate deserialize( + CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder(); + final result = CoreFilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3001,20 +2979,18 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserSerializer - implements - StructuredSerializer { +class _$CoreFilesSharingCapabilities_FilesSharing_UserSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User + CoreFilesSharingCapabilities_FilesSharing_User, + _$CoreFilesSharingCapabilities_FilesSharing_User ]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User'; + final String wireName = 'CoreFilesSharingCapabilities_FilesSharing_User'; @override - Iterable serialize(Serializers serializers, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User object, + Iterable serialize(Serializers serializers, CoreFilesSharingCapabilities_FilesSharing_User object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'send_mail', @@ -3026,17 +3002,15 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F result ..add('expire_date') ..add(serializers.serialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate))); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate))); } return result; } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User deserialize( - Serializers serializers, Iterable serialized, + CoreFilesSharingCapabilities_FilesSharing_User deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder(); + final result = CoreFilesSharingCapabilities_FilesSharing_UserBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3049,9 +3023,8 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F break; case 'expire_date': result.expireDate.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate))! + as CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate); break; } } @@ -3060,22 +3033,19 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateSerializer - implements - StructuredSerializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate> { +class _$CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDateSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate + CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate, + _$CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate ]; @override - final String wireName = - 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate'; + final String wireName = 'CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate'; @override - Iterable serialize(Serializers serializers, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate object, + Iterable serialize( + Serializers serializers, CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -3086,11 +3056,10 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate deserialize( + CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder(); + final result = CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3108,21 +3077,18 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupSerializer - implements - StructuredSerializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group> { +class _$CoreFilesSharingCapabilities_FilesSharing_GroupSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group + CoreFilesSharingCapabilities_FilesSharing_Group, + _$CoreFilesSharingCapabilities_FilesSharing_Group ]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group'; + final String wireName = 'CoreFilesSharingCapabilities_FilesSharing_Group'; @override - Iterable serialize(Serializers serializers, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group object, + Iterable serialize(Serializers serializers, CoreFilesSharingCapabilities_FilesSharing_Group object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -3134,17 +3100,15 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F result ..add('expire_date') ..add(serializers.serialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate))); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate))); } return result; } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group deserialize( - Serializers serializers, Iterable serialized, + CoreFilesSharingCapabilities_FilesSharing_Group deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder(); + final result = CoreFilesSharingCapabilities_FilesSharing_GroupBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3157,9 +3121,8 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F break; case 'expire_date': result.expireDate.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate))! + as CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate); break; } } @@ -3168,22 +3131,19 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSerializer - implements - StructuredSerializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate> { +class _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate, + _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate ]; @override - final String wireName = - 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate'; + final String wireName = 'CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate'; @override - Iterable serialize(Serializers serializers, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate object, + Iterable serialize( + Serializers serializers, CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -3194,11 +3154,10 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate deserialize( + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder(); + final result = CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3216,24 +3175,19 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedSerializer - implements - StructuredSerializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported> { +class _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported, + _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported ]; @override - final String wireName = - 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported'; + final String wireName = 'CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported'; @override Iterable serialize( - Serializers serializers, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported - object, + Serializers serializers, CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -3244,11 +3198,10 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported - deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3266,22 +3219,18 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationSerializer - implements - StructuredSerializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation> { +class _$CoreFilesSharingCapabilities_FilesSharing_FederationSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation + CoreFilesSharingCapabilities_FilesSharing_Federation, + _$CoreFilesSharingCapabilities_FilesSharing_Federation ]; @override - final String wireName = - 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation'; + final String wireName = 'CoreFilesSharingCapabilities_FilesSharing_Federation'; @override - Iterable serialize(Serializers serializers, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation object, + Iterable serialize(Serializers serializers, CoreFilesSharingCapabilities_FilesSharing_Federation object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'outgoing', @@ -3290,23 +3239,20 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F serializers.serialize(object.incoming, specifiedType: const FullType(bool)), 'expire_date', serializers.serialize(object.expireDate, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate)), + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate)), 'expire_date_supported', serializers.serialize(object.expireDateSupported, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported)), + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported)), ]; return result; } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation deserialize( + CoreFilesSharingCapabilities_FilesSharing_Federation deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder(); + final result = CoreFilesSharingCapabilities_FilesSharing_FederationBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3322,15 +3268,14 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F break; case 'expire_date': result.expireDate.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate))! + as CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate); break; case 'expire_date_supported': result.expireDateSupported.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported); + specifiedType: + const FullType(CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported))! + as CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported); break; } } @@ -3339,21 +3284,18 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeSerializer - implements - StructuredSerializer< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee> { +class _$CoreFilesSharingCapabilities_FilesSharing_ShareeSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee + CoreFilesSharingCapabilities_FilesSharing_Sharee, + _$CoreFilesSharingCapabilities_FilesSharing_Sharee ]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee'; + final String wireName = 'CoreFilesSharingCapabilities_FilesSharing_Sharee'; @override - Iterable serialize(Serializers serializers, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee object, + Iterable serialize(Serializers serializers, CoreFilesSharingCapabilities_FilesSharing_Sharee object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'query_lookup_default', @@ -3366,10 +3308,9 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee deserialize( - Serializers serializers, Iterable serialized, + CoreFilesSharingCapabilities_FilesSharing_Sharee deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder(); + final result = CoreFilesSharingCapabilities_FilesSharing_ShareeBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3390,42 +3331,35 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingSerializer - implements - StructuredSerializer { +class _$CoreFilesSharingCapabilities_FilesSharingSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing + CoreFilesSharingCapabilities_FilesSharing, + _$CoreFilesSharingCapabilities_FilesSharing ]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing'; + final String wireName = 'CoreFilesSharingCapabilities_FilesSharing'; @override - Iterable serialize(Serializers serializers, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing object, + Iterable serialize(Serializers serializers, CoreFilesSharingCapabilities_FilesSharing object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'api_enabled', serializers.serialize(object.apiEnabled, specifiedType: const FullType(bool)), 'public', serializers.serialize(object.public, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public)), + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Public)), 'user', - serializers.serialize(object.user, - specifiedType: - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User)), + serializers.serialize(object.user, specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_User)), 'resharing', serializers.serialize(object.resharing, specifiedType: const FullType(bool)), 'federation', serializers.serialize(object.federation, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation)), + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Federation)), 'sharee', serializers.serialize(object.sharee, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee)), + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Sharee)), ]; Object? value; value = object.groupSharing; @@ -3439,8 +3373,7 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F result ..add('group') ..add(serializers.serialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group))); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Group))); } value = object.defaultPermissions; if (value != null) { @@ -3452,10 +3385,9 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing deserialize( - Serializers serializers, Iterable serialized, + CoreFilesSharingCapabilities_FilesSharing deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder(); + final result = CoreFilesSharingCapabilities_FilesSharingBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3468,15 +3400,13 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F break; case 'public': result.public.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Public))! + as CoreFilesSharingCapabilities_FilesSharing_Public); break; case 'user': result.user.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_User))! + as CoreFilesSharingCapabilities_FilesSharing_User); break; case 'resharing': result.resharing = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; @@ -3486,24 +3416,21 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F break; case 'group': result.group.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Group))! + as CoreFilesSharingCapabilities_FilesSharing_Group); break; case 'default_permissions': result.defaultPermissions = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; break; case 'federation': result.federation.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Federation))! + as CoreFilesSharingCapabilities_FilesSharing_Federation); break; case 'sharee': result.sharee.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee); + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing_Sharee))! + as CoreFilesSharingCapabilities_FilesSharing_Sharee); break; } } @@ -3512,19 +3439,55 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_F } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesSerializer - implements StructuredSerializer { +class _$CoreFilesSharingCapabilitiesSerializer implements StructuredSerializer { @override - final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes - ]; + final Iterable types = const [CoreFilesSharingCapabilities, _$CoreFilesSharingCapabilities]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes'; + final String wireName = 'CoreFilesSharingCapabilities'; @override - Iterable serialize( - Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes object, + Iterable serialize(Serializers serializers, CoreFilesSharingCapabilities object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'files_sharing', + serializers.serialize(object.filesSharing, + specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing)), + ]; + + return result; + } + + @override + CoreFilesSharingCapabilities deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreFilesSharingCapabilitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'files_sharing': + result.filesSharing.replace( + serializers.deserialize(value, specifiedType: const FullType(CoreFilesSharingCapabilities_FilesSharing))! + as CoreFilesSharingCapabilities_FilesSharing); + break; + } + } + + return result.build(); + } +} + +class _$CoreNotesCapabilities_NotesSerializer implements StructuredSerializer { + @override + final Iterable types = const [CoreNotesCapabilities_Notes, _$CoreNotesCapabilities_Notes]; + @override + final String wireName = 'CoreNotesCapabilities_Notes'; + + @override + Iterable serialize(Serializers serializers, CoreNotesCapabilities_Notes object, {FullType specifiedType = FullType.unspecified}) { final result = []; Object? value; @@ -3544,10 +3507,9 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_N } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes deserialize( - Serializers serializers, Iterable serialized, + CoreNotesCapabilities_Notes deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder(); + final result = CoreNotesCapabilities_NotesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3569,20 +3531,57 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_N } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsSerializer - implements - StructuredSerializer { +class _$CoreNotesCapabilitiesSerializer implements StructuredSerializer { + @override + final Iterable types = const [CoreNotesCapabilities, _$CoreNotesCapabilities]; + @override + final String wireName = 'CoreNotesCapabilities'; + + @override + Iterable serialize(Serializers serializers, CoreNotesCapabilities object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'notes', + serializers.serialize(object.notes, specifiedType: const FullType(CoreNotesCapabilities_Notes)), + ]; + + return result; + } + + @override + CoreNotesCapabilities deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreNotesCapabilitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'notes': + result.notes.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreNotesCapabilities_Notes))! as CoreNotesCapabilities_Notes); + break; + } + } + + return result.build(); + } +} + +class _$CoreNotificationsCapabilities_NotificationsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications + CoreNotificationsCapabilities_Notifications, + _$CoreNotificationsCapabilities_Notifications ]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications'; + final String wireName = 'CoreNotificationsCapabilities_Notifications'; @override - Iterable serialize(Serializers serializers, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications object, + Iterable serialize(Serializers serializers, CoreNotificationsCapabilities_Notifications object, {FullType specifiedType = FullType.unspecified}) { final result = []; Object? value; @@ -3608,10 +3607,9 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_N } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications deserialize( - Serializers serializers, Iterable serialized, + CoreNotificationsCapabilities_Notifications deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder(); + final result = CoreNotificationsCapabilities_NotificationsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3638,20 +3636,59 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_N } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiSerializer - implements - StructuredSerializer { +class _$CoreNotificationsCapabilitiesSerializer implements StructuredSerializer { + @override + final Iterable types = const [CoreNotificationsCapabilities, _$CoreNotificationsCapabilities]; + @override + final String wireName = 'CoreNotificationsCapabilities'; + + @override + Iterable serialize(Serializers serializers, CoreNotificationsCapabilities object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'notifications', + serializers.serialize(object.notifications, + specifiedType: const FullType(CoreNotificationsCapabilities_Notifications)), + ]; + + return result; + } + + @override + CoreNotificationsCapabilities deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreNotificationsCapabilitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'notifications': + result.notifications.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreNotificationsCapabilities_Notifications))! + as CoreNotificationsCapabilities_Notifications); + break; + } + } + + return result.build(); + } +} + +class _$CoreProvisioningApiCapabilities_ProvisioningApiSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi + CoreProvisioningApiCapabilities_ProvisioningApi, + _$CoreProvisioningApiCapabilities_ProvisioningApi ]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi'; + final String wireName = 'CoreProvisioningApiCapabilities_ProvisioningApi'; @override - Iterable serialize(Serializers serializers, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi object, + Iterable serialize(Serializers serializers, CoreProvisioningApiCapabilities_ProvisioningApi object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'version', @@ -3668,10 +3705,9 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_P } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi deserialize( - Serializers serializers, Iterable serialized, + CoreProvisioningApiCapabilities_ProvisioningApi deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder(); + final result = CoreProvisioningApiCapabilities_ProvisioningApiBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3701,19 +3737,56 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_P } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingSerializer - implements StructuredSerializer { +class _$CoreProvisioningApiCapabilitiesSerializer implements StructuredSerializer { @override - final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming - ]; + final Iterable types = const [CoreProvisioningApiCapabilities, _$CoreProvisioningApiCapabilities]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming'; + final String wireName = 'CoreProvisioningApiCapabilities'; @override - Iterable serialize( - Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming object, + Iterable serialize(Serializers serializers, CoreProvisioningApiCapabilities object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'provisioning_api', + serializers.serialize(object.provisioningApi, + specifiedType: const FullType(CoreProvisioningApiCapabilities_ProvisioningApi)), + ]; + + return result; + } + + @override + CoreProvisioningApiCapabilities deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreProvisioningApiCapabilitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'provisioning_api': + result.provisioningApi.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreProvisioningApiCapabilities_ProvisioningApi))! + as CoreProvisioningApiCapabilities_ProvisioningApi); + break; + } + } + + return result.build(); + } +} + +class _$CoreThemingPublicCapabilities_ThemingSerializer + implements StructuredSerializer { + @override + final Iterable types = const [CoreThemingPublicCapabilities_Theming, _$CoreThemingPublicCapabilities_Theming]; + @override + final String wireName = 'CoreThemingPublicCapabilities_Theming'; + + @override + Iterable serialize(Serializers serializers, CoreThemingPublicCapabilities_Theming object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'name', @@ -3750,10 +3823,9 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_T } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming deserialize( - Serializers serializers, Iterable serialized, + CoreThemingPublicCapabilities_Theming deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder(); + final result = CoreThemingPublicCapabilities_ThemingBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3810,19 +3882,55 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_T } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusSerializer - implements StructuredSerializer { +class _$CoreThemingPublicCapabilitiesSerializer implements StructuredSerializer { @override - final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus - ]; + final Iterable types = const [CoreThemingPublicCapabilities, _$CoreThemingPublicCapabilities]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus'; + final String wireName = 'CoreThemingPublicCapabilities'; @override - Iterable serialize( - Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus object, + Iterable serialize(Serializers serializers, CoreThemingPublicCapabilities object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'theming', + serializers.serialize(object.theming, specifiedType: const FullType(CoreThemingPublicCapabilities_Theming)), + ]; + + return result; + } + + @override + CoreThemingPublicCapabilities deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreThemingPublicCapabilitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'theming': + result.theming.replace( + serializers.deserialize(value, specifiedType: const FullType(CoreThemingPublicCapabilities_Theming))! + as CoreThemingPublicCapabilities_Theming); + break; + } + } + + return result.build(); + } +} + +class _$CoreUserStatusCapabilities_UserStatusSerializer + implements StructuredSerializer { + @override + final Iterable types = const [CoreUserStatusCapabilities_UserStatus, _$CoreUserStatusCapabilities_UserStatus]; + @override + final String wireName = 'CoreUserStatusCapabilities_UserStatus'; + + @override + Iterable serialize(Serializers serializers, CoreUserStatusCapabilities_UserStatus object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -3837,10 +3945,9 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_U } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus deserialize( - Serializers serializers, Iterable serialized, + CoreUserStatusCapabilities_UserStatus deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder(); + final result = CoreUserStatusCapabilities_UserStatusBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3864,122 +3971,40 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_U } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesSerializer - implements StructuredSerializer { +class _$CoreUserStatusCapabilitiesSerializer implements StructuredSerializer { @override - final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities - ]; + final Iterable types = const [CoreUserStatusCapabilities, _$CoreUserStatusCapabilities]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities'; + final String wireName = 'CoreUserStatusCapabilities'; @override - Iterable serialize( - Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities object, + Iterable serialize(Serializers serializers, CoreUserStatusCapabilities object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.filesSharing; - if (value != null) { - result - ..add('files_sharing') - ..add(serializers.serialize(value, - specifiedType: - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing))); - } - value = object.notes; - if (value != null) { - result - ..add('notes') - ..add(serializers.serialize(value, - specifiedType: - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes))); - } - value = object.notifications; - if (value != null) { - result - ..add('notifications') - ..add(serializers.serialize(value, - specifiedType: - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications))); - } - value = object.provisioningApi; - if (value != null) { - result - ..add('provisioning_api') - ..add(serializers.serialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi))); - } - value = object.theming; - if (value != null) { - result - ..add('theming') - ..add(serializers.serialize(value, - specifiedType: - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming))); - } - value = object.userStatus; - if (value != null) { - result - ..add('user_status') - ..add(serializers.serialize(value, - specifiedType: - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus))); - } - return result; - } - - @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities deserialize( - Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'files_sharing': - result.filesSharing.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing); - break; - case 'notes': - result.notes.replace(serializers.deserialize(value, - specifiedType: - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes); - break; - case 'notifications': - result.notifications.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications); - break; - case 'provisioning_api': - result.provisioningApi.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi); - break; - case 'theming': - result.theming.replace(serializers.deserialize(value, - specifiedType: - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming); - break; - case 'user_status': - result.userStatus.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus); - break; - } + final result = [ + 'user_status', + serializers.serialize(object.userStatus, specifiedType: const FullType(CoreUserStatusCapabilities_UserStatus)), + ]; + + return result; + } + + @override + CoreUserStatusCapabilities deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreUserStatusCapabilitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'user_status': + result.userStatus.replace( + serializers.deserialize(value, specifiedType: const FullType(CoreUserStatusCapabilities_UserStatus))! + as CoreUserStatusCapabilities_UserStatus); + break; + } } return result.build(); @@ -5606,39 +5631,33 @@ class _$CoreTextProcessingApiGetTaskResponse200ApplicationJsonSerializer } } -class _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesSerializer - implements StructuredSerializer { +class _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages, - _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data, + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data ]; @override - final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages'; + final String wireName = 'CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data'; @override Iterable serialize( - Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages object, + Serializers serializers, CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_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)), + 'task', + serializers.serialize(object.task, specifiedType: const FullType(CoreTextProcessingTask)), ]; return result; } @override - CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages deserialize( + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesBuilder(); + final result = CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5646,17 +5665,9 @@ class _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages 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 'task': + result.task.replace(serializers.deserialize(value, specifiedType: const FullType(CoreTextProcessingTask))! + as CoreTextProcessingTask); break; } } @@ -5665,89 +5676,36 @@ class _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages } } -class _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data, - _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs, + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data'; + final String wireName = 'CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs'; @override Iterable serialize( - Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'languages', - serializers.serialize(object.languages, - specifiedType: const FullType( - BuiltList, [FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages)])), - 'languageDetection', - serializers.serialize(object.languageDetection, specifiedType: const FullType(bool)), - ]; - - return result; - } - - @override - CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data deserialize( - Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'languages': - result.languages.replace(serializers.deserialize(value, - specifiedType: const FullType( - BuiltList, [FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages)]))! - as BuiltList); - break; - case 'languageDetection': - result.languageDetection = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - } - } - - return result.build(); - } -} - -class _$CoreTranslationApiLanguagesResponse200ApplicationJson_OcsSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs, - _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs - ]; - @override - final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs'; - - @override - Iterable serialize(Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs object, + Serializers serializers, CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data)), + specifiedType: const FullType(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs deserialize( + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder(); + final result = CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5761,8 +5719,8 @@ class _$CoreTranslationApiLanguagesResponse200ApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data))! - as CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data); + specifiedType: const FullType(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data))! + as CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data); break; } } @@ -5771,33 +5729,33 @@ class _$CoreTranslationApiLanguagesResponse200ApplicationJson_OcsSerializer } } -class _$CoreTranslationApiLanguagesResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTranslationApiLanguagesResponse200ApplicationJson, - _$CoreTranslationApiLanguagesResponse200ApplicationJson + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson, + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson ]; @override - final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson'; + final String wireName = 'CoreTextProcessingApiDeleteTaskResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson object, + Iterable serialize(Serializers serializers, CoreTextProcessingApiDeleteTaskResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs)), + specifiedType: const FullType(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreTranslationApiLanguagesResponse200ApplicationJson deserialize( + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTranslationApiLanguagesResponse200ApplicationJsonBuilder(); + final result = CoreTextProcessingApiDeleteTaskResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5807,8 +5765,8 @@ class _$CoreTranslationApiLanguagesResponse200ApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs))! - as CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs); + specifiedType: const FullType(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs))! + as CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs); break; } } @@ -5817,39 +5775,33 @@ class _$CoreTranslationApiLanguagesResponse200ApplicationJsonSerializer } } -class _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data, - _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data, + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data ]; @override - final String wireName = 'CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data'; + final String wireName = 'CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data'; @override Iterable serialize( - Serializers serializers, CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data object, + Serializers serializers, CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'text', - serializers.serialize(object.text, specifiedType: const FullType(String)), + 'tasks', + serializers.serialize(object.tasks, specifiedType: const FullType(BuiltList, [FullType(CoreTextProcessingTask)])), ]; - Object? value; - value = object.from; - if (value != null) { - result - ..add('from') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + return result; } @override - CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data deserialize( + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder(); + final result = CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5857,11 +5809,9 @@ class _$CoreTranslationApiTranslateResponse200ApplicationJson_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 'tasks': + result.tasks.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(CoreTextProcessingTask)]))! as BuiltList); break; } } @@ -5870,35 +5820,36 @@ class _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataSerializer } } -class _$CoreTranslationApiTranslateResponse200ApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTranslationApiTranslateResponse200ApplicationJson_Ocs, - _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs, + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreTranslationApiTranslateResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreTranslationApiTranslateResponse200ApplicationJson_Ocs object, + Iterable serialize( + Serializers serializers, CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data)), + specifiedType: const FullType(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - CoreTranslationApiTranslateResponse200ApplicationJson_Ocs deserialize( + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder(); + final result = CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5912,8 +5863,9 @@ class _$CoreTranslationApiTranslateResponse200ApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data))! - as CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data); + specifiedType: + const FullType(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data))! + as CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data); break; } } @@ -5922,33 +5874,34 @@ class _$CoreTranslationApiTranslateResponse200ApplicationJson_OcsSerializer } } -class _$CoreTranslationApiTranslateResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTranslationApiTranslateResponse200ApplicationJson, - _$CoreTranslationApiTranslateResponse200ApplicationJson + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson, + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson ]; @override - final String wireName = 'CoreTranslationApiTranslateResponse200ApplicationJson'; + final String wireName = 'CoreTextProcessingApiListTasksByAppResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreTranslationApiTranslateResponse200ApplicationJson object, + Iterable serialize( + Serializers serializers, CoreTextProcessingApiListTasksByAppResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs)), + specifiedType: const FullType(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreTranslationApiTranslateResponse200ApplicationJson deserialize( + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTranslationApiTranslateResponse200ApplicationJsonBuilder(); + final result = CoreTextProcessingApiListTasksByAppResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5958,8 +5911,8 @@ class _$CoreTranslationApiTranslateResponse200ApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs))! - as CoreTranslationApiTranslateResponse200ApplicationJson_Ocs); + specifiedType: const FullType(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs))! + as CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs); break; } } @@ -5968,31 +5921,39 @@ class _$CoreTranslationApiTranslateResponse200ApplicationJsonSerializer } } -class _$CoreUnifiedSearchProviderSerializer implements StructuredSerializer { +class _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreUnifiedSearchProvider, _$CoreUnifiedSearchProvider]; + final Iterable types = const [ + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages, + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages + ]; @override - final String wireName = 'CoreUnifiedSearchProvider'; + final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchProvider object, + Iterable serialize( + Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages 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)), + '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 - CoreUnifiedSearchProvider deserialize(Serializers serializers, Iterable serialized, + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchProviderBuilder(); + final result = CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6000,14 +5961,17 @@ class _$CoreUnifiedSearchProviderSerializer implements StructuredSerializer { - @override +class _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override final Iterable types = const [ - CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs, - _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data, + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data ]; @override - final String wireName = 'CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data'; @override Iterable serialize( - Serializers serializers, CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs object, + Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchProvider)])), + 'languages', + serializers.serialize(object.languages, + specifiedType: const FullType( + BuiltList, [FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages)])), + 'languageDetection', + serializers.serialize(object.languageDetection, specifiedType: const FullType(bool)), ]; return result; } @override - CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs deserialize( + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder(); + final result = CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6053,13 +6018,14 @@ class _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta - .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + case 'languages': + result.languages.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, [FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages)]))! + as BuiltList); break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchProvider)]))! as BuiltList); + case 'languageDetection': + result.languageDetection = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -6068,33 +6034,35 @@ class _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsSerializer } } -class _$CoreUnifiedSearchGetProvidersResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreTranslationApiLanguagesResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreUnifiedSearchGetProvidersResponse200ApplicationJson, - _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs, + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreUnifiedSearchGetProvidersResponse200ApplicationJson'; + final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchGetProvidersResponse200ApplicationJson object, + Iterable serialize(Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - CoreUnifiedSearchGetProvidersResponse200ApplicationJson deserialize( + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchGetProvidersResponse200ApplicationJsonBuilder(); + final result = CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6102,10 +6070,14 @@ class _$CoreUnifiedSearchGetProvidersResponse200ApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs))! - as CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs); + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data))! + as CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data); break; } } @@ -6114,39 +6086,33 @@ class _$CoreUnifiedSearchGetProvidersResponse200ApplicationJsonSerializer } } -class _$CoreUnifiedSearchResultEntrySerializer implements StructuredSerializer { +class _$CoreTranslationApiLanguagesResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreUnifiedSearchResultEntry, _$CoreUnifiedSearchResultEntry]; + final Iterable types = const [ + CoreTranslationApiLanguagesResponse200ApplicationJson, + _$CoreTranslationApiLanguagesResponse200ApplicationJson + ]; @override - final String wireName = 'CoreUnifiedSearchResultEntry'; + final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchResultEntry object, + Iterable serialize(Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson 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)])), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreUnifiedSearchResultEntry deserialize(Serializers serializers, Iterable serialized, + CoreTranslationApiLanguagesResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchResultEntryBuilder(); + final result = CoreTranslationApiLanguagesResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6154,27 +6120,10 @@ class _$CoreUnifiedSearchResultEntrySerializer implements StructuredSerializer); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs))! + as CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs); break; } } @@ -6183,38 +6132,39 @@ class _$CoreUnifiedSearchResultEntrySerializer implements StructuredSerializer { +class _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreUnifiedSearchResult, _$CoreUnifiedSearchResult]; + final Iterable types = const [ + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data, + _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data + ]; @override - final String wireName = 'CoreUnifiedSearchResult'; + final String wireName = 'CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchResult object, + Iterable serialize( + Serializers serializers, CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'isPaginated', - serializers.serialize(object.isPaginated, specifiedType: const FullType(bool)), - 'entries', - serializers.serialize(object.entries, - specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchResultEntry)])), + 'text', + serializers.serialize(object.text, specifiedType: const FullType(String)), ]; Object? value; - value = object.cursor; + value = object.from; if (value != null) { result - ..add('cursor') - ..add(serializers.serialize(value, specifiedType: const FullType(CoreUnifiedSearchResult_Cursor))); + ..add('from') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); } return result; } @override - CoreUnifiedSearchResult deserialize(Serializers serializers, Iterable serialized, + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchResultBuilder(); + final result = CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6222,20 +6172,11 @@ class _$CoreUnifiedSearchResultSerializer implements StructuredSerializer); + case 'text': + result.text = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'cursor': - result.cursor.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreUnifiedSearchResult_Cursor))! as CoreUnifiedSearchResult_Cursor); + case 'from': + result.from = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -6244,34 +6185,35 @@ class _$CoreUnifiedSearchResultSerializer implements StructuredSerializer { +class _$CoreTranslationApiTranslateResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs, - _$CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs, + _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreTranslationApiTranslateResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, CoreTranslationApiTranslateResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(CoreUnifiedSearchResult)), + serializers.serialize(object.data, + specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs deserialize( + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder(); + final result = CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6284,8 +6226,9 @@ class _$CoreUnifiedSearchSearchResponse200ApplicationJson_OcsSerializer .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(CoreUnifiedSearchResult))! - as CoreUnifiedSearchResult); + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data))! + as CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data); break; } } @@ -6294,32 +6237,33 @@ class _$CoreUnifiedSearchSearchResponse200ApplicationJson_OcsSerializer } } -class _$CoreUnifiedSearchSearchResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreTranslationApiTranslateResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreUnifiedSearchSearchResponse200ApplicationJson, - _$CoreUnifiedSearchSearchResponse200ApplicationJson + CoreTranslationApiTranslateResponse200ApplicationJson, + _$CoreTranslationApiTranslateResponse200ApplicationJson ]; @override - final String wireName = 'CoreUnifiedSearchSearchResponse200ApplicationJson'; + final String wireName = 'CoreTranslationApiTranslateResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchSearchResponse200ApplicationJson object, + Iterable serialize(Serializers serializers, CoreTranslationApiTranslateResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs)), + specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreUnifiedSearchSearchResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + CoreTranslationApiTranslateResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchSearchResponse200ApplicationJsonBuilder(); + final result = CoreTranslationApiTranslateResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6329,8 +6273,8 @@ class _$CoreUnifiedSearchSearchResponse200ApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs))! - as CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs); + specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs))! + as CoreTranslationApiTranslateResponse200ApplicationJson_Ocs); break; } } @@ -6339,35 +6283,31 @@ class _$CoreUnifiedSearchSearchResponse200ApplicationJsonSerializer } } -class _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewSerializer - implements StructuredSerializer { +class _$CoreUnifiedSearchProviderSerializer implements StructuredSerializer { @override - final Iterable types = const [ - CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew, - _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew - ]; + final Iterable types = const [CoreUnifiedSearchProvider, _$CoreUnifiedSearchProvider]; @override - final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew'; + final String wireName = 'CoreUnifiedSearchProvider'; @override - Iterable serialize( - Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew object, + Iterable serialize(Serializers serializers, CoreUnifiedSearchProvider 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)])), + '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 - CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew deserialize( - Serializers serializers, Iterable serialized, + CoreUnifiedSearchProvider deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder(); + final result = CoreUnifiedSearchProviderBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6375,13 +6315,14 @@ class _$CoreWhatsNewGetResponse200ApplicationJson_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 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'admin': - result.admin.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + 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; } } @@ -6390,42 +6331,36 @@ class _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewSerializer } } -class _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data, - _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data + CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs, + _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data'; + final String wireName = 'CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data object, + Iterable serialize( + Serializers serializers, CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs 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)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchProvider)])), ]; - Object? value; - value = object.whatsNew; - if (value != null) { - result - ..add('whatsNew') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew))); - } + return result; } @override - CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder(); + final result = CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6433,19 +6368,13 @@ class _$CoreWhatsNewGetResponse200ApplicationJson_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; + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); break; - case 'whatsNew': - result.whatsNew.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew))! - as CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew); + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchProvider)]))! as BuiltList); break; } } @@ -6454,34 +6383,33 @@ class _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataSerializer } } -class _$CoreWhatsNewGetResponse200ApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$CoreUnifiedSearchGetProvidersResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreWhatsNewGetResponse200ApplicationJson_Ocs, - _$CoreWhatsNewGetResponse200ApplicationJson_Ocs + CoreUnifiedSearchGetProvidersResponse200ApplicationJson, + _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson ]; @override - final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreUnifiedSearchGetProvidersResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, CoreUnifiedSearchGetProvidersResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreWhatsNewGetResponse200ApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + CoreUnifiedSearchGetProvidersResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder(); + final result = CoreUnifiedSearchGetProvidersResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6489,14 +6417,10 @@ class _$CoreWhatsNewGetResponse200ApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta - .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data))! - as CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs))! + as CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs); break; } } @@ -6505,31 +6429,39 @@ class _$CoreWhatsNewGetResponse200ApplicationJson_OcsSerializer } } -class _$CoreWhatsNewGetResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreUnifiedSearchResultEntrySerializer implements StructuredSerializer { @override - final Iterable types = const [ - CoreWhatsNewGetResponse200ApplicationJson, - _$CoreWhatsNewGetResponse200ApplicationJson - ]; + final Iterable types = const [CoreUnifiedSearchResultEntry, _$CoreUnifiedSearchResultEntry]; @override - final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson'; + final String wireName = 'CoreUnifiedSearchResultEntry'; @override - Iterable serialize(Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson object, + Iterable serialize(Serializers serializers, CoreUnifiedSearchResultEntry object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs)), + '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 - CoreWhatsNewGetResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + CoreUnifiedSearchResultEntry deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreWhatsNewGetResponse200ApplicationJsonBuilder(); + final result = CoreUnifiedSearchResultEntryBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6537,10 +6469,27 @@ class _$CoreWhatsNewGetResponse200ApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs))! - as CoreWhatsNewGetResponse200ApplicationJson_Ocs); + 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; } } @@ -6549,33 +6498,38 @@ class _$CoreWhatsNewGetResponse200ApplicationJsonSerializer } } -class _$CoreWhatsNewDismissResponse200ApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$CoreUnifiedSearchResultSerializer implements StructuredSerializer { @override - final Iterable types = const [ - CoreWhatsNewDismissResponse200ApplicationJson_Ocs, - _$CoreWhatsNewDismissResponse200ApplicationJson_Ocs - ]; + final Iterable types = const [CoreUnifiedSearchResult, _$CoreUnifiedSearchResult]; @override - final String wireName = 'CoreWhatsNewDismissResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreUnifiedSearchResult'; @override - Iterable serialize(Serializers serializers, CoreWhatsNewDismissResponse200ApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, CoreUnifiedSearchResult object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'isPaginated', + serializers.serialize(object.isPaginated, specifiedType: const FullType(bool)), + 'entries', + serializers.serialize(object.entries, + specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchResultEntry)])), ]; - + Object? value; + value = object.cursor; + if (value != null) { + result + ..add('cursor') + ..add(serializers.serialize(value, specifiedType: const FullType(CoreUnifiedSearchResult_Cursor))); + } return result; } @override - CoreWhatsNewDismissResponse200ApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + CoreUnifiedSearchResult deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder(); + final result = CoreUnifiedSearchResultBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6583,12 +6537,20 @@ class _$CoreWhatsNewDismissResponse200ApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta - .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + case 'isPaginated': + result.isPaginated = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'entries': + result.entries.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchResultEntry)]))! + as BuiltList); + break; + case 'cursor': + result.cursor.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreUnifiedSearchResult_Cursor))! as CoreUnifiedSearchResult_Cursor); break; } } @@ -6597,32 +6559,34 @@ class _$CoreWhatsNewDismissResponse200ApplicationJson_OcsSerializer } } -class _$CoreWhatsNewDismissResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreUnifiedSearchSearchResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreWhatsNewDismissResponse200ApplicationJson, - _$CoreWhatsNewDismissResponse200ApplicationJson + CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs, + _$CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreWhatsNewDismissResponse200ApplicationJson'; + final String wireName = 'CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreWhatsNewDismissResponse200ApplicationJson object, + Iterable serialize(Serializers serializers, CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(CoreWhatsNewDismissResponse200ApplicationJson_Ocs)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(CoreUnifiedSearchResult)), ]; return result; } @override - CoreWhatsNewDismissResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreWhatsNewDismissResponse200ApplicationJsonBuilder(); + final result = CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6630,10 +6594,13 @@ class _$CoreWhatsNewDismissResponse200ApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreWhatsNewDismissResponse200ApplicationJson_Ocs))! - as CoreWhatsNewDismissResponse200ApplicationJson_Ocs); + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(CoreUnifiedSearchResult))! + as CoreUnifiedSearchResult); break; } } @@ -6642,954 +6609,2618 @@ class _$CoreWhatsNewDismissResponse200ApplicationJsonSerializer } } -class _$CoreWipeCheckWipeResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreUnifiedSearchSearchResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreWipeCheckWipeResponse200ApplicationJson, - _$CoreWipeCheckWipeResponse200ApplicationJson + CoreUnifiedSearchSearchResponse200ApplicationJson, + _$CoreUnifiedSearchSearchResponse200ApplicationJson + ]; + @override + final String wireName = 'CoreUnifiedSearchSearchResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreUnifiedSearchSearchResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CoreUnifiedSearchSearchResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreUnifiedSearchSearchResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs))! + as CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew, + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew + ]; + @override + final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew'; + + @override + Iterable serialize( + Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'regular', + serializers.serialize(object.regular, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'admin', + serializers.serialize(object.admin, specifiedType: const FullType(BuiltList, [FullType(String)])), + ]; + + return result; + } + + @override + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'regular': + result.regular.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'admin': + result.admin.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data, + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data'; + + @override + Iterable serialize(Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'changelogURL', + serializers.serialize(object.changelogURL, specifiedType: const FullType(String)), + 'product', + serializers.serialize(object.product, specifiedType: const FullType(String)), + 'version', + serializers.serialize(object.version, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.whatsNew; + if (value != null) { + result + ..add('whatsNew') + ..add(serializers.serialize(value, + specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew))); + } + return result; + } + + @override + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'changelogURL': + result.changelogURL = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'product': + result.product = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'version': + result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'whatsNew': + result.whatsNew.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew))! + as CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew); + break; + } + } + + return result.build(); + } +} + +class _$CoreWhatsNewGetResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWhatsNewGetResponse200ApplicationJson_Ocs, + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + CoreWhatsNewGetResponse200ApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data))! + as CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$CoreWhatsNewGetResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWhatsNewGetResponse200ApplicationJson, + _$CoreWhatsNewGetResponse200ApplicationJson ]; @override - final String wireName = 'CoreWipeCheckWipeResponse200ApplicationJson'; + final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CoreWhatsNewGetResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWhatsNewGetResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs))! + as CoreWhatsNewGetResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CoreWhatsNewDismissResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWhatsNewDismissResponse200ApplicationJson_Ocs, + _$CoreWhatsNewDismissResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'CoreWhatsNewDismissResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CoreWhatsNewDismissResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + CoreWhatsNewDismissResponse200ApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$CoreWhatsNewDismissResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWhatsNewDismissResponse200ApplicationJson, + _$CoreWhatsNewDismissResponse200ApplicationJson + ]; + @override + final String wireName = 'CoreWhatsNewDismissResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreWhatsNewDismissResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreWhatsNewDismissResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CoreWhatsNewDismissResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWhatsNewDismissResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreWhatsNewDismissResponse200ApplicationJson_Ocs))! + as CoreWhatsNewDismissResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CoreWipeCheckWipeResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWipeCheckWipeResponse200ApplicationJson, + _$CoreWipeCheckWipeResponse200ApplicationJson + ]; + @override + final String wireName = 'CoreWipeCheckWipeResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreWipeCheckWipeResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'wipe', + serializers.serialize(object.wipe, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + CoreWipeCheckWipeResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWipeCheckWipeResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'wipe': + result.wipe = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$CoreStatus extends CoreStatus { + @override + final bool installed; + @override + final bool maintenance; + @override + final bool needsDbUpgrade; + @override + final String version; + @override + final String versionstring; + @override + final String edition; + @override + final String productname; + @override + final bool extendedSupport; + + factory _$CoreStatus([void Function(CoreStatusBuilder)? updates]) => (CoreStatusBuilder()..update(updates))._build(); + + _$CoreStatus._( + {required this.installed, + required this.maintenance, + required this.needsDbUpgrade, + required this.version, + required this.versionstring, + required this.edition, + required this.productname, + required this.extendedSupport}) + : super._() { + BuiltValueNullFieldError.checkNotNull(installed, r'CoreStatus', 'installed'); + BuiltValueNullFieldError.checkNotNull(maintenance, r'CoreStatus', 'maintenance'); + BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'CoreStatus', 'needsDbUpgrade'); + BuiltValueNullFieldError.checkNotNull(version, r'CoreStatus', 'version'); + BuiltValueNullFieldError.checkNotNull(versionstring, r'CoreStatus', 'versionstring'); + BuiltValueNullFieldError.checkNotNull(edition, r'CoreStatus', 'edition'); + BuiltValueNullFieldError.checkNotNull(productname, r'CoreStatus', 'productname'); + BuiltValueNullFieldError.checkNotNull(extendedSupport, r'CoreStatus', 'extendedSupport'); + } + + @override + CoreStatus rebuild(void Function(CoreStatusBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + CoreStatusBuilder toBuilder() => CoreStatusBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreStatus && + installed == other.installed && + maintenance == other.maintenance && + needsDbUpgrade == other.needsDbUpgrade && + version == other.version && + versionstring == other.versionstring && + edition == other.edition && + productname == other.productname && + extendedSupport == other.extendedSupport; + } + + @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 = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreStatus') + ..add('installed', installed) + ..add('maintenance', maintenance) + ..add('needsDbUpgrade', needsDbUpgrade) + ..add('version', version) + ..add('versionstring', versionstring) + ..add('edition', edition) + ..add('productname', productname) + ..add('extendedSupport', extendedSupport)) + .toString(); + } +} + +class CoreStatusBuilder implements Builder { + _$CoreStatus? _$v; + + bool? _installed; + bool? get installed => _$this._installed; + set installed(bool? installed) => _$this._installed = installed; + + bool? _maintenance; + bool? get maintenance => _$this._maintenance; + set maintenance(bool? maintenance) => _$this._maintenance = maintenance; + + bool? _needsDbUpgrade; + bool? get needsDbUpgrade => _$this._needsDbUpgrade; + set needsDbUpgrade(bool? needsDbUpgrade) => _$this._needsDbUpgrade = needsDbUpgrade; + + String? _version; + String? get version => _$this._version; + set version(String? version) => _$this._version = version; + + String? _versionstring; + String? get versionstring => _$this._versionstring; + set versionstring(String? versionstring) => _$this._versionstring = versionstring; + + String? _edition; + String? get edition => _$this._edition; + set edition(String? edition) => _$this._edition = edition; + + String? _productname; + String? get productname => _$this._productname; + set productname(String? productname) => _$this._productname = productname; + + bool? _extendedSupport; + bool? get extendedSupport => _$this._extendedSupport; + set extendedSupport(bool? extendedSupport) => _$this._extendedSupport = extendedSupport; + + CoreStatusBuilder(); + + CoreStatusBuilder get _$this { + final $v = _$v; + if ($v != null) { + _installed = $v.installed; + _maintenance = $v.maintenance; + _needsDbUpgrade = $v.needsDbUpgrade; + _version = $v.version; + _versionstring = $v.versionstring; + _edition = $v.edition; + _productname = $v.productname; + _extendedSupport = $v.extendedSupport; + _$v = null; + } + return this; + } + + @override + void replace(CoreStatus other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreStatus; + } + + @override + void update(void Function(CoreStatusBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreStatus build() => _build(); + + _$CoreStatus _build() { + final _$result = _$v ?? + _$CoreStatus._( + installed: BuiltValueNullFieldError.checkNotNull(installed, r'CoreStatus', 'installed'), + maintenance: BuiltValueNullFieldError.checkNotNull(maintenance, r'CoreStatus', 'maintenance'), + needsDbUpgrade: BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'CoreStatus', 'needsDbUpgrade'), + version: BuiltValueNullFieldError.checkNotNull(version, r'CoreStatus', 'version'), + versionstring: BuiltValueNullFieldError.checkNotNull(versionstring, r'CoreStatus', 'versionstring'), + edition: BuiltValueNullFieldError.checkNotNull(edition, r'CoreStatus', 'edition'), + productname: BuiltValueNullFieldError.checkNotNull(productname, r'CoreStatus', 'productname'), + extendedSupport: BuiltValueNullFieldError.checkNotNull(extendedSupport, r'CoreStatus', 'extendedSupport')); + replace(_$result); + return _$result; + } +} + +class _$CoreOCSMeta extends CoreOCSMeta { + @override + final String status; + @override + final int statuscode; + @override + final String? message; + @override + final String? totalitems; + @override + final String? itemsperpage; + + factory _$CoreOCSMeta([void Function(CoreOCSMetaBuilder)? updates]) => + (CoreOCSMetaBuilder()..update(updates))._build(); + + _$CoreOCSMeta._({required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) + : super._() { + BuiltValueNullFieldError.checkNotNull(status, r'CoreOCSMeta', 'status'); + BuiltValueNullFieldError.checkNotNull(statuscode, r'CoreOCSMeta', 'statuscode'); + } + + @override + CoreOCSMeta rebuild(void Function(CoreOCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + CoreOCSMetaBuilder toBuilder() => CoreOCSMetaBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreOCSMeta && + status == other.status && + statuscode == other.statuscode && + message == other.message && + totalitems == other.totalitems && + itemsperpage == other.itemsperpage; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, statuscode.hashCode); + _$hash = $jc(_$hash, message.hashCode); + _$hash = $jc(_$hash, totalitems.hashCode); + _$hash = $jc(_$hash, itemsperpage.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreOCSMeta') + ..add('status', status) + ..add('statuscode', statuscode) + ..add('message', message) + ..add('totalitems', totalitems) + ..add('itemsperpage', itemsperpage)) + .toString(); + } +} + +class CoreOCSMetaBuilder implements Builder { + _$CoreOCSMeta? _$v; + + String? _status; + String? get status => _$this._status; + set status(String? status) => _$this._status = status; + + int? _statuscode; + int? get statuscode => _$this._statuscode; + set statuscode(int? statuscode) => _$this._statuscode = statuscode; + + String? _message; + String? get message => _$this._message; + set message(String? message) => _$this._message = message; + + String? _totalitems; + String? get totalitems => _$this._totalitems; + set totalitems(String? totalitems) => _$this._totalitems = totalitems; + + String? _itemsperpage; + String? get itemsperpage => _$this._itemsperpage; + set itemsperpage(String? itemsperpage) => _$this._itemsperpage = itemsperpage; + + CoreOCSMetaBuilder(); + + CoreOCSMetaBuilder get _$this { + final $v = _$v; + if ($v != null) { + _status = $v.status; + _statuscode = $v.statuscode; + _message = $v.message; + _totalitems = $v.totalitems; + _itemsperpage = $v.itemsperpage; + _$v = null; + } + return this; + } + + @override + void replace(CoreOCSMeta other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreOCSMeta; + } + + @override + void update(void Function(CoreOCSMetaBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreOCSMeta build() => _build(); + + _$CoreOCSMeta _build() { + final _$result = _$v ?? + _$CoreOCSMeta._( + status: BuiltValueNullFieldError.checkNotNull(status, r'CoreOCSMeta', 'status'), + statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'CoreOCSMeta', 'statuscode'), + message: message, + totalitems: totalitems, + itemsperpage: itemsperpage); + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data + extends CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data { + @override + final String apppassword; + + factory _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data( + [void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { + BuiltValueNullFieldError.checkNotNull( + apppassword, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword'); + } + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data && + apppassword == other.apppassword; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, apppassword.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data') + ..add('apppassword', apppassword)) + .toString(); + } +} + +class CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data? _$v; + + String? _apppassword; + String? get apppassword => _$this._apppassword; + set apppassword(String? apppassword) => _$this._apppassword = apppassword; + + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); + + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _apppassword = $v.apppassword; + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data; + } + + @override + void update(void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data._( + apppassword: BuiltValueNullFieldError.checkNotNull( + apppassword, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword')); + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs + extends CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data data; + + factory _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs( + [void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs rebuild( + void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder(); + + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs build() => _build(); + + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs _build() { + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson + extends CoreAppPasswordGetAppPasswordResponse200ApplicationJson { + @override + final CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs ocs; + + factory _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson( + [void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder)? updates]) => + (CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson', 'ocs'); + } + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson rebuild( + void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder toBuilder() => + CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordGetAppPasswordResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson? _$v; + + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder? _ocs; + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder(); + + CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordGetAppPasswordResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson; + } + + @override + void update(void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson build() => _build(); + + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson _build() { + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data + extends CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data { + @override + final String apppassword; + + factory _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data( + [void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { + BuiltValueNullFieldError.checkNotNull( + apppassword, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword'); + } + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data && + apppassword == other.apppassword; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, apppassword.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data') + ..add('apppassword', apppassword)) + .toString(); + } +} + +class CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data? _$v; + + String? _apppassword; + String? get apppassword => _$this._apppassword; + set apppassword(String? apppassword) => _$this._apppassword = apppassword; + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _apppassword = $v.apppassword; + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data; + } + + @override + void update(void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data._( + apppassword: BuiltValueNullFieldError.checkNotNull( + apppassword, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword')); + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs + extends CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data data; + + factory _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs( + [void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs rebuild( + void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder(); + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs build() => _build(); + + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs _build() { + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson + extends CoreAppPasswordRotateAppPasswordResponse200ApplicationJson { + @override + final CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs ocs; + + factory _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson( + [void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder)? updates]) => + (CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson', 'ocs'); + } + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson rebuild( + void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder toBuilder() => + CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordRotateAppPasswordResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson? _$v; + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder? _ocs; + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder(); + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson; + } + + @override + void update(void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson build() => _build(); + + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson _build() { + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs + extends CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final JsonObject data; + + factory _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs( + [void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs rebuild( + void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder(); + + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs build() => _build(); + + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs _build() { + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson + extends CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson { + @override + final CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs ocs; + + factory _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson( + [void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder)? updates]) => + (CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson', 'ocs'); + } + + @override + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson rebuild( + void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder toBuilder() => + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson? _$v; + + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder? _ocs; + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder(); + + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson; + } + + @override + void update(void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson build() => _build(); + + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson _build() { + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAutocompleteResult extends CoreAutocompleteResult { + @override + final String id; + @override + final String label; + @override + final String icon; + @override + final String source; + @override + final String status; + @override + final String subline; + @override + final String shareWithDisplayNameUnique; + + factory _$CoreAutocompleteResult([void Function(CoreAutocompleteResultBuilder)? updates]) => + (CoreAutocompleteResultBuilder()..update(updates))._build(); + + _$CoreAutocompleteResult._( + {required this.id, + required this.label, + required this.icon, + required this.source, + required this.status, + required this.subline, + required this.shareWithDisplayNameUnique}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'CoreAutocompleteResult', 'id'); + BuiltValueNullFieldError.checkNotNull(label, r'CoreAutocompleteResult', 'label'); + BuiltValueNullFieldError.checkNotNull(icon, r'CoreAutocompleteResult', 'icon'); + BuiltValueNullFieldError.checkNotNull(source, r'CoreAutocompleteResult', 'source'); + BuiltValueNullFieldError.checkNotNull(status, r'CoreAutocompleteResult', 'status'); + BuiltValueNullFieldError.checkNotNull(subline, r'CoreAutocompleteResult', 'subline'); + BuiltValueNullFieldError.checkNotNull( + shareWithDisplayNameUnique, r'CoreAutocompleteResult', 'shareWithDisplayNameUnique'); + } + + @override + CoreAutocompleteResult rebuild(void Function(CoreAutocompleteResultBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAutocompleteResultBuilder toBuilder() => CoreAutocompleteResultBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAutocompleteResult && + id == other.id && + label == other.label && + icon == other.icon && + source == other.source && + status == other.status && + subline == other.subline && + shareWithDisplayNameUnique == other.shareWithDisplayNameUnique; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, label.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, source.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, subline.hashCode); + _$hash = $jc(_$hash, shareWithDisplayNameUnique.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAutocompleteResult') + ..add('id', id) + ..add('label', label) + ..add('icon', icon) + ..add('source', source) + ..add('status', status) + ..add('subline', subline) + ..add('shareWithDisplayNameUnique', shareWithDisplayNameUnique)) + .toString(); + } +} + +class CoreAutocompleteResultBuilder implements Builder { + _$CoreAutocompleteResult? _$v; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _label; + String? get label => _$this._label; + set label(String? label) => _$this._label = label; + + String? _icon; + String? get icon => _$this._icon; + set icon(String? icon) => _$this._icon = icon; + + String? _source; + String? get source => _$this._source; + set source(String? source) => _$this._source = source; + + String? _status; + String? get status => _$this._status; + set status(String? status) => _$this._status = status; + + String? _subline; + String? get subline => _$this._subline; + set subline(String? subline) => _$this._subline = subline; + + String? _shareWithDisplayNameUnique; + String? get shareWithDisplayNameUnique => _$this._shareWithDisplayNameUnique; + set shareWithDisplayNameUnique(String? shareWithDisplayNameUnique) => + _$this._shareWithDisplayNameUnique = shareWithDisplayNameUnique; + + CoreAutocompleteResultBuilder(); + + CoreAutocompleteResultBuilder get _$this { + final $v = _$v; + if ($v != null) { + _id = $v.id; + _label = $v.label; + _icon = $v.icon; + _source = $v.source; + _status = $v.status; + _subline = $v.subline; + _shareWithDisplayNameUnique = $v.shareWithDisplayNameUnique; + _$v = null; + } + return this; + } + + @override + void replace(CoreAutocompleteResult other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAutocompleteResult; + } + + @override + void update(void Function(CoreAutocompleteResultBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAutocompleteResult build() => _build(); + + _$CoreAutocompleteResult _build() { + final _$result = _$v ?? + _$CoreAutocompleteResult._( + id: BuiltValueNullFieldError.checkNotNull(id, r'CoreAutocompleteResult', 'id'), + label: BuiltValueNullFieldError.checkNotNull(label, r'CoreAutocompleteResult', 'label'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreAutocompleteResult', 'icon'), + source: BuiltValueNullFieldError.checkNotNull(source, r'CoreAutocompleteResult', 'source'), + status: BuiltValueNullFieldError.checkNotNull(status, r'CoreAutocompleteResult', 'status'), + subline: BuiltValueNullFieldError.checkNotNull(subline, r'CoreAutocompleteResult', 'subline'), + shareWithDisplayNameUnique: BuiltValueNullFieldError.checkNotNull( + shareWithDisplayNameUnique, r'CoreAutocompleteResult', 'shareWithDisplayNameUnique')); + replace(_$result); + return _$result; + } +} + +class _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs extends CoreAutoCompleteGetResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final BuiltList data; + + factory _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs( + [void Function(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreAutoCompleteGetResponse200ApplicationJson_Ocs rebuild( + void Function(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - Iterable serialize(Serializers serializers, CoreWipeCheckWipeResponse200ApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'wipe', - serializers.serialize(object.wipe, specifiedType: const FullType(bool)), - ]; + CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder()..replace(this); - return result; + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAutoCompleteGetResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @override - CoreWipeCheckWipeResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = CoreWipeCheckWipeResponse200ApplicationJsonBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'wipe': - result.wipe = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - } - } + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } - return result.build(); + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); } } -class _$CoreStatus extends CoreStatus { - @override - final bool installed; - @override - final bool maintenance; - @override - final bool needsDbUpgrade; - @override - final String version; +class CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; + + CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder(); + + CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + @override - final String versionstring; + void replace(CoreAutoCompleteGetResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs; + } + @override - final String edition; + void update(void Function(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + @override - final String productname; + CoreAutoCompleteGetResponse200ApplicationJson_Ocs build() => _build(); + + _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs _build() { + _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAutoCompleteGetResponse200ApplicationJson extends CoreAutoCompleteGetResponse200ApplicationJson { @override - final bool extendedSupport; + final CoreAutoCompleteGetResponse200ApplicationJson_Ocs ocs; - factory _$CoreStatus([void Function(CoreStatusBuilder)? updates]) => (CoreStatusBuilder()..update(updates))._build(); + factory _$CoreAutoCompleteGetResponse200ApplicationJson( + [void Function(CoreAutoCompleteGetResponse200ApplicationJsonBuilder)? updates]) => + (CoreAutoCompleteGetResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreStatus._( - {required this.installed, - required this.maintenance, - required this.needsDbUpgrade, - required this.version, - required this.versionstring, - required this.edition, - required this.productname, - required this.extendedSupport}) - : super._() { - BuiltValueNullFieldError.checkNotNull(installed, r'CoreStatus', 'installed'); - BuiltValueNullFieldError.checkNotNull(maintenance, r'CoreStatus', 'maintenance'); - BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'CoreStatus', 'needsDbUpgrade'); - BuiltValueNullFieldError.checkNotNull(version, r'CoreStatus', 'version'); - BuiltValueNullFieldError.checkNotNull(versionstring, r'CoreStatus', 'versionstring'); - BuiltValueNullFieldError.checkNotNull(edition, r'CoreStatus', 'edition'); - BuiltValueNullFieldError.checkNotNull(productname, r'CoreStatus', 'productname'); - BuiltValueNullFieldError.checkNotNull(extendedSupport, r'CoreStatus', 'extendedSupport'); + _$CoreAutoCompleteGetResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAutoCompleteGetResponse200ApplicationJson', 'ocs'); } @override - CoreStatus rebuild(void Function(CoreStatusBuilder) updates) => (toBuilder()..update(updates)).build(); + CoreAutoCompleteGetResponse200ApplicationJson rebuild( + void Function(CoreAutoCompleteGetResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - CoreStatusBuilder toBuilder() => CoreStatusBuilder()..replace(this); + CoreAutoCompleteGetResponse200ApplicationJsonBuilder toBuilder() => + CoreAutoCompleteGetResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreStatus && - installed == other.installed && - maintenance == other.maintenance && - needsDbUpgrade == other.needsDbUpgrade && - version == other.version && - versionstring == other.versionstring && - edition == other.edition && - productname == other.productname && - extendedSupport == other.extendedSupport; + return other is CoreAutoCompleteGetResponse200ApplicationJson && ocs == other.ocs; } @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, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreStatus') - ..add('installed', installed) - ..add('maintenance', maintenance) - ..add('needsDbUpgrade', needsDbUpgrade) - ..add('version', version) - ..add('versionstring', versionstring) - ..add('edition', edition) - ..add('productname', productname) - ..add('extendedSupport', extendedSupport)) - .toString(); + return (newBuiltValueToStringHelper(r'CoreAutoCompleteGetResponse200ApplicationJson')..add('ocs', ocs)).toString(); } } -class CoreStatusBuilder implements Builder { - _$CoreStatus? _$v; - - bool? _installed; - bool? get installed => _$this._installed; - set installed(bool? installed) => _$this._installed = installed; - - bool? _maintenance; - bool? get maintenance => _$this._maintenance; - set maintenance(bool? maintenance) => _$this._maintenance = maintenance; - - bool? _needsDbUpgrade; - bool? get needsDbUpgrade => _$this._needsDbUpgrade; - set needsDbUpgrade(bool? needsDbUpgrade) => _$this._needsDbUpgrade = needsDbUpgrade; - - String? _version; - String? get version => _$this._version; - set version(String? version) => _$this._version = version; - - String? _versionstring; - String? get versionstring => _$this._versionstring; - set versionstring(String? versionstring) => _$this._versionstring = versionstring; - - String? _edition; - String? get edition => _$this._edition; - set edition(String? edition) => _$this._edition = edition; - - String? _productname; - String? get productname => _$this._productname; - set productname(String? productname) => _$this._productname = productname; +class CoreAutoCompleteGetResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreAutoCompleteGetResponse200ApplicationJson? _$v; - bool? _extendedSupport; - bool? get extendedSupport => _$this._extendedSupport; - set extendedSupport(bool? extendedSupport) => _$this._extendedSupport = extendedSupport; + CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder? _ocs; + CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreStatusBuilder(); + CoreAutoCompleteGetResponse200ApplicationJsonBuilder(); - CoreStatusBuilder get _$this { + CoreAutoCompleteGetResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _installed = $v.installed; - _maintenance = $v.maintenance; - _needsDbUpgrade = $v.needsDbUpgrade; - _version = $v.version; - _versionstring = $v.versionstring; - _edition = $v.edition; - _productname = $v.productname; - _extendedSupport = $v.extendedSupport; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreStatus other) { + void replace(CoreAutoCompleteGetResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreStatus; + _$v = other as _$CoreAutoCompleteGetResponse200ApplicationJson; } @override - void update(void Function(CoreStatusBuilder)? updates) { + void update(void Function(CoreAutoCompleteGetResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreStatus build() => _build(); - - _$CoreStatus _build() { - final _$result = _$v ?? - _$CoreStatus._( - installed: BuiltValueNullFieldError.checkNotNull(installed, r'CoreStatus', 'installed'), - maintenance: BuiltValueNullFieldError.checkNotNull(maintenance, r'CoreStatus', 'maintenance'), - needsDbUpgrade: BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'CoreStatus', 'needsDbUpgrade'), - version: BuiltValueNullFieldError.checkNotNull(version, r'CoreStatus', 'version'), - versionstring: BuiltValueNullFieldError.checkNotNull(versionstring, r'CoreStatus', 'versionstring'), - edition: BuiltValueNullFieldError.checkNotNull(edition, r'CoreStatus', 'edition'), - productname: BuiltValueNullFieldError.checkNotNull(productname, r'CoreStatus', 'productname'), - extendedSupport: BuiltValueNullFieldError.checkNotNull(extendedSupport, r'CoreStatus', 'extendedSupport')); + CoreAutoCompleteGetResponse200ApplicationJson build() => _build(); + + _$CoreAutoCompleteGetResponse200ApplicationJson _build() { + _$CoreAutoCompleteGetResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreAutoCompleteGetResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CoreAutoCompleteGetResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreOCSMeta extends CoreOCSMeta { - @override - final String status; - @override - final int statuscode; - @override - final String? message; - @override - final String? totalitems; +class _$CoreAvatarAvatarGetAvatarDarkHeaders extends CoreAvatarAvatarGetAvatarDarkHeaders { @override - final String? itemsperpage; + final int? xNcIscustomavatar; - factory _$CoreOCSMeta([void Function(CoreOCSMetaBuilder)? updates]) => - (CoreOCSMetaBuilder()..update(updates))._build(); + factory _$CoreAvatarAvatarGetAvatarDarkHeaders( + [void Function(CoreAvatarAvatarGetAvatarDarkHeadersBuilder)? updates]) => + (CoreAvatarAvatarGetAvatarDarkHeadersBuilder()..update(updates))._build(); - _$CoreOCSMeta._({required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) - : super._() { - BuiltValueNullFieldError.checkNotNull(status, r'CoreOCSMeta', 'status'); - BuiltValueNullFieldError.checkNotNull(statuscode, r'CoreOCSMeta', 'statuscode'); - } + _$CoreAvatarAvatarGetAvatarDarkHeaders._({this.xNcIscustomavatar}) : super._(); @override - CoreOCSMeta rebuild(void Function(CoreOCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); + CoreAvatarAvatarGetAvatarDarkHeaders rebuild(void Function(CoreAvatarAvatarGetAvatarDarkHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - CoreOCSMetaBuilder toBuilder() => CoreOCSMetaBuilder()..replace(this); + CoreAvatarAvatarGetAvatarDarkHeadersBuilder toBuilder() => + CoreAvatarAvatarGetAvatarDarkHeadersBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOCSMeta && - status == other.status && - statuscode == other.statuscode && - message == other.message && - totalitems == other.totalitems && - itemsperpage == other.itemsperpage; + return other is CoreAvatarAvatarGetAvatarDarkHeaders && xNcIscustomavatar == other.xNcIscustomavatar; } @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, xNcIscustomavatar.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreOCSMeta') - ..add('status', status) - ..add('statuscode', statuscode) - ..add('message', message) - ..add('totalitems', totalitems) - ..add('itemsperpage', itemsperpage)) + return (newBuiltValueToStringHelper(r'CoreAvatarAvatarGetAvatarDarkHeaders') + ..add('xNcIscustomavatar', xNcIscustomavatar)) .toString(); } } -class CoreOCSMetaBuilder implements Builder { - _$CoreOCSMeta? _$v; - - String? _status; - String? get status => _$this._status; - set status(String? status) => _$this._status = status; - - int? _statuscode; - int? get statuscode => _$this._statuscode; - set statuscode(int? statuscode) => _$this._statuscode = statuscode; - - String? _message; - String? get message => _$this._message; - set message(String? message) => _$this._message = message; - - String? _totalitems; - String? get totalitems => _$this._totalitems; - set totalitems(String? totalitems) => _$this._totalitems = totalitems; +class CoreAvatarAvatarGetAvatarDarkHeadersBuilder + implements Builder { + _$CoreAvatarAvatarGetAvatarDarkHeaders? _$v; - String? _itemsperpage; - String? get itemsperpage => _$this._itemsperpage; - set itemsperpage(String? itemsperpage) => _$this._itemsperpage = itemsperpage; + int? _xNcIscustomavatar; + int? get xNcIscustomavatar => _$this._xNcIscustomavatar; + set xNcIscustomavatar(int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; - CoreOCSMetaBuilder(); + CoreAvatarAvatarGetAvatarDarkHeadersBuilder(); - CoreOCSMetaBuilder get _$this { + CoreAvatarAvatarGetAvatarDarkHeadersBuilder get _$this { final $v = _$v; if ($v != null) { - _status = $v.status; - _statuscode = $v.statuscode; - _message = $v.message; - _totalitems = $v.totalitems; - _itemsperpage = $v.itemsperpage; + _xNcIscustomavatar = $v.xNcIscustomavatar; _$v = null; } return this; } @override - void replace(CoreOCSMeta other) { + void replace(CoreAvatarAvatarGetAvatarDarkHeaders other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOCSMeta; + _$v = other as _$CoreAvatarAvatarGetAvatarDarkHeaders; } @override - void update(void Function(CoreOCSMetaBuilder)? updates) { + void update(void Function(CoreAvatarAvatarGetAvatarDarkHeadersBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOCSMeta build() => _build(); + CoreAvatarAvatarGetAvatarDarkHeaders build() => _build(); - _$CoreOCSMeta _build() { - final _$result = _$v ?? - _$CoreOCSMeta._( - status: BuiltValueNullFieldError.checkNotNull(status, r'CoreOCSMeta', 'status'), - statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'CoreOCSMeta', 'statuscode'), - message: message, - totalitems: totalitems, - itemsperpage: itemsperpage); + _$CoreAvatarAvatarGetAvatarDarkHeaders _build() { + final _$result = _$v ?? _$CoreAvatarAvatarGetAvatarDarkHeaders._(xNcIscustomavatar: xNcIscustomavatar); replace(_$result); return _$result; } } -class _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data - extends CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data { +class _$CoreAvatarAvatarGetAvatarHeaders extends CoreAvatarAvatarGetAvatarHeaders { @override - final String apppassword; + final int? xNcIscustomavatar; - factory _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data( - [void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => - (CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$CoreAvatarAvatarGetAvatarHeaders([void Function(CoreAvatarAvatarGetAvatarHeadersBuilder)? updates]) => + (CoreAvatarAvatarGetAvatarHeadersBuilder()..update(updates))._build(); - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { - BuiltValueNullFieldError.checkNotNull( - apppassword, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword'); - } + _$CoreAvatarAvatarGetAvatarHeaders._({this.xNcIscustomavatar}) : super._(); @override - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data rebuild( - void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder) updates) => + CoreAvatarAvatarGetAvatarHeaders rebuild(void Function(CoreAvatarAvatarGetAvatarHeadersBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + CoreAvatarAvatarGetAvatarHeadersBuilder toBuilder() => CoreAvatarAvatarGetAvatarHeadersBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data && - apppassword == other.apppassword; + return other is CoreAvatarAvatarGetAvatarHeaders && xNcIscustomavatar == other.xNcIscustomavatar; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, apppassword.hashCode); + _$hash = $jc(_$hash, xNcIscustomavatar.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data') - ..add('apppassword', apppassword)) + return (newBuiltValueToStringHelper(r'CoreAvatarAvatarGetAvatarHeaders') + ..add('xNcIscustomavatar', xNcIscustomavatar)) .toString(); } } -class CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder - implements - Builder { - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data? _$v; +class CoreAvatarAvatarGetAvatarHeadersBuilder + implements Builder { + _$CoreAvatarAvatarGetAvatarHeaders? _$v; - String? _apppassword; - String? get apppassword => _$this._apppassword; - set apppassword(String? apppassword) => _$this._apppassword = apppassword; + int? _xNcIscustomavatar; + int? get xNcIscustomavatar => _$this._xNcIscustomavatar; + set xNcIscustomavatar(int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); + CoreAvatarAvatarGetAvatarHeadersBuilder(); - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get _$this { + CoreAvatarAvatarGetAvatarHeadersBuilder get _$this { final $v = _$v; if ($v != null) { - _apppassword = $v.apppassword; + _xNcIscustomavatar = $v.xNcIscustomavatar; _$v = null; } return this; } @override - void replace(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data other) { + void replace(CoreAvatarAvatarGetAvatarHeaders other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data; + _$v = other as _$CoreAvatarAvatarGetAvatarHeaders; } @override - void update(void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(CoreAvatarAvatarGetAvatarHeadersBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data build() => _build(); + CoreAvatarAvatarGetAvatarHeaders build() => _build(); - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data _build() { - final _$result = _$v ?? - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data._( - apppassword: BuiltValueNullFieldError.checkNotNull( - apppassword, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword')); + _$CoreAvatarAvatarGetAvatarHeaders _build() { + final _$result = _$v ?? _$CoreAvatarAvatarGetAvatarHeaders._(xNcIscustomavatar: xNcIscustomavatar); replace(_$result); return _$result; } } -class _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs - extends CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs { +class _$CoreLoginFlowV2Credentials extends CoreLoginFlowV2Credentials { @override - final CoreOCSMeta meta; + final String server; @override - final CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data data; + final String loginName; + @override + final String appPassword; - factory _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs( - [void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreLoginFlowV2Credentials([void Function(CoreLoginFlowV2CredentialsBuilder)? updates]) => + (CoreLoginFlowV2CredentialsBuilder()..update(updates))._build(); - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + _$CoreLoginFlowV2Credentials._({required this.server, required this.loginName, required this.appPassword}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs', 'data'); + BuiltValueNullFieldError.checkNotNull(server, r'CoreLoginFlowV2Credentials', 'server'); + BuiltValueNullFieldError.checkNotNull(loginName, r'CoreLoginFlowV2Credentials', 'loginName'); + BuiltValueNullFieldError.checkNotNull(appPassword, r'CoreLoginFlowV2Credentials', 'appPassword'); } @override - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs rebuild( - void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder) updates) => + CoreLoginFlowV2Credentials rebuild(void Function(CoreLoginFlowV2CredentialsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreLoginFlowV2CredentialsBuilder toBuilder() => CoreLoginFlowV2CredentialsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreLoginFlowV2Credentials && + server == other.server && + loginName == other.loginName && + appPassword == other.appPassword; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$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'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreLoginFlowV2Credentials') + ..add('server', server) + ..add('loginName', loginName) + ..add('appPassword', appPassword)) .toString(); } } -class CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder - implements - Builder { - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs? _$v; +class CoreLoginFlowV2CredentialsBuilder + implements Builder { + _$CoreLoginFlowV2Credentials? _$v; - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + String? _server; + String? get server => _$this._server; + set server(String? server) => _$this._server = server; - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? _data; - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); - set data(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + String? _loginName; + String? get loginName => _$this._loginName; + set loginName(String? loginName) => _$this._loginName = loginName; + + String? _appPassword; + String? get appPassword => _$this._appPassword; + set appPassword(String? appPassword) => _$this._appPassword = appPassword; - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder(); + CoreLoginFlowV2CredentialsBuilder(); - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder get _$this { + CoreLoginFlowV2CredentialsBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _server = $v.server; + _loginName = $v.loginName; + _appPassword = $v.appPassword; _$v = null; } return this; } @override - void replace(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs other) { + void replace(CoreLoginFlowV2Credentials other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs; + _$v = other as _$CoreLoginFlowV2Credentials; } @override - void update(void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreLoginFlowV2CredentialsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs build() => _build(); + CoreLoginFlowV2Credentials build() => _build(); - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs _build() { - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$CoreLoginFlowV2Credentials _build() { + final _$result = _$v ?? + _$CoreLoginFlowV2Credentials._( + server: BuiltValueNullFieldError.checkNotNull(server, r'CoreLoginFlowV2Credentials', 'server'), + loginName: BuiltValueNullFieldError.checkNotNull(loginName, r'CoreLoginFlowV2Credentials', 'loginName'), + appPassword: + BuiltValueNullFieldError.checkNotNull(appPassword, r'CoreLoginFlowV2Credentials', 'appPassword')); replace(_$result); return _$result; } } -class _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson - extends CoreAppPasswordGetAppPasswordResponse200ApplicationJson { +class _$CoreLoginFlowV2_Poll extends CoreLoginFlowV2_Poll { @override - final CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs ocs; + final String token; + @override + final String endpoint; - factory _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson( - [void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder)? updates]) => - (CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreLoginFlowV2_Poll([void Function(CoreLoginFlowV2_PollBuilder)? updates]) => + (CoreLoginFlowV2_PollBuilder()..update(updates))._build(); - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson', 'ocs'); + _$CoreLoginFlowV2_Poll._({required this.token, required this.endpoint}) : super._() { + BuiltValueNullFieldError.checkNotNull(token, r'CoreLoginFlowV2_Poll', 'token'); + BuiltValueNullFieldError.checkNotNull(endpoint, r'CoreLoginFlowV2_Poll', 'endpoint'); } @override - CoreAppPasswordGetAppPasswordResponse200ApplicationJson rebuild( - void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder) updates) => + CoreLoginFlowV2_Poll rebuild(void Function(CoreLoginFlowV2_PollBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder toBuilder() => - CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder()..replace(this); + CoreLoginFlowV2_PollBuilder toBuilder() => CoreLoginFlowV2_PollBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAppPasswordGetAppPasswordResponse200ApplicationJson && ocs == other.ocs; + return other is CoreLoginFlowV2_Poll && token == other.token && endpoint == other.endpoint; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, token.hashCode); + _$hash = $jc(_$hash, endpoint.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreLoginFlowV2_Poll') + ..add('token', token) + ..add('endpoint', endpoint)) .toString(); } } -class CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder - implements - Builder { - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson? _$v; +class CoreLoginFlowV2_PollBuilder implements Builder { + _$CoreLoginFlowV2_Poll? _$v; - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder? _ocs; - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + String? _token; + String? get token => _$this._token; + set token(String? token) => _$this._token = token; - CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder(); + String? _endpoint; + String? get endpoint => _$this._endpoint; + set endpoint(String? endpoint) => _$this._endpoint = endpoint; - CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder get _$this { + CoreLoginFlowV2_PollBuilder(); + + CoreLoginFlowV2_PollBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _token = $v.token; + _endpoint = $v.endpoint; _$v = null; } return this; } @override - void replace(CoreAppPasswordGetAppPasswordResponse200ApplicationJson other) { + void replace(CoreLoginFlowV2_Poll other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson; + _$v = other as _$CoreLoginFlowV2_Poll; } @override - void update(void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreLoginFlowV2_PollBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAppPasswordGetAppPasswordResponse200ApplicationJson build() => _build(); + CoreLoginFlowV2_Poll build() => _build(); - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson _build() { - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson _$result; - try { - _$result = _$v ?? _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$CoreLoginFlowV2_Poll _build() { + final _$result = _$v ?? + _$CoreLoginFlowV2_Poll._( + token: BuiltValueNullFieldError.checkNotNull(token, r'CoreLoginFlowV2_Poll', 'token'), + endpoint: BuiltValueNullFieldError.checkNotNull(endpoint, r'CoreLoginFlowV2_Poll', 'endpoint')); replace(_$result); return _$result; } } -class _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data - extends CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data { +class _$CoreLoginFlowV2 extends CoreLoginFlowV2 { @override - final String apppassword; + final CoreLoginFlowV2_Poll poll; + @override + final String login; - factory _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data( - [void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => - (CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$CoreLoginFlowV2([void Function(CoreLoginFlowV2Builder)? updates]) => + (CoreLoginFlowV2Builder()..update(updates))._build(); - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { - BuiltValueNullFieldError.checkNotNull( - apppassword, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword'); + _$CoreLoginFlowV2._({required this.poll, required this.login}) : super._() { + BuiltValueNullFieldError.checkNotNull(poll, r'CoreLoginFlowV2', 'poll'); + BuiltValueNullFieldError.checkNotNull(login, r'CoreLoginFlowV2', 'login'); } @override - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data rebuild( - void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder) updates) => - (toBuilder()..update(updates)).build(); + CoreLoginFlowV2 rebuild(void Function(CoreLoginFlowV2Builder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + CoreLoginFlowV2Builder toBuilder() => CoreLoginFlowV2Builder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data && - apppassword == other.apppassword; + return other is CoreLoginFlowV2 && poll == other.poll && login == other.login; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, apppassword.hashCode); + _$hash = $jc(_$hash, poll.hashCode); + _$hash = $jc(_$hash, login.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data') - ..add('apppassword', apppassword)) + return (newBuiltValueToStringHelper(r'CoreLoginFlowV2') + ..add('poll', poll) + ..add('login', login)) .toString(); } } -class CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder - implements - Builder { - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data? _$v; +class CoreLoginFlowV2Builder implements Builder { + _$CoreLoginFlowV2? _$v; - String? _apppassword; - String? get apppassword => _$this._apppassword; - set apppassword(String? apppassword) => _$this._apppassword = apppassword; + CoreLoginFlowV2_PollBuilder? _poll; + CoreLoginFlowV2_PollBuilder get poll => _$this._poll ??= CoreLoginFlowV2_PollBuilder(); + set poll(CoreLoginFlowV2_PollBuilder? poll) => _$this._poll = poll; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); + String? _login; + String? get login => _$this._login; + set login(String? login) => _$this._login = login; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get _$this { + CoreLoginFlowV2Builder(); + + CoreLoginFlowV2Builder get _$this { final $v = _$v; if ($v != null) { - _apppassword = $v.apppassword; + _poll = $v.poll.toBuilder(); + _login = $v.login; _$v = null; } return this; } @override - void replace(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data other) { + void replace(CoreLoginFlowV2 other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data; + _$v = other as _$CoreLoginFlowV2; } @override - void update(void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(CoreLoginFlowV2Builder)? updates) { if (updates != null) updates(this); } @override - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data build() => _build(); + CoreLoginFlowV2 build() => _build(); - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data _build() { - final _$result = _$v ?? - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data._( - apppassword: BuiltValueNullFieldError.checkNotNull( - apppassword, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword')); + _$CoreLoginFlowV2 _build() { + _$CoreLoginFlowV2 _$result; + try { + _$result = _$v ?? + _$CoreLoginFlowV2._( + poll: poll.build(), login: BuiltValueNullFieldError.checkNotNull(login, r'CoreLoginFlowV2', 'login')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'poll'; + poll.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CoreLoginFlowV2', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs - extends CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs { +class _$CoreOpenGraphObject_OpenGraphObject extends CoreOpenGraphObject_OpenGraphObject { @override - final CoreOCSMeta meta; + final String id; @override - final CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data data; + final String name; + @override + final String? description; + @override + final String? thumb; + @override + final String link; - factory _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs( - [void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreOpenGraphObject_OpenGraphObject([void Function(CoreOpenGraphObject_OpenGraphObjectBuilder)? updates]) => + (CoreOpenGraphObject_OpenGraphObjectBuilder()..update(updates))._build(); - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + _$CoreOpenGraphObject_OpenGraphObject._( + {required this.id, required this.name, this.description, this.thumb, required this.link}) : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs', 'data'); + BuiltValueNullFieldError.checkNotNull(id, r'CoreOpenGraphObject_OpenGraphObject', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'CoreOpenGraphObject_OpenGraphObject', 'name'); + BuiltValueNullFieldError.checkNotNull(link, r'CoreOpenGraphObject_OpenGraphObject', 'link'); } @override - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs rebuild( - void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder) updates) => + CoreOpenGraphObject_OpenGraphObject rebuild(void Function(CoreOpenGraphObject_OpenGraphObjectBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreOpenGraphObject_OpenGraphObjectBuilder toBuilder() => CoreOpenGraphObject_OpenGraphObjectBuilder()..replace(this); @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreOpenGraphObject_OpenGraphObject && + id == other.id && + name == other.name && + description == other.description && + thumb == other.thumb && + link == other.link; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.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'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreOpenGraphObject_OpenGraphObject') + ..add('id', id) + ..add('name', name) + ..add('description', description) + ..add('thumb', thumb) + ..add('link', link)) .toString(); } } -class CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder - implements - Builder { - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs? _$v; +class CoreOpenGraphObject_OpenGraphObjectBuilder + implements Builder { + _$CoreOpenGraphObject_OpenGraphObject? _$v; - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? _data; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); - set data(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder(); + String? _description; + String? get description => _$this._description; + set description(String? description) => _$this._description = description; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder get _$this { + String? _thumb; + String? get thumb => _$this._thumb; + set thumb(String? thumb) => _$this._thumb = thumb; + + String? _link; + String? get link => _$this._link; + set link(String? link) => _$this._link = link; + + CoreOpenGraphObject_OpenGraphObjectBuilder(); + + CoreOpenGraphObject_OpenGraphObjectBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _id = $v.id; + _name = $v.name; + _description = $v.description; + _thumb = $v.thumb; + _link = $v.link; _$v = null; } return this; } @override - void replace(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs other) { + void replace(CoreOpenGraphObject_OpenGraphObject other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs; + _$v = other as _$CoreOpenGraphObject_OpenGraphObject; } @override - void update(void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreOpenGraphObject_OpenGraphObjectBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs build() => _build(); + CoreOpenGraphObject_OpenGraphObject build() => _build(); - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs _build() { - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$CoreOpenGraphObject_OpenGraphObject _build() { + final _$result = _$v ?? + _$CoreOpenGraphObject_OpenGraphObject._( + id: BuiltValueNullFieldError.checkNotNull(id, r'CoreOpenGraphObject_OpenGraphObject', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'CoreOpenGraphObject_OpenGraphObject', 'name'), + description: description, + thumb: thumb, + link: BuiltValueNullFieldError.checkNotNull(link, r'CoreOpenGraphObject_OpenGraphObject', 'link')); replace(_$result); return _$result; } } -class _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson - extends CoreAppPasswordRotateAppPasswordResponse200ApplicationJson { +class _$CoreOpenGraphObject extends CoreOpenGraphObject { @override - final CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs ocs; + final String richObjectType; + @override + final BuiltMap richObject; + @override + final CoreOpenGraphObject_OpenGraphObject openGraphObject; + @override + final bool accessible; - factory _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson( - [void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder)? updates]) => - (CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreOpenGraphObject([void Function(CoreOpenGraphObjectBuilder)? updates]) => + (CoreOpenGraphObjectBuilder()..update(updates))._build(); - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson', 'ocs'); + _$CoreOpenGraphObject._( + {required this.richObjectType, required this.richObject, required this.openGraphObject, required this.accessible}) + : super._() { + BuiltValueNullFieldError.checkNotNull(richObjectType, r'CoreOpenGraphObject', 'richObjectType'); + BuiltValueNullFieldError.checkNotNull(richObject, r'CoreOpenGraphObject', 'richObject'); + BuiltValueNullFieldError.checkNotNull(openGraphObject, r'CoreOpenGraphObject', 'openGraphObject'); + BuiltValueNullFieldError.checkNotNull(accessible, r'CoreOpenGraphObject', 'accessible'); } @override - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson rebuild( - void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder) updates) => + CoreOpenGraphObject rebuild(void Function(CoreOpenGraphObjectBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder toBuilder() => - CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder()..replace(this); + CoreOpenGraphObjectBuilder toBuilder() => CoreOpenGraphObjectBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAppPasswordRotateAppPasswordResponse200ApplicationJson && ocs == other.ocs; + return other is CoreOpenGraphObject && + richObjectType == other.richObjectType && + richObject == other.richObject && + openGraphObject == other.openGraphObject && + accessible == other.accessible; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.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'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreOpenGraphObject') + ..add('richObjectType', richObjectType) + ..add('richObject', richObject) + ..add('openGraphObject', openGraphObject) + ..add('accessible', accessible)) .toString(); } } -class CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder - implements - Builder { - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson? _$v; +class CoreOpenGraphObjectBuilder implements Builder { + _$CoreOpenGraphObject? _$v; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder? _ocs; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + String? _richObjectType; + String? get richObjectType => _$this._richObjectType; + set richObjectType(String? richObjectType) => _$this._richObjectType = richObjectType; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder(); + MapBuilder? _richObject; + MapBuilder get richObject => _$this._richObject ??= MapBuilder(); + set richObject(MapBuilder? richObject) => _$this._richObject = richObject; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder get _$this { + CoreOpenGraphObject_OpenGraphObjectBuilder? _openGraphObject; + CoreOpenGraphObject_OpenGraphObjectBuilder get openGraphObject => + _$this._openGraphObject ??= CoreOpenGraphObject_OpenGraphObjectBuilder(); + set openGraphObject(CoreOpenGraphObject_OpenGraphObjectBuilder? openGraphObject) => + _$this._openGraphObject = openGraphObject; + + bool? _accessible; + bool? get accessible => _$this._accessible; + set accessible(bool? accessible) => _$this._accessible = accessible; + + CoreOpenGraphObjectBuilder(); + + CoreOpenGraphObjectBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _richObjectType = $v.richObjectType; + _richObject = $v.richObject.toBuilder(); + _openGraphObject = $v.openGraphObject.toBuilder(); + _accessible = $v.accessible; _$v = null; } return this; } @override - void replace(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson other) { + void replace(CoreOpenGraphObject other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson; + _$v = other as _$CoreOpenGraphObject; } @override - void update(void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreOpenGraphObjectBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson build() => _build(); + CoreOpenGraphObject build() => _build(); - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson _build() { - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson _$result; + _$CoreOpenGraphObject _build() { + _$CoreOpenGraphObject _$result; try { - _$result = _$v ?? _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$CoreOpenGraphObject._( + richObjectType: + BuiltValueNullFieldError.checkNotNull(richObjectType, r'CoreOpenGraphObject', 'richObjectType'), + richObject: richObject.build(), + openGraphObject: openGraphObject.build(), + accessible: BuiltValueNullFieldError.checkNotNull(accessible, r'CoreOpenGraphObject', 'accessible')); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'richObject'; + richObject.build(); + _$failedField = 'openGraphObject'; + openGraphObject.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'CoreOpenGraphObject', _$failedField, e.toString()); } rethrow; } @@ -7598,116 +9229,112 @@ class CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder } } -class _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs - extends CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs { +class _$CoreCollection extends CoreCollection { @override - final CoreOCSMeta meta; + final int id; @override - final JsonObject data; + final String name; + @override + final BuiltList resources; - factory _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs( - [void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreCollection([void Function(CoreCollectionBuilder)? updates]) => + (CoreCollectionBuilder()..update(updates))._build(); - _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', 'data'); + _$CoreCollection._({required this.id, required this.name, required this.resources}) : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'CoreCollection', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'CoreCollection', 'name'); + BuiltValueNullFieldError.checkNotNull(resources, r'CoreCollection', 'resources'); } @override - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs rebuild( - void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder) updates) => - (toBuilder()..update(updates)).build(); + CoreCollection rebuild(void Function(CoreCollectionBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreCollectionBuilder toBuilder() => CoreCollectionBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreCollection && id == other.id && name == other.name && resources == other.resources; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.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'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreCollection') + ..add('id', id) + ..add('name', name) + ..add('resources', resources)) .toString(); } } -class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder - implements - Builder { - _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs? _$v; +class CoreCollectionBuilder implements Builder { + _$CoreCollection? _$v; - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + int? _id; + int? get id => _$this._id; + set id(int? id) => _$this._id = id; - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(JsonObject? data) => _$this._data = data; + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder(); + ListBuilder? _resources; + ListBuilder get resources => _$this._resources ??= ListBuilder(); + set resources(ListBuilder? resources) => _$this._resources = resources; - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder get _$this { + CoreCollectionBuilder(); + + CoreCollectionBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data; + _id = $v.id; + _name = $v.name; + _resources = $v.resources.toBuilder(); _$v = null; } return this; } @override - void replace(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs other) { + void replace(CoreCollection other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs; + _$v = other as _$CoreCollection; } @override - void update(void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreCollectionBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs build() => _build(); + CoreCollection build() => _build(); - _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs _build() { - _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs _$result; + _$CoreCollection _build() { + _$CoreCollection _$result; try { _$result = _$v ?? - _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs._( - meta: meta.build(), - data: BuiltValueNullFieldError.checkNotNull( - data, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', 'data')); + _$CoreCollection._( + id: BuiltValueNullFieldError.checkNotNull(id, r'CoreCollection', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'CoreCollection', 'name'), + resources: resources.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); + _$failedField = 'resources'; + resources.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'CoreCollection', _$failedField, e.toString()); } rethrow; } @@ -7716,97 +9343,118 @@ class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder } } -class _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson - extends CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson { +class _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs { @override - final CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs ocs; + final CoreOCSMeta meta; + @override + final BuiltList data; - factory _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson( - [void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder)? updates]) => - (CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson', 'ocs'); + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs', 'data'); } @override - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson rebuild( - void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder) updates) => + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder toBuilder() => - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder()..replace(this); + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson && ocs == other.ocs; + return other is CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_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'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder +class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson? _$v; + Builder { + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs? _$v; - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder? _ocs; - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder(); + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder get _$this { + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder(); + + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_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(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson other) { + void replace(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson; + _$v = other as _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder)? updates) { + void update( + void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson build() => _build(); + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs build() => _build(); - _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson _build() { - _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson _$result; + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_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'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -7815,199 +9463,141 @@ class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder } } -class _$CoreAutocompleteResult extends CoreAutocompleteResult { - @override - final String id; - @override - final String label; - @override - final String icon; - @override - final String source; - @override - final String status; - @override - final String subline; +class _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson + extends CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson { @override - final String shareWithDisplayNameUnique; + final CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs ocs; - factory _$CoreAutocompleteResult([void Function(CoreAutocompleteResultBuilder)? updates]) => - (CoreAutocompleteResultBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder)? updates]) => + (CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreAutocompleteResult._( - {required this.id, - required this.label, - required this.icon, - required this.source, - required this.status, - required this.subline, - required this.shareWithDisplayNameUnique}) - : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'CoreAutocompleteResult', 'id'); - BuiltValueNullFieldError.checkNotNull(label, r'CoreAutocompleteResult', 'label'); - BuiltValueNullFieldError.checkNotNull(icon, r'CoreAutocompleteResult', 'icon'); - BuiltValueNullFieldError.checkNotNull(source, r'CoreAutocompleteResult', 'source'); - BuiltValueNullFieldError.checkNotNull(status, r'CoreAutocompleteResult', 'status'); - BuiltValueNullFieldError.checkNotNull(subline, r'CoreAutocompleteResult', 'subline'); + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson._({required this.ocs}) : super._() { BuiltValueNullFieldError.checkNotNull( - shareWithDisplayNameUnique, r'CoreAutocompleteResult', 'shareWithDisplayNameUnique'); + ocs, r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson', 'ocs'); } @override - CoreAutocompleteResult rebuild(void Function(CoreAutocompleteResultBuilder) updates) => + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); - @override - CoreAutocompleteResultBuilder toBuilder() => CoreAutocompleteResultBuilder()..replace(this); - - @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is CoreAutocompleteResult && - id == other.id && - label == other.label && - icon == other.icon && - source == other.source && - status == other.status && - subline == other.subline && - shareWithDisplayNameUnique == other.shareWithDisplayNameUnique; - } - - @override - int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, label.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, source.hashCode); - _$hash = $jc(_$hash, status.hashCode); - _$hash = $jc(_$hash, subline.hashCode); - _$hash = $jc(_$hash, shareWithDisplayNameUnique.hashCode); - _$hash = $jf(_$hash); - return _$hash; - } - - @override - String toString() { - return (newBuiltValueToStringHelper(r'CoreAutocompleteResult') - ..add('id', id) - ..add('label', label) - ..add('icon', icon) - ..add('source', source) - ..add('status', status) - ..add('subline', subline) - ..add('shareWithDisplayNameUnique', shareWithDisplayNameUnique)) - .toString(); - } -} - -class CoreAutocompleteResultBuilder implements Builder { - _$CoreAutocompleteResult? _$v; - - String? _id; - String? get id => _$this._id; - set id(String? id) => _$this._id = id; - - String? _label; - String? get label => _$this._label; - set label(String? label) => _$this._label = label; + @override + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder()..replace(this); - String? _icon; - String? get icon => _$this._icon; - set icon(String? icon) => _$this._icon = icon; + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson && ocs == other.ocs; + } - String? _source; - String? get source => _$this._source; - set source(String? source) => _$this._source = source; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } - String? _status; - String? get status => _$this._status; - set status(String? status) => _$this._status = status; + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} - String? _subline; - String? get subline => _$this._subline; - set subline(String? subline) => _$this._subline = subline; +class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson? _$v; - String? _shareWithDisplayNameUnique; - String? get shareWithDisplayNameUnique => _$this._shareWithDisplayNameUnique; - set shareWithDisplayNameUnique(String? shareWithDisplayNameUnique) => - _$this._shareWithDisplayNameUnique = shareWithDisplayNameUnique; + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreAutocompleteResultBuilder(); + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder(); - CoreAutocompleteResultBuilder get _$this { + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _label = $v.label; - _icon = $v.icon; - _source = $v.source; - _status = $v.status; - _subline = $v.subline; - _shareWithDisplayNameUnique = $v.shareWithDisplayNameUnique; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreAutocompleteResult other) { + void replace(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAutocompleteResult; + _$v = other as _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson; } @override - void update(void Function(CoreAutocompleteResultBuilder)? updates) { + void update(void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAutocompleteResult build() => _build(); + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson build() => _build(); - _$CoreAutocompleteResult _build() { - final _$result = _$v ?? - _$CoreAutocompleteResult._( - id: BuiltValueNullFieldError.checkNotNull(id, r'CoreAutocompleteResult', 'id'), - label: BuiltValueNullFieldError.checkNotNull(label, r'CoreAutocompleteResult', 'label'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreAutocompleteResult', 'icon'), - source: BuiltValueNullFieldError.checkNotNull(source, r'CoreAutocompleteResult', 'source'), - status: BuiltValueNullFieldError.checkNotNull(status, r'CoreAutocompleteResult', 'status'), - subline: BuiltValueNullFieldError.checkNotNull(subline, r'CoreAutocompleteResult', 'subline'), - shareWithDisplayNameUnique: BuiltValueNullFieldError.checkNotNull( - shareWithDisplayNameUnique, r'CoreAutocompleteResult', 'shareWithDisplayNameUnique')); + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs extends CoreAutoCompleteGetResponse200ApplicationJson_Ocs { +class _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs { @override final CoreOCSMeta meta; @override - final BuiltList data; + final CoreCollection data; - factory _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs( - [void Function(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs', 'data'); + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs', 'data'); } @override - CoreAutoCompleteGetResponse200ApplicationJson_Ocs rebuild( - void Function(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder) updates) => + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAutoCompleteGetResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -8021,30 +9611,30 @@ class _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs extends CoreAutoComple @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder +class CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs? _$v; CoreOCSMetaBuilder? _meta; CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; + CoreCollectionBuilder? _data; + CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); + set data(CoreCollectionBuilder? data) => _$this._data = data; - CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder(); + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder(); - CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder get _$this { + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -8055,23 +9645,25 @@ class CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder } @override - void replace(CoreAutoCompleteGetResponse200ApplicationJson_Ocs other) { + void replace(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs; + _$v = other as _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAutoCompleteGetResponse200ApplicationJson_Ocs build() => _build(); + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs build() => _build(); - _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs _build() { - _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs _$result; + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -8081,7 +9673,7 @@ class CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -8090,31 +9682,33 @@ class CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder } } -class _$CoreAutoCompleteGetResponse200ApplicationJson extends CoreAutoCompleteGetResponse200ApplicationJson { +class _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson + extends CoreCollaborationResourcesListCollectionResponse200ApplicationJson { @override - final CoreAutoCompleteGetResponse200ApplicationJson_Ocs ocs; + final CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs ocs; - factory _$CoreAutoCompleteGetResponse200ApplicationJson( - [void Function(CoreAutoCompleteGetResponse200ApplicationJsonBuilder)? updates]) => - (CoreAutoCompleteGetResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder)? updates]) => + (CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreAutoCompleteGetResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAutoCompleteGetResponse200ApplicationJson', 'ocs'); + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson', 'ocs'); } @override - CoreAutoCompleteGetResponse200ApplicationJson rebuild( - void Function(CoreAutoCompleteGetResponse200ApplicationJsonBuilder) updates) => + CoreCollaborationResourcesListCollectionResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAutoCompleteGetResponse200ApplicationJsonBuilder toBuilder() => - CoreAutoCompleteGetResponse200ApplicationJsonBuilder()..replace(this); + CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAutoCompleteGetResponse200ApplicationJson && ocs == other.ocs; + return other is CoreCollaborationResourcesListCollectionResponse200ApplicationJson && ocs == other.ocs; } @override @@ -8127,23 +9721,26 @@ class _$CoreAutoCompleteGetResponse200ApplicationJson extends CoreAutoCompleteGe @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAutoCompleteGetResponse200ApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); } } -class CoreAutoCompleteGetResponse200ApplicationJsonBuilder +class CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder implements - Builder { - _$CoreAutoCompleteGetResponse200ApplicationJson? _$v; + Builder { + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson? _$v; - CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder? _ocs; - CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreAutoCompleteGetResponse200ApplicationJsonBuilder(); + CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder(); - CoreAutoCompleteGetResponse200ApplicationJsonBuilder get _$this { + CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -8153,30 +9750,31 @@ class CoreAutoCompleteGetResponse200ApplicationJsonBuilder } @override - void replace(CoreAutoCompleteGetResponse200ApplicationJson other) { + void replace(CoreCollaborationResourcesListCollectionResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAutoCompleteGetResponse200ApplicationJson; + _$v = other as _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson; } @override - void update(void Function(CoreAutoCompleteGetResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAutoCompleteGetResponse200ApplicationJson build() => _build(); + CoreCollaborationResourcesListCollectionResponse200ApplicationJson build() => _build(); - _$CoreAutoCompleteGetResponse200ApplicationJson _build() { - _$CoreAutoCompleteGetResponse200ApplicationJson _$result; + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreAutoCompleteGetResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreAutoCompleteGetResponse200ApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -8185,459 +9783,554 @@ class CoreAutoCompleteGetResponse200ApplicationJsonBuilder } } -class _$CoreAvatarAvatarGetAvatarDarkHeaders extends CoreAvatarAvatarGetAvatarDarkHeaders { +class _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs { @override - final int? xNcIscustomavatar; + final CoreOCSMeta meta; + @override + final CoreCollection data; - factory _$CoreAvatarAvatarGetAvatarDarkHeaders( - [void Function(CoreAvatarAvatarGetAvatarDarkHeadersBuilder)? updates]) => - (CoreAvatarAvatarGetAvatarDarkHeadersBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreAvatarAvatarGetAvatarDarkHeaders._({this.xNcIscustomavatar}) : super._(); + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs', 'data'); + } @override - CoreAvatarAvatarGetAvatarDarkHeaders rebuild(void Function(CoreAvatarAvatarGetAvatarDarkHeadersBuilder) updates) => + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); - @override - CoreAvatarAvatarGetAvatarDarkHeadersBuilder toBuilder() => - CoreAvatarAvatarGetAvatarDarkHeadersBuilder()..replace(this); + @override + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAvatarAvatarGetAvatarDarkHeaders && xNcIscustomavatar == other.xNcIscustomavatar; + return other is CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_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'CoreAvatarAvatarGetAvatarDarkHeaders') - ..add('xNcIscustomavatar', xNcIscustomavatar)) + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreAvatarAvatarGetAvatarDarkHeadersBuilder - implements Builder { - _$CoreAvatarAvatarGetAvatarDarkHeaders? _$v; +class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs? _$v; - int? _xNcIscustomavatar; - int? get xNcIscustomavatar => _$this._xNcIscustomavatar; - set xNcIscustomavatar(int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreAvatarAvatarGetAvatarDarkHeadersBuilder(); + CoreCollectionBuilder? _data; + CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); + set data(CoreCollectionBuilder? data) => _$this._data = data; - CoreAvatarAvatarGetAvatarDarkHeadersBuilder get _$this { + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder(); + + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_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(CoreAvatarAvatarGetAvatarDarkHeaders other) { + void replace(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAvatarAvatarGetAvatarDarkHeaders; + _$v = other as _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreAvatarAvatarGetAvatarDarkHeadersBuilder)? updates) { + void update(void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAvatarAvatarGetAvatarDarkHeaders build() => _build(); + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs build() => _build(); - _$CoreAvatarAvatarGetAvatarDarkHeaders _build() { - final _$result = _$v ?? _$CoreAvatarAvatarGetAvatarDarkHeaders._(xNcIscustomavatar: xNcIscustomavatar); + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreAvatarAvatarGetAvatarHeaders extends CoreAvatarAvatarGetAvatarHeaders { +class _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson + extends CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson { @override - final int? xNcIscustomavatar; + final CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs ocs; - factory _$CoreAvatarAvatarGetAvatarHeaders([void Function(CoreAvatarAvatarGetAvatarHeadersBuilder)? updates]) => - (CoreAvatarAvatarGetAvatarHeadersBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder)? updates]) => + (CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreAvatarAvatarGetAvatarHeaders._({this.xNcIscustomavatar}) : super._(); + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson', 'ocs'); + } @override - CoreAvatarAvatarGetAvatarHeaders rebuild(void Function(CoreAvatarAvatarGetAvatarHeadersBuilder) updates) => + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAvatarAvatarGetAvatarHeadersBuilder toBuilder() => CoreAvatarAvatarGetAvatarHeadersBuilder()..replace(this); + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAvatarAvatarGetAvatarHeaders && xNcIscustomavatar == other.xNcIscustomavatar; + return other is CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson && 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'CoreAvatarAvatarGetAvatarHeaders') - ..add('xNcIscustomavatar', xNcIscustomavatar)) + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class CoreAvatarAvatarGetAvatarHeadersBuilder - implements Builder { - _$CoreAvatarAvatarGetAvatarHeaders? _$v; +class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson? _$v; - int? _xNcIscustomavatar; - int? get xNcIscustomavatar => _$this._xNcIscustomavatar; - set xNcIscustomavatar(int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreAvatarAvatarGetAvatarHeadersBuilder(); + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder(); - CoreAvatarAvatarGetAvatarHeadersBuilder get _$this { + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _xNcIscustomavatar = $v.xNcIscustomavatar; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreAvatarAvatarGetAvatarHeaders other) { + void replace(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAvatarAvatarGetAvatarHeaders; + _$v = other as _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson; } @override - void update(void Function(CoreAvatarAvatarGetAvatarHeadersBuilder)? updates) { + void update(void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAvatarAvatarGetAvatarHeaders build() => _build(); + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson build() => _build(); - _$CoreAvatarAvatarGetAvatarHeaders _build() { - final _$result = _$v ?? _$CoreAvatarAvatarGetAvatarHeaders._(xNcIscustomavatar: xNcIscustomavatar); + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreLoginFlowV2Credentials extends CoreLoginFlowV2Credentials { - @override - final String server; +class _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs { @override - final String loginName; + final CoreOCSMeta meta; @override - final String appPassword; + final CoreCollection data; - factory _$CoreLoginFlowV2Credentials([void Function(CoreLoginFlowV2CredentialsBuilder)? updates]) => - (CoreLoginFlowV2CredentialsBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreLoginFlowV2Credentials._({required this.server, required this.loginName, required this.appPassword}) + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(server, r'CoreLoginFlowV2Credentials', 'server'); - BuiltValueNullFieldError.checkNotNull(loginName, r'CoreLoginFlowV2Credentials', 'loginName'); - BuiltValueNullFieldError.checkNotNull(appPassword, r'CoreLoginFlowV2Credentials', 'appPassword'); + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs', 'data'); } @override - CoreLoginFlowV2Credentials rebuild(void Function(CoreLoginFlowV2CredentialsBuilder) updates) => + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreLoginFlowV2CredentialsBuilder toBuilder() => CoreLoginFlowV2CredentialsBuilder()..replace(this); + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreLoginFlowV2Credentials && - server == other.server && - loginName == other.loginName && - appPassword == other.appPassword; + return other is CoreCollaborationResourcesAddResourceResponse200ApplicationJson_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'CoreLoginFlowV2Credentials') - ..add('server', server) - ..add('loginName', loginName) - ..add('appPassword', appPassword)) + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreLoginFlowV2CredentialsBuilder - implements Builder { - _$CoreLoginFlowV2Credentials? _$v; - - String? _server; - String? get server => _$this._server; - set server(String? server) => _$this._server = server; +class CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs? _$v; - String? _loginName; - String? get loginName => _$this._loginName; - set loginName(String? loginName) => _$this._loginName = loginName; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - String? _appPassword; - String? get appPassword => _$this._appPassword; - set appPassword(String? appPassword) => _$this._appPassword = appPassword; + CoreCollectionBuilder? _data; + CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); + set data(CoreCollectionBuilder? data) => _$this._data = data; - CoreLoginFlowV2CredentialsBuilder(); + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder(); - CoreLoginFlowV2CredentialsBuilder get _$this { + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_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(CoreLoginFlowV2Credentials other) { + void replace(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreLoginFlowV2Credentials; + _$v = other as _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreLoginFlowV2CredentialsBuilder)? updates) { + void update(void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreLoginFlowV2Credentials build() => _build(); + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs build() => _build(); - _$CoreLoginFlowV2Credentials _build() { - final _$result = _$v ?? - _$CoreLoginFlowV2Credentials._( - server: BuiltValueNullFieldError.checkNotNull(server, r'CoreLoginFlowV2Credentials', 'server'), - loginName: BuiltValueNullFieldError.checkNotNull(loginName, r'CoreLoginFlowV2Credentials', 'loginName'), - appPassword: - BuiltValueNullFieldError.checkNotNull(appPassword, r'CoreLoginFlowV2Credentials', 'appPassword')); + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreLoginFlowV2_Poll extends CoreLoginFlowV2_Poll { - @override - final String token; +class _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson + extends CoreCollaborationResourcesAddResourceResponse200ApplicationJson { @override - final String endpoint; + final CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs ocs; - factory _$CoreLoginFlowV2_Poll([void Function(CoreLoginFlowV2_PollBuilder)? updates]) => - (CoreLoginFlowV2_PollBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder)? updates]) => + (CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreLoginFlowV2_Poll._({required this.token, required this.endpoint}) : super._() { - BuiltValueNullFieldError.checkNotNull(token, r'CoreLoginFlowV2_Poll', 'token'); - BuiltValueNullFieldError.checkNotNull(endpoint, r'CoreLoginFlowV2_Poll', 'endpoint'); + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson', 'ocs'); } @override - CoreLoginFlowV2_Poll rebuild(void Function(CoreLoginFlowV2_PollBuilder) updates) => + CoreCollaborationResourcesAddResourceResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreLoginFlowV2_PollBuilder toBuilder() => CoreLoginFlowV2_PollBuilder()..replace(this); + CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreLoginFlowV2_Poll && token == other.token && endpoint == other.endpoint; + return other is CoreCollaborationResourcesAddResourceResponse200ApplicationJson && 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'CoreLoginFlowV2_Poll') - ..add('token', token) - ..add('endpoint', endpoint)) + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class CoreLoginFlowV2_PollBuilder implements Builder { - _$CoreLoginFlowV2_Poll? _$v; - - String? _token; - String? get token => _$this._token; - set token(String? token) => _$this._token = token; +class CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson? _$v; - String? _endpoint; - String? get endpoint => _$this._endpoint; - set endpoint(String? endpoint) => _$this._endpoint = endpoint; + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreLoginFlowV2_PollBuilder(); + CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder(); - CoreLoginFlowV2_PollBuilder get _$this { + CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder 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(CoreLoginFlowV2_Poll other) { + void replace(CoreCollaborationResourcesAddResourceResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreLoginFlowV2_Poll; + _$v = other as _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson; } @override - void update(void Function(CoreLoginFlowV2_PollBuilder)? updates) { + void update(void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreLoginFlowV2_Poll build() => _build(); + CoreCollaborationResourcesAddResourceResponse200ApplicationJson build() => _build(); - _$CoreLoginFlowV2_Poll _build() { - final _$result = _$v ?? - _$CoreLoginFlowV2_Poll._( - token: BuiltValueNullFieldError.checkNotNull(token, r'CoreLoginFlowV2_Poll', 'token'), - endpoint: BuiltValueNullFieldError.checkNotNull(endpoint, r'CoreLoginFlowV2_Poll', 'endpoint')); + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreLoginFlowV2 extends CoreLoginFlowV2 { +class _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs { @override - final CoreLoginFlowV2_Poll poll; + final CoreOCSMeta meta; @override - final String login; + final CoreCollection data; - factory _$CoreLoginFlowV2([void Function(CoreLoginFlowV2Builder)? updates]) => - (CoreLoginFlowV2Builder()..update(updates))._build(); + factory _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreLoginFlowV2._({required this.poll, required this.login}) : super._() { - BuiltValueNullFieldError.checkNotNull(poll, r'CoreLoginFlowV2', 'poll'); - BuiltValueNullFieldError.checkNotNull(login, r'CoreLoginFlowV2', 'login'); + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs', 'data'); } @override - CoreLoginFlowV2 rebuild(void Function(CoreLoginFlowV2Builder) updates) => (toBuilder()..update(updates)).build(); + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - CoreLoginFlowV2Builder toBuilder() => CoreLoginFlowV2Builder()..replace(this); + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreLoginFlowV2 && poll == other.poll && login == other.login; + return other is CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, poll.hashCode); - _$hash = $jc(_$hash, login.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreLoginFlowV2') - ..add('poll', poll) - ..add('login', login)) + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreLoginFlowV2Builder implements Builder { - _$CoreLoginFlowV2? _$v; +class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs? _$v; - CoreLoginFlowV2_PollBuilder? _poll; - CoreLoginFlowV2_PollBuilder get poll => _$this._poll ??= CoreLoginFlowV2_PollBuilder(); - set poll(CoreLoginFlowV2_PollBuilder? poll) => _$this._poll = poll; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - String? _login; - String? get login => _$this._login; - set login(String? login) => _$this._login = login; + CoreCollectionBuilder? _data; + CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); + set data(CoreCollectionBuilder? data) => _$this._data = data; - CoreLoginFlowV2Builder(); + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder(); - CoreLoginFlowV2Builder get _$this { + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _poll = $v.poll.toBuilder(); - _login = $v.login; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreLoginFlowV2 other) { + void replace(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreLoginFlowV2; + _$v = other as _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreLoginFlowV2Builder)? updates) { + void update(void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreLoginFlowV2 build() => _build(); + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs build() => _build(); - _$CoreLoginFlowV2 _build() { - _$CoreLoginFlowV2 _$result; + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$CoreLoginFlowV2._( - poll: poll.build(), login: BuiltValueNullFieldError.checkNotNull(login, r'CoreLoginFlowV2', 'login')); + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'poll'; - poll.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreLoginFlowV2', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -8646,266 +10339,225 @@ class CoreLoginFlowV2Builder implements Builder - (CoreOpenGraphObject_OpenGraphObjectBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder)? updates]) => + (CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreOpenGraphObject_OpenGraphObject._( - {required this.id, required this.name, this.description, this.thumb, required this.link}) - : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'CoreOpenGraphObject_OpenGraphObject', 'id'); - BuiltValueNullFieldError.checkNotNull(name, r'CoreOpenGraphObject_OpenGraphObject', 'name'); - BuiltValueNullFieldError.checkNotNull(link, r'CoreOpenGraphObject_OpenGraphObject', 'link'); + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson', 'ocs'); } @override - CoreOpenGraphObject_OpenGraphObject rebuild(void Function(CoreOpenGraphObject_OpenGraphObjectBuilder) updates) => + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOpenGraphObject_OpenGraphObjectBuilder toBuilder() => CoreOpenGraphObject_OpenGraphObjectBuilder()..replace(this); + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOpenGraphObject_OpenGraphObject && - id == other.id && - name == other.name && - description == other.description && - thumb == other.thumb && - link == other.link; + return other is CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson && 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, thumb.hashCode); - _$hash = $jc(_$hash, link.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreOpenGraphObject_OpenGraphObject') - ..add('id', id) - ..add('name', name) - ..add('description', description) - ..add('thumb', thumb) - ..add('link', link)) + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson') + ..add('ocs', ocs)) .toString(); - } -} - -class CoreOpenGraphObject_OpenGraphObjectBuilder - implements Builder { - _$CoreOpenGraphObject_OpenGraphObject? _$v; - - String? _id; - String? get id => _$this._id; - set id(String? id) => _$this._id = id; - - String? _name; - String? get name => _$this._name; - set name(String? name) => _$this._name = name; - - String? _description; - String? get description => _$this._description; - set description(String? description) => _$this._description = description; + } +} - String? _thumb; - String? get thumb => _$this._thumb; - set thumb(String? thumb) => _$this._thumb = thumb; +class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson? _$v; - String? _link; - String? get link => _$this._link; - set link(String? link) => _$this._link = link; + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreOpenGraphObject_OpenGraphObjectBuilder(); + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder(); - CoreOpenGraphObject_OpenGraphObjectBuilder get _$this { + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _name = $v.name; - _description = $v.description; - _thumb = $v.thumb; - _link = $v.link; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreOpenGraphObject_OpenGraphObject other) { + void replace(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOpenGraphObject_OpenGraphObject; + _$v = other as _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson; } @override - void update(void Function(CoreOpenGraphObject_OpenGraphObjectBuilder)? updates) { + void update(void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOpenGraphObject_OpenGraphObject build() => _build(); + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson build() => _build(); - _$CoreOpenGraphObject_OpenGraphObject _build() { - final _$result = _$v ?? - _$CoreOpenGraphObject_OpenGraphObject._( - id: BuiltValueNullFieldError.checkNotNull(id, r'CoreOpenGraphObject_OpenGraphObject', 'id'), - name: BuiltValueNullFieldError.checkNotNull(name, r'CoreOpenGraphObject_OpenGraphObject', 'name'), - description: description, - thumb: thumb, - link: BuiltValueNullFieldError.checkNotNull(link, r'CoreOpenGraphObject_OpenGraphObject', 'link')); + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreOpenGraphObject extends CoreOpenGraphObject { - @override - final String richObjectType; - @override - final BuiltMap richObject; +class _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs { @override - final CoreOpenGraphObject_OpenGraphObject openGraphObject; + final CoreOCSMeta meta; @override - final bool accessible; + final BuiltList data; - factory _$CoreOpenGraphObject([void Function(CoreOpenGraphObjectBuilder)? updates]) => - (CoreOpenGraphObjectBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder)? + updates]) => + (CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder()..update(updates)) + ._build(); - _$CoreOpenGraphObject._( - {required this.richObjectType, required this.richObject, required this.openGraphObject, required this.accessible}) + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs._( + {required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(richObjectType, r'CoreOpenGraphObject', 'richObjectType'); - BuiltValueNullFieldError.checkNotNull(richObject, r'CoreOpenGraphObject', 'richObject'); - BuiltValueNullFieldError.checkNotNull(openGraphObject, r'CoreOpenGraphObject', 'openGraphObject'); - BuiltValueNullFieldError.checkNotNull(accessible, r'CoreOpenGraphObject', 'accessible'); + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs', 'data'); } @override - CoreOpenGraphObject rebuild(void Function(CoreOpenGraphObjectBuilder) updates) => + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreOpenGraphObjectBuilder toBuilder() => CoreOpenGraphObjectBuilder()..replace(this); + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOpenGraphObject && - richObjectType == other.richObjectType && - richObject == other.richObject && - openGraphObject == other.openGraphObject && - accessible == other.accessible; + return other is CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_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'CoreOpenGraphObject') - ..add('richObjectType', richObjectType) - ..add('richObject', richObject) - ..add('openGraphObject', openGraphObject) - ..add('accessible', accessible)) + return (newBuiltValueToStringHelper( + r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreOpenGraphObjectBuilder implements Builder { - _$CoreOpenGraphObject? _$v; - - String? _richObjectType; - String? get richObjectType => _$this._richObjectType; - set richObjectType(String? richObjectType) => _$this._richObjectType = richObjectType; - - MapBuilder? _richObject; - MapBuilder get richObject => _$this._richObject ??= MapBuilder(); - set richObject(MapBuilder? richObject) => _$this._richObject = richObject; +class CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs? _$v; - CoreOpenGraphObject_OpenGraphObjectBuilder? _openGraphObject; - CoreOpenGraphObject_OpenGraphObjectBuilder get openGraphObject => - _$this._openGraphObject ??= CoreOpenGraphObject_OpenGraphObjectBuilder(); - set openGraphObject(CoreOpenGraphObject_OpenGraphObjectBuilder? openGraphObject) => - _$this._openGraphObject = openGraphObject; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - bool? _accessible; - bool? get accessible => _$this._accessible; - set accessible(bool? accessible) => _$this._accessible = accessible; + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; - CoreOpenGraphObjectBuilder(); + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder(); - CoreOpenGraphObjectBuilder get _$this { + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_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(CoreOpenGraphObject other) { + void replace(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOpenGraphObject; + _$v = other as _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreOpenGraphObjectBuilder)? updates) { + void update( + void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOpenGraphObject build() => _build(); + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs build() => _build(); - _$CoreOpenGraphObject _build() { - _$CoreOpenGraphObject _$result; + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$CoreOpenGraphObject._( - richObjectType: - BuiltValueNullFieldError.checkNotNull(richObjectType, r'CoreOpenGraphObject', 'richObjectType'), - richObject: richObject.build(), - openGraphObject: openGraphObject.build(), - accessible: BuiltValueNullFieldError.checkNotNull(accessible, r'CoreOpenGraphObject', 'accessible')); + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_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'CoreOpenGraphObject', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -8914,112 +10566,105 @@ class CoreOpenGraphObjectBuilder implements Builder resources; + final CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs ocs; - factory _$CoreCollection([void Function(CoreCollectionBuilder)? updates]) => - (CoreCollectionBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder)? + updates]) => + (CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreCollection._({required this.id, required this.name, required this.resources}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'CoreCollection', 'id'); - BuiltValueNullFieldError.checkNotNull(name, r'CoreCollection', 'name'); - BuiltValueNullFieldError.checkNotNull(resources, r'CoreCollection', 'resources'); + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson', 'ocs'); } @override - CoreCollection rebuild(void Function(CoreCollectionBuilder) updates) => (toBuilder()..update(updates)).build(); + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - CoreCollectionBuilder toBuilder() => CoreCollectionBuilder()..replace(this); + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollection && id == other.id && name == other.name && resources == other.resources; + return other is CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson && 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'CoreCollection') - ..add('id', id) - ..add('name', name) - ..add('resources', resources)) + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class CoreCollectionBuilder implements Builder { - _$CoreCollection? _$v; - - int? _id; - int? get id => _$this._id; - set id(int? id) => _$this._id = id; - - String? _name; - String? get name => _$this._name; - set name(String? name) => _$this._name = name; +class CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson? _$v; - ListBuilder? _resources; - ListBuilder get resources => _$this._resources ??= ListBuilder(); - set resources(ListBuilder? resources) => _$this._resources = resources; + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; - CoreCollectionBuilder(); + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder(); - CoreCollectionBuilder get _$this { + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder 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(CoreCollection other) { + void replace(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollection; + _$v = other as _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson; } @override - void update(void Function(CoreCollectionBuilder)? updates) { + void update( + void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollection build() => _build(); + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson build() => _build(); - _$CoreCollection _build() { - _$CoreCollection _$result; + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson _$result; try { - _$result = _$v ?? - _$CoreCollection._( - id: BuiltValueNullFieldError.checkNotNull(id, r'CoreCollection', 'id'), - name: BuiltValueNullFieldError.checkNotNull(name, r'CoreCollection', 'name'), - resources: resources.build()); + _$result = + _$v ?? _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'resources'; - resources.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreCollection', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -9028,39 +10673,42 @@ class CoreCollectionBuilder implements Builder data; + final CoreCollection data; - factory _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs( - [void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder)? + updates]) => + (CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder()..update(updates)) + ._build(); - _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs._( + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs._( {required this.meta, required this.data}) : super._() { BuiltValueNullFieldError.checkNotNull( - meta, r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs', 'meta'); + meta, r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs', 'meta'); BuiltValueNullFieldError.checkNotNull( - data, r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs', 'data'); + data, r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs', 'data'); } @override - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs rebuild( - void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder) updates) => + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs && + return other is CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @@ -9076,30 +10724,31 @@ class _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Oc @override String toString() { - return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs') + return (newBuiltValueToStringHelper( + r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder +class CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs? _$v; CoreOCSMetaBuilder? _meta; CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; + CoreCollectionBuilder? _data; + CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); + set data(CoreCollectionBuilder? data) => _$this._data = data; - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder(); + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder(); - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder get _$this { + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -9110,25 +10759,26 @@ class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsB } @override - void replace(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs other) { + void replace(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs; + _$v = other as _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs; } @override void update( - void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder)? updates) { + void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs build() => _build(); + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs build() => _build(); - _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs _build() { - _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs _$result; + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs._( + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs._( meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; @@ -9139,7 +10789,9 @@ class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsB data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -9148,33 +10800,36 @@ class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsB } } -class _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson - extends CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson { +class _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson + extends CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson { @override - final CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs ocs; + final CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs ocs; - factory _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson( - [void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder)? updates]) => - (CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder)? + updates]) => + (CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder()..update(updates)) + ._build(); - _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson._({required this.ocs}) : super._() { + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson._({required this.ocs}) : super._() { BuiltValueNullFieldError.checkNotNull( - ocs, r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson', 'ocs'); + ocs, r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson', 'ocs'); } @override - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson rebuild( - void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder) updates) => + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder toBuilder() => - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder()..replace(this); + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson && ocs == other.ocs; + return other is CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson && ocs == other.ocs; } @override @@ -9187,26 +10842,28 @@ class _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson @override String toString() { - return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson') + return (newBuiltValueToStringHelper( + r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson') ..add('ocs', ocs)) .toString(); } } -class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder +class CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder implements - Builder { - _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson? _$v; + Builder { + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson? _$v; - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder? _ocs; - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder(); + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder(); - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder get _$this { + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -9216,23 +10873,25 @@ class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuild } @override - void replace(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson other) { + void replace(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson; + _$v = other as _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson; } @override - void update(void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder)? updates) { + void update( + void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson build() => _build(); + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson build() => _build(); - _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson _build() { - _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson _$result; + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson._(ocs: ocs.build()); + _$result = + _$v ?? _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -9240,7 +10899,9 @@ class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuild ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -9249,217 +10910,249 @@ class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuild } } -class _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs - extends CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs { +class _$CoreContactsAction extends CoreContactsAction { @override - final CoreOCSMeta meta; + final String title; @override - final CoreCollection data; + final String icon; + @override + final String hyperlink; + @override + final String appId; - factory _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs( - [void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreContactsAction([void Function(CoreContactsActionBuilder)? updates]) => + (CoreContactsActionBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + _$CoreContactsAction._({required this.title, required this.icon, required this.hyperlink, required this.appId}) : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs', 'data'); + BuiltValueNullFieldError.checkNotNull(title, r'CoreContactsAction', 'title'); + BuiltValueNullFieldError.checkNotNull(icon, r'CoreContactsAction', 'icon'); + BuiltValueNullFieldError.checkNotNull(hyperlink, r'CoreContactsAction', 'hyperlink'); + BuiltValueNullFieldError.checkNotNull(appId, r'CoreContactsAction', 'appId'); } @override - CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs rebuild( - void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder) updates) => + CoreContactsAction rebuild(void Function(CoreContactsActionBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreContactsActionBuilder toBuilder() => CoreContactsActionBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreContactsAction && + title == other.title && + icon == other.icon && + hyperlink == other.hyperlink && + appId == other.appId; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.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'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreContactsAction') + ..add('title', title) + ..add('icon', icon) + ..add('hyperlink', hyperlink) + ..add('appId', appId)) .toString(); } } -class CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder - implements - Builder { - _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs? _$v; +class CoreContactsActionBuilder implements Builder { + _$CoreContactsAction? _$v; - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + String? _title; + String? get title => _$this._title; + set title(String? title) => _$this._title = title; - CoreCollectionBuilder? _data; - CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); - set data(CoreCollectionBuilder? data) => _$this._data = data; + String? _icon; + String? get icon => _$this._icon; + set icon(String? icon) => _$this._icon = icon; + + String? _hyperlink; + String? get hyperlink => _$this._hyperlink; + set hyperlink(String? hyperlink) => _$this._hyperlink = hyperlink; - CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder(); + String? _appId; + String? get appId => _$this._appId; + set appId(String? appId) => _$this._appId = appId; - CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder get _$this { + CoreContactsActionBuilder(); + + CoreContactsActionBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _title = $v.title; + _icon = $v.icon; + _hyperlink = $v.hyperlink; + _appId = $v.appId; _$v = null; } return this; } @override - void replace(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs other) { + void replace(CoreContactsAction other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs; + _$v = other as _$CoreContactsAction; } @override - void update(void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreContactsActionBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs build() => _build(); + CoreContactsAction build() => _build(); - _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs _build() { - _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs._( - meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$CoreContactsAction _build() { + final _$result = _$v ?? + _$CoreContactsAction._( + title: BuiltValueNullFieldError.checkNotNull(title, r'CoreContactsAction', 'title'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreContactsAction', 'icon'), + hyperlink: BuiltValueNullFieldError.checkNotNull(hyperlink, r'CoreContactsAction', 'hyperlink'), + appId: BuiltValueNullFieldError.checkNotNull(appId, r'CoreContactsAction', 'appId')); replace(_$result); return _$result; } } -class _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson - extends CoreCollaborationResourcesListCollectionResponse200ApplicationJson { +class _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data + extends CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data { @override - final CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs ocs; + final String userId; + @override + final String displayName; + @override + final BuiltList actions; - factory _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson( - [void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder)? updates]) => - (CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data( + [void Function(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson._({required this.ocs}) : super._() { + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data._( + {required this.userId, required this.displayName, required this.actions}) + : super._() { + BuiltValueNullFieldError.checkNotNull(userId, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'userId'); BuiltValueNullFieldError.checkNotNull( - ocs, r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson', 'ocs'); + displayName, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'displayName'); + BuiltValueNullFieldError.checkNotNull( + actions, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'actions'); } @override - CoreCollaborationResourcesListCollectionResponse200ApplicationJson rebuild( - void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder) updates) => + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder toBuilder() => - CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder()..replace(this); + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesListCollectionResponse200ApplicationJson && ocs == other.ocs; + return other is CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data && + userId == other.userId && + displayName == other.displayName && + actions == other.actions; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.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'CoreCollaborationResourcesListCollectionResponse200ApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data') + ..add('userId', userId) + ..add('displayName', displayName) + ..add('actions', actions)) .toString(); } } -class CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder +class CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder implements - Builder { - _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson? _$v; + Builder { + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data? _$v; - CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder? _ocs; - CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + String? _userId; + String? get userId => _$this._userId; + set userId(String? userId) => _$this._userId = userId; - CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder(); + String? _displayName; + String? get displayName => _$this._displayName; + set displayName(String? displayName) => _$this._displayName = displayName; - CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder get _$this { + ListBuilder? _actions; + ListBuilder get actions => _$this._actions ??= ListBuilder(); + set actions(ListBuilder? actions) => _$this._actions = actions; + + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder(); + + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _userId = $v.userId; + _displayName = $v.displayName; + _actions = $v.actions.toBuilder(); _$v = null; } return this; } @override - void replace(CoreCollaborationResourcesListCollectionResponse200ApplicationJson other) { + void replace(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson; + _$v = other as _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesListCollectionResponse200ApplicationJson build() => _build(); + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson _build() { - _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson _$result; + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data _build() { + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data._( + userId: BuiltValueNullFieldError.checkNotNull( + userId, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'userId'), + displayName: BuiltValueNullFieldError.checkNotNull( + displayName, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'displayName'), + actions: actions.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'actions'; + actions.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -9468,40 +11161,34 @@ class CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder } } -class _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs - extends CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs { +class _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs extends CoreHoverCardGetUserResponse200ApplicationJson_Ocs { @override final CoreOCSMeta meta; @override - final CoreCollection data; + final CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data data; - factory _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs( - [void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs( + [void Function(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs', 'data'); + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs', 'data'); } @override - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs rebuild( - void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder) updates) => + CoreHoverCardGetUserResponse200ApplicationJson_Ocs rebuild( + void Function(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreHoverCardGetUserResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @override @@ -9515,30 +11202,31 @@ class _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder +class CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs? _$v; CoreOCSMetaBuilder? _meta; CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreCollectionBuilder? _data; - CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); - set data(CoreCollectionBuilder? data) => _$this._data = data; + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder(); + CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder(); - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder get _$this { + CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -9549,25 +11237,23 @@ class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBu } @override - void replace(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs other) { + void replace(CoreHoverCardGetUserResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs; + _$v = other as _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs build() => _build(); + CoreHoverCardGetUserResponse200ApplicationJson_Ocs build() => _build(); - _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs _build() { - _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs _$result; + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs _build() { + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? - _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs._( - meta: meta.build(), data: data.build()); + _$result = _$v ?? _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -9577,7 +11263,7 @@ class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBu data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -9586,33 +11272,31 @@ class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBu } } -class _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson - extends CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson { +class _$CoreHoverCardGetUserResponse200ApplicationJson extends CoreHoverCardGetUserResponse200ApplicationJson { @override - final CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs ocs; + final CoreHoverCardGetUserResponse200ApplicationJson_Ocs ocs; - factory _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson( - [void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder)? updates]) => - (CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreHoverCardGetUserResponse200ApplicationJson( + [void Function(CoreHoverCardGetUserResponse200ApplicationJsonBuilder)? updates]) => + (CoreHoverCardGetUserResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull( - ocs, r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson', 'ocs'); + _$CoreHoverCardGetUserResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreHoverCardGetUserResponse200ApplicationJson', 'ocs'); } @override - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson rebuild( - void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder) updates) => + CoreHoverCardGetUserResponse200ApplicationJson rebuild( + void Function(CoreHoverCardGetUserResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder toBuilder() => - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder()..replace(this); + CoreHoverCardGetUserResponse200ApplicationJsonBuilder toBuilder() => + CoreHoverCardGetUserResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson && ocs == other.ocs; + return other is CoreHoverCardGetUserResponse200ApplicationJson && ocs == other.ocs; } @override @@ -9623,28 +11307,25 @@ class _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson return _$hash; } - @override - String toString() { - return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson') - ..add('ocs', ocs)) - .toString(); + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreHoverCardGetUserResponse200ApplicationJson')..add('ocs', ocs)).toString(); } } -class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder +class CoreHoverCardGetUserResponse200ApplicationJsonBuilder implements - Builder { - _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson? _$v; + Builder { + _$CoreHoverCardGetUserResponse200ApplicationJson? _$v; - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder? _ocs; - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder? _ocs; + CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder(); + CoreHoverCardGetUserResponse200ApplicationJsonBuilder(); - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder get _$this { + CoreHoverCardGetUserResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -9654,23 +11335,23 @@ class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilde } @override - void replace(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson other) { + void replace(CoreHoverCardGetUserResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson; + _$v = other as _$CoreHoverCardGetUserResponse200ApplicationJson; } @override - void update(void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreHoverCardGetUserResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson build() => _build(); + CoreHoverCardGetUserResponse200ApplicationJson build() => _build(); - _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson _build() { - _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson _$result; + _$CoreHoverCardGetUserResponse200ApplicationJson _build() { + _$CoreHoverCardGetUserResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CoreHoverCardGetUserResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -9678,7 +11359,7 @@ class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilde ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreHoverCardGetUserResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -9687,217 +11368,299 @@ class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilde } } -class _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs - extends CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs { +class _$CoreNavigationEntry_Order extends CoreNavigationEntry_Order { @override - final CoreOCSMeta meta; + final JsonObject data; @override - final CoreCollection data; + final int? $int; + @override + final String? string; - factory _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs( - [void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreNavigationEntry_Order([void Function(CoreNavigationEntry_OrderBuilder)? updates]) => + (CoreNavigationEntry_OrderBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs', 'data'); + _$CoreNavigationEntry_Order._({required this.data, this.$int, this.string}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'CoreNavigationEntry_Order', 'data'); } @override - CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs rebuild( - void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder) updates) => + CoreNavigationEntry_Order rebuild(void Function(CoreNavigationEntry_OrderBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreNavigationEntry_OrderBuilder toBuilder() => CoreNavigationEntry_OrderBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreNavigationEntry_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'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreNavigationEntry_Order') + ..add('data', data) + ..add('\$int', $int) + ..add('string', string)) .toString(); } } -class CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder - implements - Builder { - _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs? _$v; +class CoreNavigationEntry_OrderBuilder implements Builder { + _$CoreNavigationEntry_Order? _$v; - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; - CoreCollectionBuilder? _data; - CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); - set data(CoreCollectionBuilder? data) => _$this._data = data; + int? _$int; + int? get $int => _$this._$int; + set $int(int? $int) => _$this._$int = $int; - CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder(); + String? _string; + String? get string => _$this._string; + set string(String? string) => _$this._string = string; - CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder get _$this { + CoreNavigationEntry_OrderBuilder(); + + CoreNavigationEntry_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(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs other) { + void replace(CoreNavigationEntry_Order other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs; + _$v = other as _$CoreNavigationEntry_Order; } @override - void update(void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreNavigationEntry_OrderBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs build() => _build(); + CoreNavigationEntry_Order build() => _build(); - _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs _build() { - _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs._( - meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$CoreNavigationEntry_Order _build() { + final _$result = _$v ?? + _$CoreNavigationEntry_Order._( + data: BuiltValueNullFieldError.checkNotNull(data, r'CoreNavigationEntry_Order', 'data'), + $int: $int, + string: string); replace(_$result); return _$result; } } -class _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson - extends CoreCollaborationResourcesAddResourceResponse200ApplicationJson { +class _$CoreNavigationEntry extends CoreNavigationEntry { @override - final CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs ocs; + final String id; + @override + final CoreNavigationEntry_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 _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson( - [void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder)? updates]) => - (CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreNavigationEntry([void Function(CoreNavigationEntryBuilder)? updates]) => + (CoreNavigationEntryBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull( - ocs, r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson', 'ocs'); + _$CoreNavigationEntry._( + {required this.id, + required this.order, + required this.href, + required this.icon, + required this.type, + required this.name, + required this.active, + required this.classes, + required this.unread}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'CoreNavigationEntry', 'id'); + BuiltValueNullFieldError.checkNotNull(order, r'CoreNavigationEntry', 'order'); + BuiltValueNullFieldError.checkNotNull(href, r'CoreNavigationEntry', 'href'); + BuiltValueNullFieldError.checkNotNull(icon, r'CoreNavigationEntry', 'icon'); + BuiltValueNullFieldError.checkNotNull(type, r'CoreNavigationEntry', 'type'); + BuiltValueNullFieldError.checkNotNull(name, r'CoreNavigationEntry', 'name'); + BuiltValueNullFieldError.checkNotNull(active, r'CoreNavigationEntry', 'active'); + BuiltValueNullFieldError.checkNotNull(classes, r'CoreNavigationEntry', 'classes'); + BuiltValueNullFieldError.checkNotNull(unread, r'CoreNavigationEntry', 'unread'); } @override - CoreCollaborationResourcesAddResourceResponse200ApplicationJson rebuild( - void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder) updates) => + CoreNavigationEntry rebuild(void Function(CoreNavigationEntryBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder toBuilder() => - CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder()..replace(this); + CoreNavigationEntryBuilder toBuilder() => CoreNavigationEntryBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesAddResourceResponse200ApplicationJson && ocs == other.ocs; + return other is CoreNavigationEntry && + id == other.id && + order == other.order && + href == other.href && + icon == other.icon && + type == other.type && + name == other.name && + active == other.active && + classes == other.classes && + unread == other.unread; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, 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'CoreCollaborationResourcesAddResourceResponse200ApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreNavigationEntry') + ..add('id', id) + ..add('order', order) + ..add('href', href) + ..add('icon', icon) + ..add('type', type) + ..add('name', name) + ..add('active', active) + ..add('classes', classes) + ..add('unread', unread)) .toString(); } } -class CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder - implements - Builder { - _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson? _$v; +class CoreNavigationEntryBuilder implements Builder { + _$CoreNavigationEntry? _$v; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + CoreNavigationEntry_OrderBuilder? _order; + CoreNavigationEntry_OrderBuilder get order => _$this._order ??= CoreNavigationEntry_OrderBuilder(); + set order(CoreNavigationEntry_OrderBuilder? order) => _$this._order = order; + + String? _href; + String? get href => _$this._href; + set href(String? href) => _$this._href = href; + + String? _icon; + String? get icon => _$this._icon; + set icon(String? icon) => _$this._icon = icon; + + String? _type; + String? get type => _$this._type; + set type(String? type) => _$this._type = type; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; - CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder? _ocs; - CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + bool? _active; + bool? get active => _$this._active; + set active(bool? active) => _$this._active = active; - CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder(); + String? _classes; + String? get classes => _$this._classes; + set classes(String? classes) => _$this._classes = classes; - CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder get _$this { + int? _unread; + int? get unread => _$this._unread; + set unread(int? unread) => _$this._unread = unread; + + CoreNavigationEntryBuilder(); + + CoreNavigationEntryBuilder 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(CoreCollaborationResourcesAddResourceResponse200ApplicationJson other) { + void replace(CoreNavigationEntry other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson; + _$v = other as _$CoreNavigationEntry; } @override - void update(void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreNavigationEntryBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesAddResourceResponse200ApplicationJson build() => _build(); + CoreNavigationEntry build() => _build(); - _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson _build() { - _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson _$result; + _$CoreNavigationEntry _build() { + _$CoreNavigationEntry _$result; try { - _$result = _$v ?? _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$CoreNavigationEntry._( + id: BuiltValueNullFieldError.checkNotNull(id, r'CoreNavigationEntry', 'id'), + order: order.build(), + href: BuiltValueNullFieldError.checkNotNull(href, r'CoreNavigationEntry', 'href'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreNavigationEntry', 'icon'), + type: BuiltValueNullFieldError.checkNotNull(type, r'CoreNavigationEntry', 'type'), + name: BuiltValueNullFieldError.checkNotNull(name, r'CoreNavigationEntry', 'name'), + active: BuiltValueNullFieldError.checkNotNull(active, r'CoreNavigationEntry', 'active'), + classes: BuiltValueNullFieldError.checkNotNull(classes, r'CoreNavigationEntry', 'classes'), + unread: BuiltValueNullFieldError.checkNotNull(unread, r'CoreNavigationEntry', 'unread')); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'order'; + order.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'CoreNavigationEntry', _$failedField, e.toString()); } rethrow; } @@ -9906,38 +11669,38 @@ class CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder } } -class _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs - extends CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs { +class _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs + extends CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs { @override final CoreOCSMeta meta; @override - final CoreCollection data; + final BuiltList data; - factory _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs( - [void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs( + [void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { BuiltValueNullFieldError.checkNotNull( - meta, r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs', 'meta'); + meta, r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs', 'meta'); BuiltValueNullFieldError.checkNotNull( - data, r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs', 'data'); + data, r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs', 'data'); } @override - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs rebuild( - void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder) updates) => + CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs rebuild( + void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs && + return other is CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @@ -9953,30 +11716,30 @@ class _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder +class CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs? _$v; CoreOCSMetaBuilder? _meta; CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreCollectionBuilder? _data; - CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); - set data(CoreCollectionBuilder? data) => _$this._data = data; + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder(); + CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder(); - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder get _$this { + CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -9987,25 +11750,24 @@ class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuil } @override - void replace(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs other) { + void replace(CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs; + _$v = other as _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs build() => _build(); + CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs build() => _build(); - _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs _build() { - _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs _$result; + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs _build() { + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs._( - meta: meta.build(), data: data.build()); + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -10015,7 +11777,7 @@ class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuil data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -10024,33 +11786,32 @@ class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuil } } -class _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson - extends CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson { +class _$CoreNavigationGetAppsNavigationResponse200ApplicationJson + extends CoreNavigationGetAppsNavigationResponse200ApplicationJson { @override - final CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs ocs; + final CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs ocs; - factory _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson( - [void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder)? updates]) => - (CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreNavigationGetAppsNavigationResponse200ApplicationJson( + [void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder)? updates]) => + (CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull( - ocs, r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson', 'ocs'); + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreNavigationGetAppsNavigationResponse200ApplicationJson', 'ocs'); } @override - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson rebuild( - void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder) updates) => + CoreNavigationGetAppsNavigationResponse200ApplicationJson rebuild( + void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder toBuilder() => - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder()..replace(this); + CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder toBuilder() => + CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson && ocs == other.ocs; + return other is CoreNavigationGetAppsNavigationResponse200ApplicationJson && ocs == other.ocs; } @override @@ -10063,26 +11824,25 @@ class _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson @override String toString() { - return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreNavigationGetAppsNavigationResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder +class CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder implements - Builder { - _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson? _$v; + Builder { + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson? _$v; - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder? _ocs; - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder? _ocs; + CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder(); + CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder(); - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder get _$this { + CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -10092,23 +11852,23 @@ class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder } @override - void replace(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson other) { + void replace(CoreNavigationGetAppsNavigationResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson; + _$v = other as _$CoreNavigationGetAppsNavigationResponse200ApplicationJson; } @override - void update(void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson build() => _build(); + CoreNavigationGetAppsNavigationResponse200ApplicationJson build() => _build(); - _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson _build() { - _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson _$result; + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson _build() { + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CoreNavigationGetAppsNavigationResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -10116,7 +11876,7 @@ class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreNavigationGetAppsNavigationResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -10125,42 +11885,38 @@ class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder } } -class _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs - extends CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs { +class _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs + extends CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs { @override final CoreOCSMeta meta; @override - final BuiltList data; + final BuiltList data; - factory _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs( - [void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder)? - updates]) => - (CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder()..update(updates)) - ._build(); + factory _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs( + [void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs._( - {required this.meta, required this.data}) + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { BuiltValueNullFieldError.checkNotNull( - meta, r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs', 'meta'); + meta, r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs', 'meta'); BuiltValueNullFieldError.checkNotNull( - data, r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs', 'data'); + data, r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs', 'data'); } @override - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs rebuild( - void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder) - updates) => + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs rebuild( + void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs && + return other is CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @@ -10176,31 +11932,30 @@ class _$CoreCollaborationResourcesGetCollectionsByResourceResponse200Application @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder +class CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs? _$v; CoreOCSMetaBuilder? _meta; CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder(); + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder(); - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder get _$this { + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -10211,26 +11966,24 @@ class CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJs } @override - void replace(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs other) { + void replace(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs; + _$v = other as _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs; } @override - void update( - void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs build() => _build(); + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs build() => _build(); - _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs _build() { - _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs _$result; + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs _build() { + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs._( - meta: meta.build(), data: data.build()); + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -10240,9 +11993,7 @@ class CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJs data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs', - _$failedField, - e.toString()); + r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -10251,34 +12002,32 @@ class CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJs } } -class _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson - extends CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson { +class _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson + extends CoreNavigationGetSettingsNavigationResponse200ApplicationJson { @override - final CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs ocs; + final CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs ocs; - factory _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson( - [void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder)? - updates]) => - (CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson( + [void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder)? updates]) => + (CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull( - ocs, r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson', 'ocs'); + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson', 'ocs'); } @override - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson rebuild( - void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder) updates) => + CoreNavigationGetSettingsNavigationResponse200ApplicationJson rebuild( + void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder toBuilder() => - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder()..replace(this); + CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder toBuilder() => + CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson && ocs == other.ocs; + return other is CoreNavigationGetSettingsNavigationResponse200ApplicationJson && ocs == other.ocs; } @override @@ -10291,27 +12040,26 @@ class _$CoreCollaborationResourcesGetCollectionsByResourceResponse200Application @override String toString() { - return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson') + return (newBuiltValueToStringHelper(r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson') ..add('ocs', ocs)) .toString(); } } -class CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder +class CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder implements - Builder { - _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson? _$v; + Builder { + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson? _$v; - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder? _ocs; - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder? ocs) => - _$this._ocs = ocs; + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder? _ocs; + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder(); + CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder(); - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder get _$this { + CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -10321,25 +12069,23 @@ class CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJs } @override - void replace(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson other) { + void replace(CoreNavigationGetSettingsNavigationResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson; + _$v = other as _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson; } @override - void update( - void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson build() => _build(); + CoreNavigationGetSettingsNavigationResponse200ApplicationJson build() => _build(); - _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson _build() { - _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson _$result; + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson _build() { + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson _$result; try { - _$result = - _$v ?? _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -10347,9 +12093,7 @@ class CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJs ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson', - _$failedField, - e.toString()); + r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -10358,693 +12102,833 @@ class CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJs } } -class _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs - extends CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version { @override - final CoreOCSMeta meta; + final int major; @override - final CoreCollection data; + final int minor; + @override + final int micro; + @override + final String string; + @override + final String edition; + @override + final bool extendedSupport; - factory _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs( - [void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder)? - updates]) => - (CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder()..update(updates)) - ._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version( + [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder)? updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs._( - {required this.meta, required this.data}) + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version._( + {required this.major, + required this.minor, + required this.micro, + required this.string, + required this.edition, + required this.extendedSupport}) : super._() { BuiltValueNullFieldError.checkNotNull( - meta, r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs', 'meta'); + major, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'major'); BuiltValueNullFieldError.checkNotNull( - data, r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs', 'data'); + minor, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'minor'); + BuiltValueNullFieldError.checkNotNull( + micro, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'micro'); + BuiltValueNullFieldError.checkNotNull( + string, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'string'); + BuiltValueNullFieldError.checkNotNull( + edition, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'edition'); + BuiltValueNullFieldError.checkNotNull( + extendedSupport, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'extendedSupport'); } @override - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs rebuild( - void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder) - updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version rebuild( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version && + major == other.major && + minor == other.minor && + micro == other.micro && + string == other.string && + edition == other.edition && + extendedSupport == other.extendedSupport; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, 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'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version') + ..add('major', major) + ..add('minor', minor) + ..add('micro', micro) + ..add('string', string) + ..add('edition', edition) + ..add('extendedSupport', extendedSupport)) .toString(); } } -class CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder implements - Builder { - _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version? _$v; - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + int? _major; + int? get major => _$this._major; + set major(int? major) => _$this._major = major; - CoreCollectionBuilder? _data; - CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); - set data(CoreCollectionBuilder? data) => _$this._data = data; + int? _minor; + int? get minor => _$this._minor; + set minor(int? minor) => _$this._minor = minor; - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder(); + int? _micro; + int? get micro => _$this._micro; + set micro(int? micro) => _$this._micro = micro; - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder get _$this { - final $v = _$v; - if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); - _$v = null; - } - return this; - } + String? _string; + String? get string => _$this._string; + set string(String? string) => _$this._string = string; - @override - void replace(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs other) { - ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs; - } + String? _edition; + String? get edition => _$this._edition; + set edition(String? edition) => _$this._edition = edition; - @override - void update( - void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder)? - updates) { - if (updates != null) updates(this); - } + bool? _extendedSupport; + bool? get extendedSupport => _$this._extendedSupport; + set extendedSupport(bool? extendedSupport) => _$this._extendedSupport = extendedSupport; - @override - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder(); - _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs _build() { - _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs._( - meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs', - _$failedField, - e.toString()); - } - rethrow; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder 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; + _$v = null; } + return this; + } + + @override + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version; + } + + @override + void update(void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version build() => _build(); + + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version _build() { + final _$result = _$v ?? + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version._( + major: BuiltValueNullFieldError.checkNotNull( + major, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'major'), + minor: BuiltValueNullFieldError.checkNotNull( + minor, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'minor'), + micro: BuiltValueNullFieldError.checkNotNull( + micro, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'micro'), + string: BuiltValueNullFieldError.checkNotNull( + string, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'string'), + edition: BuiltValueNullFieldError.checkNotNull( + edition, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'edition'), + extendedSupport: BuiltValueNullFieldError.checkNotNull(extendedSupport, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'extendedSupport')); replace(_$result); return _$result; } } -class _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson - extends CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson { +class _$CoreFilesSharingCapabilities_FilesSharing_Public_Password + extends CoreFilesSharingCapabilities_FilesSharing_Public_Password { @override - final CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs ocs; + final bool enforced; + @override + final bool askForOptionalPassword; - factory _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson( - [void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder)? - updates]) => - (CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder()..update(updates)) - ._build(); + factory _$CoreFilesSharingCapabilities_FilesSharing_Public_Password( + [void Function(CoreFilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? updates]) => + (CoreFilesSharingCapabilities_FilesSharing_Public_PasswordBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson._({required this.ocs}) : super._() { + _$CoreFilesSharingCapabilities_FilesSharing_Public_Password._( + {required this.enforced, required this.askForOptionalPassword}) + : super._() { BuiltValueNullFieldError.checkNotNull( - ocs, r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson', 'ocs'); + enforced, r'CoreFilesSharingCapabilities_FilesSharing_Public_Password', 'enforced'); + BuiltValueNullFieldError.checkNotNull( + askForOptionalPassword, r'CoreFilesSharingCapabilities_FilesSharing_Public_Password', 'askForOptionalPassword'); } @override - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson rebuild( - void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder) - updates) => + CoreFilesSharingCapabilities_FilesSharing_Public_Password rebuild( + void Function(CoreFilesSharingCapabilities_FilesSharing_Public_PasswordBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder toBuilder() => - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder()..replace(this); + CoreFilesSharingCapabilities_FilesSharing_Public_PasswordBuilder toBuilder() => + CoreFilesSharingCapabilities_FilesSharing_Public_PasswordBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson && ocs == other.ocs; + return other is CoreFilesSharingCapabilities_FilesSharing_Public_Password && + enforced == other.enforced && + askForOptionalPassword == other.askForOptionalPassword; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, askForOptionalPassword.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreFilesSharingCapabilities_FilesSharing_Public_Password') + ..add('enforced', enforced) + ..add('askForOptionalPassword', askForOptionalPassword)) .toString(); } } -class CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder +class CoreFilesSharingCapabilities_FilesSharing_Public_PasswordBuilder implements - Builder { - _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson? _$v; + Builder { + _$CoreFilesSharingCapabilities_FilesSharing_Public_Password? _$v; - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder? _ocs; - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder? ocs) => - _$this._ocs = ocs; + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(bool? enforced) => _$this._enforced = enforced; - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder(); + bool? _askForOptionalPassword; + bool? get askForOptionalPassword => _$this._askForOptionalPassword; + set askForOptionalPassword(bool? askForOptionalPassword) => _$this._askForOptionalPassword = askForOptionalPassword; - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder get _$this { + CoreFilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); + + CoreFilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _enforced = $v.enforced; + _askForOptionalPassword = $v.askForOptionalPassword; _$v = null; } return this; } @override - void replace(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson other) { + void replace(CoreFilesSharingCapabilities_FilesSharing_Public_Password other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson; + _$v = other as _$CoreFilesSharingCapabilities_FilesSharing_Public_Password; } @override - void update( - void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreFilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson build() => _build(); + CoreFilesSharingCapabilities_FilesSharing_Public_Password build() => _build(); - _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson _build() { - _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson _$result; - try { - _$result = - _$v ?? _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson', - _$failedField, - e.toString()); - } - rethrow; - } + _$CoreFilesSharingCapabilities_FilesSharing_Public_Password _build() { + final _$result = _$v ?? + _$CoreFilesSharingCapabilities_FilesSharing_Public_Password._( + enforced: BuiltValueNullFieldError.checkNotNull( + enforced, r'CoreFilesSharingCapabilities_FilesSharing_Public_Password', 'enforced'), + askForOptionalPassword: BuiltValueNullFieldError.checkNotNull(askForOptionalPassword, + r'CoreFilesSharingCapabilities_FilesSharing_Public_Password', 'askForOptionalPassword')); replace(_$result); return _$result; } } -class _$CoreContactsAction extends CoreContactsAction { - @override - final String title; +class _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate + extends CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate { @override - final String icon; + final bool enabled; @override - final String hyperlink; + final int? days; @override - final String appId; + final bool? enforced; - factory _$CoreContactsAction([void Function(CoreContactsActionBuilder)? updates]) => - (CoreContactsActionBuilder()..update(updates))._build(); + factory _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate( + [void Function(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? updates]) => + (CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder()..update(updates))._build(); - _$CoreContactsAction._({required this.title, required this.icon, required this.hyperlink, required this.appId}) + _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate._({required this.enabled, this.days, this.enforced}) : super._() { - BuiltValueNullFieldError.checkNotNull(title, r'CoreContactsAction', 'title'); - BuiltValueNullFieldError.checkNotNull(icon, r'CoreContactsAction', 'icon'); - BuiltValueNullFieldError.checkNotNull(hyperlink, r'CoreContactsAction', 'hyperlink'); - BuiltValueNullFieldError.checkNotNull(appId, r'CoreContactsAction', 'appId'); + BuiltValueNullFieldError.checkNotNull( + enabled, r'CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate', 'enabled'); } @override - CoreContactsAction rebuild(void Function(CoreContactsActionBuilder) updates) => + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate rebuild( + void Function(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreContactsActionBuilder toBuilder() => CoreContactsActionBuilder()..replace(this); + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder toBuilder() => + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreContactsAction && - title == other.title && - icon == other.icon && - hyperlink == other.hyperlink && - appId == other.appId; + return other is CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate && + enabled == other.enabled && + days == other.days && + enforced == other.enforced; } @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, enabled.hashCode); + _$hash = $jc(_$hash, days.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreContactsAction') - ..add('title', title) - ..add('icon', icon) - ..add('hyperlink', hyperlink) - ..add('appId', appId)) + return (newBuiltValueToStringHelper(r'CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate') + ..add('enabled', enabled) + ..add('days', days) + ..add('enforced', enforced)) .toString(); } } -class CoreContactsActionBuilder implements Builder { - _$CoreContactsAction? _$v; - - String? _title; - String? get title => _$this._title; - set title(String? title) => _$this._title = title; +class CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder + implements + Builder { + _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate? _$v; - String? _icon; - String? get icon => _$this._icon; - set icon(String? icon) => _$this._icon = icon; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - String? _hyperlink; - String? get hyperlink => _$this._hyperlink; - set hyperlink(String? hyperlink) => _$this._hyperlink = hyperlink; + int? _days; + int? get days => _$this._days; + set days(int? days) => _$this._days = days; - String? _appId; - String? get appId => _$this._appId; - set appId(String? appId) => _$this._appId = appId; + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(bool? enforced) => _$this._enforced = enforced; - CoreContactsActionBuilder(); + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); - CoreContactsActionBuilder get _$this { + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get _$this { final $v = _$v; if ($v != null) { - _title = $v.title; - _icon = $v.icon; - _hyperlink = $v.hyperlink; - _appId = $v.appId; + _enabled = $v.enabled; + _days = $v.days; + _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(CoreContactsAction other) { + void replace(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreContactsAction; + _$v = other as _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate; } @override - void update(void Function(CoreContactsActionBuilder)? updates) { + void update(void Function(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? updates) { if (updates != null) updates(this); } @override - CoreContactsAction build() => _build(); + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate build() => _build(); - _$CoreContactsAction _build() { + _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate _build() { final _$result = _$v ?? - _$CoreContactsAction._( - title: BuiltValueNullFieldError.checkNotNull(title, r'CoreContactsAction', 'title'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreContactsAction', 'icon'), - hyperlink: BuiltValueNullFieldError.checkNotNull(hyperlink, r'CoreContactsAction', 'hyperlink'), - appId: BuiltValueNullFieldError.checkNotNull(appId, r'CoreContactsAction', 'appId')); + _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate', 'enabled'), + days: days, + enforced: enforced); replace(_$result); return _$result; } } -class _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data - extends CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data { +class _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal + extends CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal { @override - final String userId; + final bool enabled; @override - final String displayName; + final int? days; @override - final BuiltList actions; + final bool? enforced; - factory _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data( - [void Function(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => - (CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal( + [void Function(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? updates]) => + (CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder()..update(updates))._build(); - _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data._( - {required this.userId, required this.displayName, required this.actions}) + _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._( + {required this.enabled, this.days, this.enforced}) : super._() { - BuiltValueNullFieldError.checkNotNull(userId, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'userId'); - BuiltValueNullFieldError.checkNotNull( - displayName, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'displayName'); BuiltValueNullFieldError.checkNotNull( - actions, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'actions'); + enabled, r'CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal', 'enabled'); } @override - CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data rebuild( - void Function(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder) updates) => + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal rebuild( + void Function(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => - CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder toBuilder() => + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data && - userId == other.userId && - displayName == other.displayName && - actions == other.actions; + return other is CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal && + enabled == other.enabled && + days == other.days && + enforced == other.enforced; } @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, enabled.hashCode); + _$hash = $jc(_$hash, days.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data') - ..add('userId', userId) - ..add('displayName', displayName) - ..add('actions', actions)) + return (newBuiltValueToStringHelper(r'CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal') + ..add('enabled', enabled) + ..add('days', days) + ..add('enforced', enforced)) .toString(); } } -class CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder +class CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder implements - Builder { - _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data? _$v; + Builder { + _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? _$v; - String? _userId; - String? get userId => _$this._userId; - set userId(String? userId) => _$this._userId = userId; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - String? _displayName; - String? get displayName => _$this._displayName; - set displayName(String? displayName) => _$this._displayName = displayName; + int? _days; + int? get days => _$this._days; + set days(int? days) => _$this._days = days; - ListBuilder? _actions; - ListBuilder get actions => _$this._actions ??= ListBuilder(); - set actions(ListBuilder? actions) => _$this._actions = actions; + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(bool? enforced) => _$this._enforced = enforced; - CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder(); + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); - CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder get _$this { + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder get _$this { final $v = _$v; if ($v != null) { - _userId = $v.userId; - _displayName = $v.displayName; - _actions = $v.actions.toBuilder(); + _enabled = $v.enabled; + _days = $v.days; + _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data other) { + void replace(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data; + _$v = other as _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal; } @override - void update(void Function(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? updates) { if (updates != null) updates(this); } @override - CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data build() => _build(); + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal build() => _build(); - _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data _build() { - _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data _$result; - try { - _$result = _$v ?? - _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data._( - userId: BuiltValueNullFieldError.checkNotNull( - userId, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'userId'), - displayName: BuiltValueNullFieldError.checkNotNull( - displayName, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'displayName'), - actions: actions.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'actions'; - actions.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); - } - rethrow; - } + _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal _build() { + final _$result = _$v ?? + _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal', 'enabled'), + days: days, + enforced: enforced); replace(_$result); return _$result; } } -class _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs extends CoreHoverCardGetUserResponse200ApplicationJson_Ocs { +class _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote + extends CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote { @override - final CoreOCSMeta meta; + final bool enabled; @override - final CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data data; + final int? days; + @override + final bool? enforced; - factory _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs( - [void Function(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote( + [void Function(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? updates]) => + (CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder()..update(updates))._build(); - _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs', 'data'); + _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._( + {required this.enabled, this.days, this.enforced}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote', 'enabled'); } @override - CoreHoverCardGetUserResponse200ApplicationJson_Ocs rebuild( - void Function(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder) updates) => + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote rebuild( + void Function(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder toBuilder() => + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreHoverCardGetUserResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote && + 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'CoreHoverCardGetUserResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote') + ..add('enabled', enabled) + ..add('days', days) + ..add('enforced', enforced)) .toString(); } } -class CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder +class CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder implements - Builder { - _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? _$v; - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder? _data; - CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder(); - set data(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + int? _days; + int? get days => _$this._days; + set days(int? days) => _$this._days = days; - CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder(); + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(bool? enforced) => _$this._enforced = enforced; - CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder get _$this { + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); + + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder 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(CoreHoverCardGetUserResponse200ApplicationJson_Ocs other) { + void replace(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs; + _$v = other as _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote; } @override - void update(void Function(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? updates) { if (updates != null) updates(this); } @override - CoreHoverCardGetUserResponse200ApplicationJson_Ocs build() => _build(); + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote build() => _build(); - _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs _build() { - _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs _$result; - try { - _$result = _$v ?? _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote _build() { + final _$result = _$v ?? + _$CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote', 'enabled'), + days: days, + enforced: enforced); replace(_$result); return _$result; } } -class _$CoreHoverCardGetUserResponse200ApplicationJson extends CoreHoverCardGetUserResponse200ApplicationJson { +class _$CoreFilesSharingCapabilities_FilesSharing_Public extends CoreFilesSharingCapabilities_FilesSharing_Public { @override - final CoreHoverCardGetUserResponse200ApplicationJson_Ocs ocs; + final bool enabled; + @override + final CoreFilesSharingCapabilities_FilesSharing_Public_Password? password; + @override + final bool? multipleLinks; + @override + final CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDate? expireDate; + @override + final CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? expireDateInternal; + @override + final CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? expireDateRemote; + @override + final bool? sendMail; + @override + final bool? upload; + @override + final bool? uploadFilesDrop; - factory _$CoreHoverCardGetUserResponse200ApplicationJson( - [void Function(CoreHoverCardGetUserResponse200ApplicationJsonBuilder)? updates]) => - (CoreHoverCardGetUserResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreFilesSharingCapabilities_FilesSharing_Public( + [void Function(CoreFilesSharingCapabilities_FilesSharing_PublicBuilder)? updates]) => + (CoreFilesSharingCapabilities_FilesSharing_PublicBuilder()..update(updates))._build(); - _$CoreHoverCardGetUserResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreHoverCardGetUserResponse200ApplicationJson', 'ocs'); + _$CoreFilesSharingCapabilities_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'CoreFilesSharingCapabilities_FilesSharing_Public', 'enabled'); } @override - CoreHoverCardGetUserResponse200ApplicationJson rebuild( - void Function(CoreHoverCardGetUserResponse200ApplicationJsonBuilder) updates) => + CoreFilesSharingCapabilities_FilesSharing_Public rebuild( + void Function(CoreFilesSharingCapabilities_FilesSharing_PublicBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreHoverCardGetUserResponse200ApplicationJsonBuilder toBuilder() => - CoreHoverCardGetUserResponse200ApplicationJsonBuilder()..replace(this); + CoreFilesSharingCapabilities_FilesSharing_PublicBuilder toBuilder() => + CoreFilesSharingCapabilities_FilesSharing_PublicBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreHoverCardGetUserResponse200ApplicationJson && ocs == other.ocs; + return other is CoreFilesSharingCapabilities_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, ocs.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'CoreHoverCardGetUserResponse200ApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'CoreFilesSharingCapabilities_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 CoreHoverCardGetUserResponse200ApplicationJsonBuilder +class CoreFilesSharingCapabilities_FilesSharing_PublicBuilder implements - Builder { - _$CoreHoverCardGetUserResponse200ApplicationJson? _$v; + Builder { + _$CoreFilesSharingCapabilities_FilesSharing_Public? _$v; - CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder? _ocs; - CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - CoreHoverCardGetUserResponse200ApplicationJsonBuilder(); + CoreFilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? _password; + CoreFilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get password => + _$this._password ??= CoreFilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); + set password(CoreFilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? password) => + _$this._password = password; - CoreHoverCardGetUserResponse200ApplicationJsonBuilder get _$this { + bool? _multipleLinks; + bool? get multipleLinks => _$this._multipleLinks; + set multipleLinks(bool? multipleLinks) => _$this._multipleLinks = multipleLinks; + + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? _expireDate; + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get expireDate => + _$this._expireDate ??= CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); + set expireDate(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? expireDate) => + _$this._expireDate = expireDate; + + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? _expireDateInternal; + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder get expireDateInternal => + _$this._expireDateInternal ??= CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); + set expireDateInternal( + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? expireDateInternal) => + _$this._expireDateInternal = expireDateInternal; + + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? _expireDateRemote; + CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder get expireDateRemote => + _$this._expireDateRemote ??= CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); + set expireDateRemote(CoreFilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? expireDateRemote) => + _$this._expireDateRemote = expireDateRemote; + + bool? _sendMail; + bool? get sendMail => _$this._sendMail; + set sendMail(bool? sendMail) => _$this._sendMail = sendMail; + + bool? _upload; + bool? get upload => _$this._upload; + set upload(bool? upload) => _$this._upload = upload; + + bool? _uploadFilesDrop; + bool? get uploadFilesDrop => _$this._uploadFilesDrop; + set uploadFilesDrop(bool? uploadFilesDrop) => _$this._uploadFilesDrop = uploadFilesDrop; + + CoreFilesSharingCapabilities_FilesSharing_PublicBuilder(); + + CoreFilesSharingCapabilities_FilesSharing_PublicBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.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(CoreHoverCardGetUserResponse200ApplicationJson other) { + void replace(CoreFilesSharingCapabilities_FilesSharing_Public other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreHoverCardGetUserResponse200ApplicationJson; + _$v = other as _$CoreFilesSharingCapabilities_FilesSharing_Public; } @override - void update(void Function(CoreHoverCardGetUserResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreFilesSharingCapabilities_FilesSharing_PublicBuilder)? updates) { if (updates != null) updates(this); } @override - CoreHoverCardGetUserResponse200ApplicationJson build() => _build(); + CoreFilesSharingCapabilities_FilesSharing_Public build() => _build(); - _$CoreHoverCardGetUserResponse200ApplicationJson _build() { - _$CoreHoverCardGetUserResponse200ApplicationJson _$result; + _$CoreFilesSharingCapabilities_FilesSharing_Public _build() { + _$CoreFilesSharingCapabilities_FilesSharing_Public _$result; try { - _$result = _$v ?? _$CoreHoverCardGetUserResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$CoreFilesSharingCapabilities_FilesSharing_Public._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'CoreFilesSharingCapabilities_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 = 'ocs'; - ocs.build(); + _$failedField = 'password'; + _password?.build(); + + _$failedField = 'expireDate'; + _expireDate?.build(); + _$failedField = 'expireDateInternal'; + _expireDateInternal?.build(); + _$failedField = 'expireDateRemote'; + _expireDateRemote?.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreHoverCardGetUserResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreFilesSharingCapabilities_FilesSharing_Public', _$failedField, e.toString()); } rethrow; } @@ -11053,299 +12937,202 @@ class CoreHoverCardGetUserResponse200ApplicationJsonBuilder } } -class _$CoreNavigationEntry_Order extends CoreNavigationEntry_Order { - @override - final JsonObject data; +class _$CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate + extends CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate { @override - final int? $int; - @override - final String? string; + final bool enabled; - factory _$CoreNavigationEntry_Order([void Function(CoreNavigationEntry_OrderBuilder)? updates]) => - (CoreNavigationEntry_OrderBuilder()..update(updates))._build(); + factory _$CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate( + [void Function(CoreFilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? updates]) => + (CoreFilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder()..update(updates))._build(); - _$CoreNavigationEntry_Order._({required this.data, this.$int, this.string}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'CoreNavigationEntry_Order', 'data'); + _$CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate._({required this.enabled}) : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate', 'enabled'); } @override - CoreNavigationEntry_Order rebuild(void Function(CoreNavigationEntry_OrderBuilder) updates) => + CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate rebuild( + void Function(CoreFilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreNavigationEntry_OrderBuilder toBuilder() => CoreNavigationEntry_OrderBuilder()..replace(this); + CoreFilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder toBuilder() => + CoreFilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreNavigationEntry_Order && data == other.data && $int == other.$int && string == other.string; + return other is CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate && enabled == other.enabled; } @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, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreNavigationEntry_Order') - ..add('data', data) - ..add('\$int', $int) - ..add('string', string)) + return (newBuiltValueToStringHelper(r'CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate') + ..add('enabled', enabled)) .toString(); } } -class CoreNavigationEntry_OrderBuilder implements Builder { - _$CoreNavigationEntry_Order? _$v; - - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(JsonObject? data) => _$this._data = data; - - int? _$int; - int? get $int => _$this._$int; - set $int(int? $int) => _$this._$int = $int; +class CoreFilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder + implements + Builder { + _$CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate? _$v; - String? _string; - String? get string => _$this._string; - set string(String? string) => _$this._string = string; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - CoreNavigationEntry_OrderBuilder(); + CoreFilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); - CoreNavigationEntry_OrderBuilder get _$this { + CoreFilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _$int = $v.$int; - _string = $v.string; + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(CoreNavigationEntry_Order other) { + void replace(CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreNavigationEntry_Order; + _$v = other as _$CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate; } @override - void update(void Function(CoreNavigationEntry_OrderBuilder)? updates) { + void update(void Function(CoreFilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? updates) { if (updates != null) updates(this); } @override - CoreNavigationEntry_Order build() => _build(); + CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate build() => _build(); - _$CoreNavigationEntry_Order _build() { + _$CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate _build() { final _$result = _$v ?? - _$CoreNavigationEntry_Order._( - data: BuiltValueNullFieldError.checkNotNull(data, r'CoreNavigationEntry_Order', 'data'), - $int: $int, - string: string); + _$CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate', 'enabled')); replace(_$result); return _$result; } } -class _$CoreNavigationEntry extends CoreNavigationEntry { - @override - final String id; - @override - final CoreNavigationEntry_Order order; - @override - final String href; - @override - final String icon; - @override - final String type; - @override - final String name; - @override - final bool active; +class _$CoreFilesSharingCapabilities_FilesSharing_User extends CoreFilesSharingCapabilities_FilesSharing_User { @override - final String classes; + final bool sendMail; @override - final int unread; + final CoreFilesSharingCapabilities_FilesSharing_User_ExpireDate? expireDate; - factory _$CoreNavigationEntry([void Function(CoreNavigationEntryBuilder)? updates]) => - (CoreNavigationEntryBuilder()..update(updates))._build(); + factory _$CoreFilesSharingCapabilities_FilesSharing_User( + [void Function(CoreFilesSharingCapabilities_FilesSharing_UserBuilder)? updates]) => + (CoreFilesSharingCapabilities_FilesSharing_UserBuilder()..update(updates))._build(); - _$CoreNavigationEntry._( - {required this.id, - required this.order, - required this.href, - required this.icon, - required this.type, - required this.name, - required this.active, - required this.classes, - required this.unread}) - : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'CoreNavigationEntry', 'id'); - BuiltValueNullFieldError.checkNotNull(order, r'CoreNavigationEntry', 'order'); - BuiltValueNullFieldError.checkNotNull(href, r'CoreNavigationEntry', 'href'); - BuiltValueNullFieldError.checkNotNull(icon, r'CoreNavigationEntry', 'icon'); - BuiltValueNullFieldError.checkNotNull(type, r'CoreNavigationEntry', 'type'); - BuiltValueNullFieldError.checkNotNull(name, r'CoreNavigationEntry', 'name'); - BuiltValueNullFieldError.checkNotNull(active, r'CoreNavigationEntry', 'active'); - BuiltValueNullFieldError.checkNotNull(classes, r'CoreNavigationEntry', 'classes'); - BuiltValueNullFieldError.checkNotNull(unread, r'CoreNavigationEntry', 'unread'); + _$CoreFilesSharingCapabilities_FilesSharing_User._({required this.sendMail, this.expireDate}) : super._() { + BuiltValueNullFieldError.checkNotNull(sendMail, r'CoreFilesSharingCapabilities_FilesSharing_User', 'sendMail'); } @override - CoreNavigationEntry rebuild(void Function(CoreNavigationEntryBuilder) updates) => + CoreFilesSharingCapabilities_FilesSharing_User rebuild( + void Function(CoreFilesSharingCapabilities_FilesSharing_UserBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreNavigationEntryBuilder toBuilder() => CoreNavigationEntryBuilder()..replace(this); + CoreFilesSharingCapabilities_FilesSharing_UserBuilder toBuilder() => + CoreFilesSharingCapabilities_FilesSharing_UserBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreNavigationEntry && - id == other.id && - order == other.order && - href == other.href && - icon == other.icon && - type == other.type && - name == other.name && - active == other.active && - classes == other.classes && - unread == other.unread; + return other is CoreFilesSharingCapabilities_FilesSharing_User && + sendMail == other.sendMail && + expireDate == other.expireDate; } @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, sendMail.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreNavigationEntry') - ..add('id', id) - ..add('order', order) - ..add('href', href) - ..add('icon', icon) - ..add('type', type) - ..add('name', name) - ..add('active', active) - ..add('classes', classes) - ..add('unread', unread)) + return (newBuiltValueToStringHelper(r'CoreFilesSharingCapabilities_FilesSharing_User') + ..add('sendMail', sendMail) + ..add('expireDate', expireDate)) .toString(); } } -class CoreNavigationEntryBuilder implements Builder { - _$CoreNavigationEntry? _$v; - - String? _id; - String? get id => _$this._id; - set id(String? id) => _$this._id = id; - - CoreNavigationEntry_OrderBuilder? _order; - CoreNavigationEntry_OrderBuilder get order => _$this._order ??= CoreNavigationEntry_OrderBuilder(); - set order(CoreNavigationEntry_OrderBuilder? order) => _$this._order = order; - - String? _href; - String? get href => _$this._href; - set href(String? href) => _$this._href = href; - - String? _icon; - String? get icon => _$this._icon; - set icon(String? icon) => _$this._icon = icon; - - String? _type; - String? get type => _$this._type; - set type(String? type) => _$this._type = type; - - String? _name; - String? get name => _$this._name; - set name(String? name) => _$this._name = name; - - bool? _active; - bool? get active => _$this._active; - set active(bool? active) => _$this._active = active; +class CoreFilesSharingCapabilities_FilesSharing_UserBuilder + implements + Builder { + _$CoreFilesSharingCapabilities_FilesSharing_User? _$v; - String? _classes; - String? get classes => _$this._classes; - set classes(String? classes) => _$this._classes = classes; + bool? _sendMail; + bool? get sendMail => _$this._sendMail; + set sendMail(bool? sendMail) => _$this._sendMail = sendMail; - int? _unread; - int? get unread => _$this._unread; - set unread(int? unread) => _$this._unread = unread; + CoreFilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? _expireDate; + CoreFilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get expireDate => + _$this._expireDate ??= CoreFilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); + set expireDate(CoreFilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? expireDate) => + _$this._expireDate = expireDate; - CoreNavigationEntryBuilder(); + CoreFilesSharingCapabilities_FilesSharing_UserBuilder(); - CoreNavigationEntryBuilder get _$this { + CoreFilesSharingCapabilities_FilesSharing_UserBuilder 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; + _sendMail = $v.sendMail; + _expireDate = $v.expireDate?.toBuilder(); _$v = null; } return this; } @override - void replace(CoreNavigationEntry other) { + void replace(CoreFilesSharingCapabilities_FilesSharing_User other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreNavigationEntry; + _$v = other as _$CoreFilesSharingCapabilities_FilesSharing_User; } @override - void update(void Function(CoreNavigationEntryBuilder)? updates) { + void update(void Function(CoreFilesSharingCapabilities_FilesSharing_UserBuilder)? updates) { if (updates != null) updates(this); } @override - CoreNavigationEntry build() => _build(); + CoreFilesSharingCapabilities_FilesSharing_User build() => _build(); - _$CoreNavigationEntry _build() { - _$CoreNavigationEntry _$result; + _$CoreFilesSharingCapabilities_FilesSharing_User _build() { + _$CoreFilesSharingCapabilities_FilesSharing_User _$result; try { _$result = _$v ?? - _$CoreNavigationEntry._( - id: BuiltValueNullFieldError.checkNotNull(id, r'CoreNavigationEntry', 'id'), - order: order.build(), - href: BuiltValueNullFieldError.checkNotNull(href, r'CoreNavigationEntry', 'href'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreNavigationEntry', 'icon'), - type: BuiltValueNullFieldError.checkNotNull(type, r'CoreNavigationEntry', 'type'), - name: BuiltValueNullFieldError.checkNotNull(name, r'CoreNavigationEntry', 'name'), - active: BuiltValueNullFieldError.checkNotNull(active, r'CoreNavigationEntry', 'active'), - classes: BuiltValueNullFieldError.checkNotNull(classes, r'CoreNavigationEntry', 'classes'), - unread: BuiltValueNullFieldError.checkNotNull(unread, r'CoreNavigationEntry', 'unread')); + _$CoreFilesSharingCapabilities_FilesSharing_User._( + sendMail: BuiltValueNullFieldError.checkNotNull( + sendMail, r'CoreFilesSharingCapabilities_FilesSharing_User', 'sendMail'), + expireDate: _expireDate?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'order'; - order.build(); + _$failedField = 'expireDate'; + _expireDate?.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreNavigationEntry', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreFilesSharingCapabilities_FilesSharing_User', _$failedField, e.toString()); } rethrow; } @@ -11354,214 +13141,203 @@ class CoreNavigationEntryBuilder implements Builder data; + final bool enabled; - factory _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs( - [void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate( + [void Function(CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? updates]) => + (CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder()..update(updates))._build(); - _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { + _$CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate._({required this.enabled}) : super._() { BuiltValueNullFieldError.checkNotNull( - meta, r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs', 'data'); + enabled, r'CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate', 'enabled'); } @override - CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs rebuild( - void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder) updates) => + CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate rebuild( + void Function(CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder toBuilder() => + CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate && enabled == other.enabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate') + ..add('enabled', enabled)) .toString(); } } -class CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder +class CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder implements - Builder { - _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs? _$v; - - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + Builder { + _$CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate? _$v; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder(); + CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); - CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder get _$this { + CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs other) { + void replace(CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs; + _$v = other as _$CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate; } @override - void update(void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? updates) { if (updates != null) updates(this); } @override - CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs build() => _build(); + CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate build() => _build(); - _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs _build() { - _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_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'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate _build() { + final _$result = _$v ?? + _$CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate', 'enabled')); replace(_$result); return _$result; } } -class _$CoreNavigationGetAppsNavigationResponse200ApplicationJson - extends CoreNavigationGetAppsNavigationResponse200ApplicationJson { +class _$CoreFilesSharingCapabilities_FilesSharing_Group extends CoreFilesSharingCapabilities_FilesSharing_Group { @override - final CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs ocs; + final bool enabled; + @override + final CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDate? expireDate; - factory _$CoreNavigationGetAppsNavigationResponse200ApplicationJson( - [void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder)? updates]) => - (CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreFilesSharingCapabilities_FilesSharing_Group( + [void Function(CoreFilesSharingCapabilities_FilesSharing_GroupBuilder)? updates]) => + (CoreFilesSharingCapabilities_FilesSharing_GroupBuilder()..update(updates))._build(); - _$CoreNavigationGetAppsNavigationResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreNavigationGetAppsNavigationResponse200ApplicationJson', 'ocs'); + _$CoreFilesSharingCapabilities_FilesSharing_Group._({required this.enabled, this.expireDate}) : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'CoreFilesSharingCapabilities_FilesSharing_Group', 'enabled'); } @override - CoreNavigationGetAppsNavigationResponse200ApplicationJson rebuild( - void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder) updates) => + CoreFilesSharingCapabilities_FilesSharing_Group rebuild( + void Function(CoreFilesSharingCapabilities_FilesSharing_GroupBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder toBuilder() => - CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder()..replace(this); + CoreFilesSharingCapabilities_FilesSharing_GroupBuilder toBuilder() => + CoreFilesSharingCapabilities_FilesSharing_GroupBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreNavigationGetAppsNavigationResponse200ApplicationJson && ocs == other.ocs; + return other is CoreFilesSharingCapabilities_FilesSharing_Group && + enabled == other.enabled && + expireDate == other.expireDate; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreNavigationGetAppsNavigationResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreFilesSharingCapabilities_FilesSharing_Group') + ..add('enabled', enabled) + ..add('expireDate', expireDate)) .toString(); } } -class CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder +class CoreFilesSharingCapabilities_FilesSharing_GroupBuilder implements - Builder { - _$CoreNavigationGetAppsNavigationResponse200ApplicationJson? _$v; + Builder { + _$CoreFilesSharingCapabilities_FilesSharing_Group? _$v; - CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder? _ocs; - CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder(); + CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? _expireDate; + CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get expireDate => + _$this._expireDate ??= CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); + set expireDate(CoreFilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? expireDate) => + _$this._expireDate = expireDate; - CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder get _$this { + CoreFilesSharingCapabilities_FilesSharing_GroupBuilder(); + + CoreFilesSharingCapabilities_FilesSharing_GroupBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _enabled = $v.enabled; + _expireDate = $v.expireDate?.toBuilder(); _$v = null; } return this; } @override - void replace(CoreNavigationGetAppsNavigationResponse200ApplicationJson other) { + void replace(CoreFilesSharingCapabilities_FilesSharing_Group other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreNavigationGetAppsNavigationResponse200ApplicationJson; + _$v = other as _$CoreFilesSharingCapabilities_FilesSharing_Group; } @override - void update(void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreFilesSharingCapabilities_FilesSharing_GroupBuilder)? updates) { if (updates != null) updates(this); } @override - CoreNavigationGetAppsNavigationResponse200ApplicationJson build() => _build(); + CoreFilesSharingCapabilities_FilesSharing_Group build() => _build(); - _$CoreNavigationGetAppsNavigationResponse200ApplicationJson _build() { - _$CoreNavigationGetAppsNavigationResponse200ApplicationJson _$result; + _$CoreFilesSharingCapabilities_FilesSharing_Group _build() { + _$CoreFilesSharingCapabilities_FilesSharing_Group _$result; try { - _$result = _$v ?? _$CoreNavigationGetAppsNavigationResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$CoreFilesSharingCapabilities_FilesSharing_Group._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'CoreFilesSharingCapabilities_FilesSharing_Group', 'enabled'), + expireDate: _expireDate?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'expireDate'; + _expireDate?.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreNavigationGetAppsNavigationResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreFilesSharingCapabilities_FilesSharing_Group', _$failedField, e.toString()); } rethrow; } @@ -11570,1178 +13346,937 @@ class CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder } } -class _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs - extends CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs { - @override - final CoreOCSMeta meta; +class _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate + extends CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate { @override - final BuiltList data; + final bool enabled; - factory _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs( - [void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate( + [void Function(CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? updates]) => + (CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder()..update(updates))._build(); - _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs', 'meta'); + _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate._({required this.enabled}) : super._() { BuiltValueNullFieldError.checkNotNull( - data, r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs', 'data'); + enabled, r'CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate', 'enabled'); } @override - CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs rebuild( - void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder) updates) => + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate rebuild( + void Function(CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder toBuilder() => + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate && enabled == other.enabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate') + ..add('enabled', enabled)) .toString(); } } -class CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder +class CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder implements - Builder { - _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs? _$v; - - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + Builder { + _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate? _$v; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder(); + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); - CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder get _$this { + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs other) { + void replace(CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs; + _$v = other as _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate; } @override - void update(void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? updates) { if (updates != null) updates(this); } @override - CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs build() => _build(); + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate build() => _build(); - _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs _build() { - _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate _build() { + final _$result = _$v ?? + _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate', 'enabled')); replace(_$result); return _$result; } } -class _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson - extends CoreNavigationGetSettingsNavigationResponse200ApplicationJson { +class _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported + extends CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported { @override - final CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs ocs; + final bool enabled; - factory _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson( - [void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder)? updates]) => - (CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported( + [void Function(CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? updates]) => + (CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder()..update(updates))._build(); - _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson', 'ocs'); + _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._({required this.enabled}) : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported', 'enabled'); } @override - CoreNavigationGetSettingsNavigationResponse200ApplicationJson rebuild( - void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder) updates) => + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported rebuild( + void Function(CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder toBuilder() => - CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder()..replace(this); + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder toBuilder() => + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreNavigationGetSettingsNavigationResponse200ApplicationJson && ocs == other.ocs; + return other is CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported && + 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'CoreNavigationGetSettingsNavigationResponse200ApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported') + ..add('enabled', enabled)) .toString(); } } -class CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder +class CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder implements - Builder { - _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson? _$v; + Builder { + _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported? _$v; - CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder? _ocs; - CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder(); + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); - CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder get _$this { + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(CoreNavigationGetSettingsNavigationResponse200ApplicationJson other) { + void replace(CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson; + _$v = other as _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported; } @override - void update(void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? updates) { if (updates != null) updates(this); } @override - CoreNavigationGetSettingsNavigationResponse200ApplicationJson build() => _build(); + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported build() => _build(); - _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson _build() { - _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson _$result; - try { - _$result = _$v ?? _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported _build() { + final _$result = _$v ?? + _$CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported', 'enabled')); replace(_$result); return _$result; } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version { - @override - final int major; +class _$CoreFilesSharingCapabilities_FilesSharing_Federation + extends CoreFilesSharingCapabilities_FilesSharing_Federation { @override - final int minor; - @override - final int micro; + final bool outgoing; @override - final String string; + final bool incoming; @override - final String edition; + final CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDate expireDate; @override - final bool extendedSupport; + final CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported expireDateSupported; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version( - [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder)? updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder()..update(updates))._build(); + factory _$CoreFilesSharingCapabilities_FilesSharing_Federation( + [void Function(CoreFilesSharingCapabilities_FilesSharing_FederationBuilder)? updates]) => + (CoreFilesSharingCapabilities_FilesSharing_FederationBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version._( - {required this.major, - required this.minor, - required this.micro, - required this.string, - required this.edition, - required this.extendedSupport}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - major, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'major'); - BuiltValueNullFieldError.checkNotNull( - minor, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'minor'); + _$CoreFilesSharingCapabilities_FilesSharing_Federation._( + {required this.outgoing, required this.incoming, required this.expireDate, required this.expireDateSupported}) + : super._() { BuiltValueNullFieldError.checkNotNull( - micro, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'micro'); + outgoing, r'CoreFilesSharingCapabilities_FilesSharing_Federation', 'outgoing'); BuiltValueNullFieldError.checkNotNull( - string, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'string'); + incoming, r'CoreFilesSharingCapabilities_FilesSharing_Federation', 'incoming'); BuiltValueNullFieldError.checkNotNull( - edition, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'edition'); + expireDate, r'CoreFilesSharingCapabilities_FilesSharing_Federation', 'expireDate'); BuiltValueNullFieldError.checkNotNull( - extendedSupport, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'extendedSupport'); + expireDateSupported, r'CoreFilesSharingCapabilities_FilesSharing_Federation', 'expireDateSupported'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version rebuild( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder) updates) => + CoreFilesSharingCapabilities_FilesSharing_Federation rebuild( + void Function(CoreFilesSharingCapabilities_FilesSharing_FederationBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder()..replace(this); + CoreFilesSharingCapabilities_FilesSharing_FederationBuilder toBuilder() => + CoreFilesSharingCapabilities_FilesSharing_FederationBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version && - major == other.major && - minor == other.minor && - micro == other.micro && - string == other.string && - edition == other.edition && - extendedSupport == other.extendedSupport; + return other is CoreFilesSharingCapabilities_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'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version') - ..add('major', major) - ..add('minor', minor) - ..add('micro', micro) - ..add('string', string) - ..add('edition', edition) - ..add('extendedSupport', extendedSupport)) + return (newBuiltValueToStringHelper(r'CoreFilesSharingCapabilities_FilesSharing_Federation') + ..add('outgoing', outgoing) + ..add('incoming', incoming) + ..add('expireDate', expireDate) + ..add('expireDateSupported', expireDateSupported)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder +class CoreFilesSharingCapabilities_FilesSharing_FederationBuilder implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version? _$v; - - int? _major; - int? get major => _$this._major; - set major(int? major) => _$this._major = major; - - int? _minor; - int? get minor => _$this._minor; - set minor(int? minor) => _$this._minor = minor; + Builder { + _$CoreFilesSharingCapabilities_FilesSharing_Federation? _$v; - int? _micro; - int? get micro => _$this._micro; - set micro(int? micro) => _$this._micro = micro; + bool? _outgoing; + bool? get outgoing => _$this._outgoing; + set outgoing(bool? outgoing) => _$this._outgoing = outgoing; - String? _string; - String? get string => _$this._string; - set string(String? string) => _$this._string = string; + bool? _incoming; + bool? get incoming => _$this._incoming; + set incoming(bool? incoming) => _$this._incoming = incoming; - String? _edition; - String? get edition => _$this._edition; - set edition(String? edition) => _$this._edition = edition; + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? _expireDate; + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get expireDate => + _$this._expireDate ??= CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); + set expireDate(CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? expireDate) => + _$this._expireDate = expireDate; - bool? _extendedSupport; - bool? get extendedSupport => _$this._extendedSupport; - set extendedSupport(bool? extendedSupport) => _$this._extendedSupport = extendedSupport; + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? _expireDateSupported; + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get expireDateSupported => + _$this._expireDateSupported ??= CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); + set expireDateSupported( + CoreFilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? expireDateSupported) => + _$this._expireDateSupported = expireDateSupported; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder(); + CoreFilesSharingCapabilities_FilesSharing_FederationBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder get _$this { + CoreFilesSharingCapabilities_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(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version other) { + void replace(CoreFilesSharingCapabilities_FilesSharing_Federation other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version; + _$v = other as _$CoreFilesSharingCapabilities_FilesSharing_Federation; } @override - void update(void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder)? updates) { + void update(void Function(CoreFilesSharingCapabilities_FilesSharing_FederationBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version build() => _build(); + CoreFilesSharingCapabilities_FilesSharing_Federation build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version _build() { - final _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version._( - major: BuiltValueNullFieldError.checkNotNull( - major, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'major'), - minor: BuiltValueNullFieldError.checkNotNull( - minor, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'minor'), - micro: BuiltValueNullFieldError.checkNotNull( - micro, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'micro'), - string: BuiltValueNullFieldError.checkNotNull( - string, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'string'), - edition: BuiltValueNullFieldError.checkNotNull( - edition, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'edition'), - extendedSupport: BuiltValueNullFieldError.checkNotNull(extendedSupport, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'extendedSupport')); + _$CoreFilesSharingCapabilities_FilesSharing_Federation _build() { + _$CoreFilesSharingCapabilities_FilesSharing_Federation _$result; + try { + _$result = _$v ?? + _$CoreFilesSharingCapabilities_FilesSharing_Federation._( + outgoing: BuiltValueNullFieldError.checkNotNull( + outgoing, r'CoreFilesSharingCapabilities_FilesSharing_Federation', 'outgoing'), + incoming: BuiltValueNullFieldError.checkNotNull( + incoming, r'CoreFilesSharingCapabilities_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'CoreFilesSharingCapabilities_FilesSharing_Federation', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password { +class _$CoreFilesSharingCapabilities_FilesSharing_Sharee extends CoreFilesSharingCapabilities_FilesSharing_Sharee { @override - final bool enforced; + final bool queryLookupDefault; @override - final bool askForOptionalPassword; + final bool alwaysShowUnique; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password( - [void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder() - ..update(updates)) - ._build(); + factory _$CoreFilesSharingCapabilities_FilesSharing_Sharee( + [void Function(CoreFilesSharingCapabilities_FilesSharing_ShareeBuilder)? updates]) => + (CoreFilesSharingCapabilities_FilesSharing_ShareeBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password._( - {required this.enforced, required this.askForOptionalPassword}) + _$CoreFilesSharingCapabilities_FilesSharing_Sharee._( + {required this.queryLookupDefault, required this.alwaysShowUnique}) : super._() { BuiltValueNullFieldError.checkNotNull( - enforced, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password', - 'enforced'); + queryLookupDefault, r'CoreFilesSharingCapabilities_FilesSharing_Sharee', 'queryLookupDefault'); BuiltValueNullFieldError.checkNotNull( - askForOptionalPassword, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password', - 'askForOptionalPassword'); + alwaysShowUnique, r'CoreFilesSharingCapabilities_FilesSharing_Sharee', 'alwaysShowUnique'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password rebuild( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder) - updates) => + CoreFilesSharingCapabilities_FilesSharing_Sharee rebuild( + void Function(CoreFilesSharingCapabilities_FilesSharing_ShareeBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder - toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder() - ..replace(this); + CoreFilesSharingCapabilities_FilesSharing_ShareeBuilder toBuilder() => + CoreFilesSharingCapabilities_FilesSharing_ShareeBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other - is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password && - enforced == other.enforced && - askForOptionalPassword == other.askForOptionalPassword; + return other is CoreFilesSharingCapabilities_FilesSharing_Sharee && + queryLookupDefault == other.queryLookupDefault && + alwaysShowUnique == other.alwaysShowUnique; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enforced.hashCode); - _$hash = $jc(_$hash, askForOptionalPassword.hashCode); + _$hash = $jc(_$hash, queryLookupDefault.hashCode); + _$hash = $jc(_$hash, alwaysShowUnique.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password') - ..add('enforced', enforced) - ..add('askForOptionalPassword', askForOptionalPassword)) + return (newBuiltValueToStringHelper(r'CoreFilesSharingCapabilities_FilesSharing_Sharee') + ..add('queryLookupDefault', queryLookupDefault) + ..add('alwaysShowUnique', alwaysShowUnique)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder +class CoreFilesSharingCapabilities_FilesSharing_ShareeBuilder implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password? _$v; + Builder { + _$CoreFilesSharingCapabilities_FilesSharing_Sharee? _$v; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(bool? enforced) => _$this._enforced = enforced; + bool? _queryLookupDefault; + bool? get queryLookupDefault => _$this._queryLookupDefault; + set queryLookupDefault(bool? queryLookupDefault) => _$this._queryLookupDefault = queryLookupDefault; - bool? _askForOptionalPassword; - bool? get askForOptionalPassword => _$this._askForOptionalPassword; - set askForOptionalPassword(bool? askForOptionalPassword) => _$this._askForOptionalPassword = askForOptionalPassword; + bool? _alwaysShowUnique; + bool? get alwaysShowUnique => _$this._alwaysShowUnique; + set alwaysShowUnique(bool? alwaysShowUnique) => _$this._alwaysShowUnique = alwaysShowUnique; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder(); + CoreFilesSharingCapabilities_FilesSharing_ShareeBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder - get _$this { + CoreFilesSharingCapabilities_FilesSharing_ShareeBuilder get _$this { final $v = _$v; if ($v != null) { - _enforced = $v.enforced; - _askForOptionalPassword = $v.askForOptionalPassword; + _queryLookupDefault = $v.queryLookupDefault; + _alwaysShowUnique = $v.alwaysShowUnique; _$v = null; } return this; } @override - void replace( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password other) { + void replace(CoreFilesSharingCapabilities_FilesSharing_Sharee other) { ArgumentError.checkNotNull(other, 'other'); - _$v = - other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password; + _$v = other as _$CoreFilesSharingCapabilities_FilesSharing_Sharee; } @override - void update( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder)? - updates) { + void update(void Function(CoreFilesSharingCapabilities_FilesSharing_ShareeBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password build() => - _build(); + CoreFilesSharingCapabilities_FilesSharing_Sharee build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password _build() { + _$CoreFilesSharingCapabilities_FilesSharing_Sharee _build() { final _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password._( - enforced: BuiltValueNullFieldError.checkNotNull( - enforced, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password', - 'enforced'), - askForOptionalPassword: BuiltValueNullFieldError.checkNotNull( - askForOptionalPassword, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password', - 'askForOptionalPassword')); + _$CoreFilesSharingCapabilities_FilesSharing_Sharee._( + queryLookupDefault: BuiltValueNullFieldError.checkNotNull( + queryLookupDefault, r'CoreFilesSharingCapabilities_FilesSharing_Sharee', 'queryLookupDefault'), + alwaysShowUnique: BuiltValueNullFieldError.checkNotNull( + alwaysShowUnique, r'CoreFilesSharingCapabilities_FilesSharing_Sharee', 'alwaysShowUnique')); replace(_$result); return _$result; } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate { +class _$CoreFilesSharingCapabilities_FilesSharing extends CoreFilesSharingCapabilities_FilesSharing { @override - final bool enabled; + final bool apiEnabled; @override - final int? days; + final CoreFilesSharingCapabilities_FilesSharing_Public public; @override - final bool? enforced; + final CoreFilesSharingCapabilities_FilesSharing_User user; + @override + final bool resharing; + @override + final bool? groupSharing; + @override + final CoreFilesSharingCapabilities_FilesSharing_Group? group; + @override + final int? defaultPermissions; + @override + final CoreFilesSharingCapabilities_FilesSharing_Federation federation; + @override + final CoreFilesSharingCapabilities_FilesSharing_Sharee sharee; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate( - [void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder() - ..update(updates)) - ._build(); + factory _$CoreFilesSharingCapabilities_FilesSharing( + [void Function(CoreFilesSharingCapabilities_FilesSharingBuilder)? updates]) => + (CoreFilesSharingCapabilities_FilesSharingBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate._( - {required this.enabled, this.days, this.enforced}) + _$CoreFilesSharingCapabilities_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( - enabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate', - 'enabled'); + BuiltValueNullFieldError.checkNotNull(apiEnabled, r'CoreFilesSharingCapabilities_FilesSharing', 'apiEnabled'); + BuiltValueNullFieldError.checkNotNull(public, r'CoreFilesSharingCapabilities_FilesSharing', 'public'); + BuiltValueNullFieldError.checkNotNull(user, r'CoreFilesSharingCapabilities_FilesSharing', 'user'); + BuiltValueNullFieldError.checkNotNull(resharing, r'CoreFilesSharingCapabilities_FilesSharing', 'resharing'); + BuiltValueNullFieldError.checkNotNull(federation, r'CoreFilesSharingCapabilities_FilesSharing', 'federation'); + BuiltValueNullFieldError.checkNotNull(sharee, r'CoreFilesSharingCapabilities_FilesSharing', 'sharee'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate rebuild( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder) - updates) => + CoreFilesSharingCapabilities_FilesSharing rebuild( + void Function(CoreFilesSharingCapabilities_FilesSharingBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder - toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder() - ..replace(this); + CoreFilesSharingCapabilities_FilesSharingBuilder toBuilder() => + CoreFilesSharingCapabilities_FilesSharingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other - is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate && - enabled == other.enabled && - days == other.days && - enforced == other.enforced; + return other is CoreFilesSharingCapabilities_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, enabled.hashCode); - _$hash = $jc(_$hash, days.hashCode); - _$hash = $jc(_$hash, enforced.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'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate') - ..add('enabled', enabled) - ..add('days', days) - ..add('enforced', enforced)) + return (newBuiltValueToStringHelper(r'CoreFilesSharingCapabilities_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 CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder - implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate? _$v; +class CoreFilesSharingCapabilities_FilesSharingBuilder + implements Builder { + _$CoreFilesSharingCapabilities_FilesSharing? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + bool? _apiEnabled; + bool? get apiEnabled => _$this._apiEnabled; + set apiEnabled(bool? apiEnabled) => _$this._apiEnabled = apiEnabled; - int? _days; - int? get days => _$this._days; - set days(int? days) => _$this._days = days; + CoreFilesSharingCapabilities_FilesSharing_PublicBuilder? _public; + CoreFilesSharingCapabilities_FilesSharing_PublicBuilder get public => + _$this._public ??= CoreFilesSharingCapabilities_FilesSharing_PublicBuilder(); + set public(CoreFilesSharingCapabilities_FilesSharing_PublicBuilder? public) => _$this._public = public; + + CoreFilesSharingCapabilities_FilesSharing_UserBuilder? _user; + CoreFilesSharingCapabilities_FilesSharing_UserBuilder get user => + _$this._user ??= CoreFilesSharingCapabilities_FilesSharing_UserBuilder(); + set user(CoreFilesSharingCapabilities_FilesSharing_UserBuilder? user) => _$this._user = user; + + bool? _resharing; + bool? get resharing => _$this._resharing; + set resharing(bool? resharing) => _$this._resharing = resharing; + + bool? _groupSharing; + bool? get groupSharing => _$this._groupSharing; + set groupSharing(bool? groupSharing) => _$this._groupSharing = groupSharing; + + CoreFilesSharingCapabilities_FilesSharing_GroupBuilder? _group; + CoreFilesSharingCapabilities_FilesSharing_GroupBuilder get group => + _$this._group ??= CoreFilesSharingCapabilities_FilesSharing_GroupBuilder(); + set group(CoreFilesSharingCapabilities_FilesSharing_GroupBuilder? group) => _$this._group = group; + + int? _defaultPermissions; + int? get defaultPermissions => _$this._defaultPermissions; + set defaultPermissions(int? defaultPermissions) => _$this._defaultPermissions = defaultPermissions; + + CoreFilesSharingCapabilities_FilesSharing_FederationBuilder? _federation; + CoreFilesSharingCapabilities_FilesSharing_FederationBuilder get federation => + _$this._federation ??= CoreFilesSharingCapabilities_FilesSharing_FederationBuilder(); + set federation(CoreFilesSharingCapabilities_FilesSharing_FederationBuilder? federation) => + _$this._federation = federation; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(bool? enforced) => _$this._enforced = enforced; + CoreFilesSharingCapabilities_FilesSharing_ShareeBuilder? _sharee; + CoreFilesSharingCapabilities_FilesSharing_ShareeBuilder get sharee => + _$this._sharee ??= CoreFilesSharingCapabilities_FilesSharing_ShareeBuilder(); + set sharee(CoreFilesSharingCapabilities_FilesSharing_ShareeBuilder? sharee) => _$this._sharee = sharee; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder(); + CoreFilesSharingCapabilities_FilesSharingBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder - get _$this { + CoreFilesSharingCapabilities_FilesSharingBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _days = $v.days; - _enforced = $v.enforced; + _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( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate other) { + void replace(CoreFilesSharingCapabilities_FilesSharing other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other - as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate; + _$v = other as _$CoreFilesSharingCapabilities_FilesSharing; } @override - void update( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder)? - updates) { + void update(void Function(CoreFilesSharingCapabilities_FilesSharingBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate build() => - _build(); + CoreFilesSharingCapabilities_FilesSharing build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate _build() { - final _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate', - 'enabled'), - days: days, - enforced: enforced); + _$CoreFilesSharingCapabilities_FilesSharing _build() { + _$CoreFilesSharingCapabilities_FilesSharing _$result; + try { + _$result = _$v ?? + _$CoreFilesSharingCapabilities_FilesSharing._( + apiEnabled: BuiltValueNullFieldError.checkNotNull( + apiEnabled, r'CoreFilesSharingCapabilities_FilesSharing', 'apiEnabled'), + public: public.build(), + user: user.build(), + resharing: BuiltValueNullFieldError.checkNotNull( + resharing, r'CoreFilesSharingCapabilities_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(); + + _$failedField = 'federation'; + federation.build(); + _$failedField = 'sharee'; + sharee.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CoreFilesSharingCapabilities_FilesSharing', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal { - @override - final bool enabled; - @override - final int? days; +class _$CoreFilesSharingCapabilities extends CoreFilesSharingCapabilities { @override - final bool? enforced; + final CoreFilesSharingCapabilities_FilesSharing filesSharing; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal( - [void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder() - ..update(updates)) - ._build(); + factory _$CoreFilesSharingCapabilities([void Function(CoreFilesSharingCapabilitiesBuilder)? updates]) => + (CoreFilesSharingCapabilitiesBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal._( - {required this.enabled, this.days, this.enforced}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - enabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal', - 'enabled'); + _$CoreFilesSharingCapabilities._({required this.filesSharing}) : super._() { + BuiltValueNullFieldError.checkNotNull(filesSharing, r'CoreFilesSharingCapabilities', 'filesSharing'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal rebuild( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder) - updates) => + CoreFilesSharingCapabilities rebuild(void Function(CoreFilesSharingCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder - toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder() - ..replace(this); + CoreFilesSharingCapabilitiesBuilder toBuilder() => CoreFilesSharingCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other - is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal && - enabled == other.enabled && - days == other.days && - enforced == other.enforced; + return other is CoreFilesSharingCapabilities && filesSharing == other.filesSharing; } @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, filesSharing.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal') - ..add('enabled', enabled) - ..add('days', days) - ..add('enforced', enforced)) - .toString(); + return (newBuiltValueToStringHelper(r'CoreFilesSharingCapabilities')..add('filesSharing', filesSharing)).toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder - implements - Builder< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder> { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; - - int? _days; - int? get days => _$this._days; - set days(int? days) => _$this._days = days; +class CoreFilesSharingCapabilitiesBuilder + implements Builder { + _$CoreFilesSharingCapabilities? _$v; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(bool? enforced) => _$this._enforced = enforced; + CoreFilesSharingCapabilities_FilesSharingBuilder? _filesSharing; + CoreFilesSharingCapabilities_FilesSharingBuilder get filesSharing => + _$this._filesSharing ??= CoreFilesSharingCapabilities_FilesSharingBuilder(); + set filesSharing(CoreFilesSharingCapabilities_FilesSharingBuilder? filesSharing) => + _$this._filesSharing = filesSharing; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder(); + CoreFilesSharingCapabilitiesBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder - get _$this { + CoreFilesSharingCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _days = $v.days; - _enforced = $v.enforced; + _filesSharing = $v.filesSharing.toBuilder(); _$v = null; } return this; } @override - void replace( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal - other) { + void replace(CoreFilesSharingCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other - as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal; + _$v = other as _$CoreFilesSharingCapabilities; } @override - void update( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder)? - updates) { + void update(void Function(CoreFilesSharingCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal - build() => _build(); + CoreFilesSharingCapabilities build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal - _build() { - final _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal', - 'enabled'), - days: days, - enforced: enforced); + _$CoreFilesSharingCapabilities _build() { + _$CoreFilesSharingCapabilities _$result; + try { + _$result = _$v ?? _$CoreFilesSharingCapabilities._(filesSharing: filesSharing.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'filesSharing'; + filesSharing.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CoreFilesSharingCapabilities', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote { - @override - final bool enabled; +class _$CoreNotesCapabilities_Notes extends CoreNotesCapabilities_Notes { @override - final int? days; + final BuiltList? apiVersion; @override - final bool? enforced; + final String? version; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote( - [void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder() - ..update(updates)) - ._build(); + factory _$CoreNotesCapabilities_Notes([void Function(CoreNotesCapabilities_NotesBuilder)? updates]) => + (CoreNotesCapabilities_NotesBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote._( - {required this.enabled, this.days, this.enforced}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - enabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote', - 'enabled'); - } + _$CoreNotesCapabilities_Notes._({this.apiVersion, this.version}) : super._(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote rebuild( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder) - updates) => + CoreNotesCapabilities_Notes rebuild(void Function(CoreNotesCapabilities_NotesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder - toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder() - ..replace(this); + CoreNotesCapabilities_NotesBuilder toBuilder() => CoreNotesCapabilities_NotesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other - is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote && - enabled == other.enabled && - days == other.days && - enforced == other.enforced; + return other is CoreNotesCapabilities_Notes && apiVersion == other.apiVersion && version == other.version; } @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, apiVersion.hashCode); + _$hash = $jc(_$hash, version.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote') - ..add('enabled', enabled) - ..add('days', days) - ..add('enforced', enforced)) + return (newBuiltValueToStringHelper(r'CoreNotesCapabilities_Notes') + ..add('apiVersion', apiVersion) + ..add('version', version)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder - implements - Builder< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder> { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; +class CoreNotesCapabilities_NotesBuilder + implements Builder { + _$CoreNotesCapabilities_Notes? _$v; - int? _days; - int? get days => _$this._days; - set days(int? days) => _$this._days = days; + ListBuilder? _apiVersion; + ListBuilder get apiVersion => _$this._apiVersion ??= ListBuilder(); + set apiVersion(ListBuilder? apiVersion) => _$this._apiVersion = apiVersion; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(bool? enforced) => _$this._enforced = enforced; + String? _version; + String? get version => _$this._version; + set version(String? version) => _$this._version = version; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); + CoreNotesCapabilities_NotesBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder - get _$this { + CoreNotesCapabilities_NotesBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _days = $v.days; - _enforced = $v.enforced; + _apiVersion = $v.apiVersion?.toBuilder(); + _version = $v.version; _$v = null; } return this; } @override - void replace( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote - other) { + void replace(CoreNotesCapabilities_Notes other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other - as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote; + _$v = other as _$CoreNotesCapabilities_Notes; } @override - void update( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? - updates) { + void update(void Function(CoreNotesCapabilities_NotesBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote build() => - _build(); + CoreNotesCapabilities_Notes build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote - _build() { - final _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote', - 'enabled'), - days: days, - enforced: enforced); + _$CoreNotesCapabilities_Notes _build() { + _$CoreNotesCapabilities_Notes _$result; + try { + _$result = _$v ?? _$CoreNotesCapabilities_Notes._(apiVersion: _apiVersion?.build(), version: version); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'apiVersion'; + _apiVersion?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CoreNotesCapabilities_Notes', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public { - @override - final bool enabled; - @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password? password; - @override - final bool? multipleLinks; - @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate? - expireDate; - @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal? - expireDateInternal; - @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote? - expireDateRemote; +class _$CoreNotesCapabilities extends CoreNotesCapabilities { @override - final bool? sendMail; - @override - final bool? upload; - @override - final bool? uploadFilesDrop; + final CoreNotesCapabilities_Notes notes; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public( - [void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder() - ..update(updates)) - ._build(); + factory _$CoreNotesCapabilities([void Function(CoreNotesCapabilitiesBuilder)? updates]) => + (CoreNotesCapabilitiesBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_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'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public', 'enabled'); + _$CoreNotesCapabilities._({required this.notes}) : super._() { + BuiltValueNullFieldError.checkNotNull(notes, r'CoreNotesCapabilities', 'notes'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public rebuild( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder) - updates) => + CoreNotesCapabilities rebuild(void Function(CoreNotesCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder() - ..replace(this); - - @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_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, 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'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_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(); - } -} + CoreNotesCapabilitiesBuilder toBuilder() => CoreNotesCapabilitiesBuilder()..replace(this); -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder - implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; - - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder? _password; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder - get password => _$this._password ??= - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder(); - set password( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder? - password) => - _$this._password = password; - - bool? _multipleLinks; - bool? get multipleLinks => _$this._multipleLinks; - set multipleLinks(bool? multipleLinks) => _$this._multipleLinks = multipleLinks; - - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder? - _expireDate; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder - get expireDate => _$this._expireDate ??= - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder(); - set expireDate( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder? - expireDate) => - _$this._expireDate = expireDate; - - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder? - _expireDateInternal; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder - get expireDateInternal => _$this._expireDateInternal ??= - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder(); - set expireDateInternal( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder? - expireDateInternal) => - _$this._expireDateInternal = expireDateInternal; + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreNotesCapabilities && notes == other.notes; + } - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder? - _expireDateRemote; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder - get expireDateRemote => _$this._expireDateRemote ??= - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); - set expireDateRemote( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder? - expireDateRemote) => - _$this._expireDateRemote = expireDateRemote; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, notes.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } - bool? _sendMail; - bool? get sendMail => _$this._sendMail; - set sendMail(bool? sendMail) => _$this._sendMail = sendMail; + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreNotesCapabilities')..add('notes', notes)).toString(); + } +} - bool? _upload; - bool? get upload => _$this._upload; - set upload(bool? upload) => _$this._upload = upload; +class CoreNotesCapabilitiesBuilder implements Builder { + _$CoreNotesCapabilities? _$v; - bool? _uploadFilesDrop; - bool? get uploadFilesDrop => _$this._uploadFilesDrop; - set uploadFilesDrop(bool? uploadFilesDrop) => _$this._uploadFilesDrop = uploadFilesDrop; + CoreNotesCapabilities_NotesBuilder? _notes; + CoreNotesCapabilities_NotesBuilder get notes => _$this._notes ??= CoreNotesCapabilities_NotesBuilder(); + set notes(CoreNotesCapabilities_NotesBuilder? notes) => _$this._notes = notes; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder(); + CoreNotesCapabilitiesBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder get _$this { + CoreNotesCapabilitiesBuilder 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; + _notes = $v.notes.toBuilder(); _$v = null; } return this; } @override - void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public other) { + void replace(CoreNotesCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public; + _$v = other as _$CoreNotesCapabilities; } @override - void update( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder)? - updates) { + void update(void Function(CoreNotesCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public build() => _build(); + CoreNotesCapabilities build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public _build() { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public _$result; + _$CoreNotesCapabilities _build() { + _$CoreNotesCapabilities _$result; try { - _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public', - 'enabled'), - password: _password?.build(), - multipleLinks: multipleLinks, - expireDate: _expireDate?.build(), - expireDateInternal: _expireDateInternal?.build(), - expireDateRemote: _expireDateRemote?.build(), - sendMail: sendMail, - upload: upload, - uploadFilesDrop: uploadFilesDrop); + _$result = _$v ?? _$CoreNotesCapabilities._(notes: notes.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'password'; - _password?.build(); - - _$failedField = 'expireDate'; - _expireDate?.build(); - _$failedField = 'expireDateInternal'; - _expireDateInternal?.build(); - _$failedField = 'expireDateRemote'; - _expireDateRemote?.build(); + _$failedField = 'notes'; + notes.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public', - _$failedField, - e.toString()); + throw BuiltValueNestedFieldError(r'CoreNotesCapabilities', _$failedField, e.toString()); } rethrow; } @@ -12750,247 +14285,214 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Fil } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate { +class _$CoreNotificationsCapabilities_Notifications extends CoreNotificationsCapabilities_Notifications { @override - final bool enabled; + final BuiltList? ocsEndpoints; + @override + final BuiltList? push; + @override + final BuiltList? adminNotifications; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate( - [void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder() - ..update(updates)) - ._build(); + factory _$CoreNotificationsCapabilities_Notifications( + [void Function(CoreNotificationsCapabilities_NotificationsBuilder)? updates]) => + (CoreNotificationsCapabilities_NotificationsBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate._( - {required this.enabled}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - enabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate', - 'enabled'); - } + _$CoreNotificationsCapabilities_Notifications._({this.ocsEndpoints, this.push, this.adminNotifications}) : super._(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate rebuild( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder) - updates) => + CoreNotificationsCapabilities_Notifications rebuild( + void Function(CoreNotificationsCapabilities_NotificationsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder - toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder() - ..replace(this); + CoreNotificationsCapabilities_NotificationsBuilder toBuilder() => + CoreNotificationsCapabilities_NotificationsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other - is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate && - enabled == other.enabled; + return other is CoreNotificationsCapabilities_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, ocsEndpoints.hashCode); + _$hash = $jc(_$hash, push.hashCode); + _$hash = $jc(_$hash, adminNotifications.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'CoreNotificationsCapabilities_Notifications') + ..add('ocsEndpoints', ocsEndpoints) + ..add('push', push) + ..add('adminNotifications', adminNotifications)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder +class CoreNotificationsCapabilities_NotificationsBuilder implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate? _$v; + Builder { + _$CoreNotificationsCapabilities_Notifications? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + ListBuilder? _ocsEndpoints; + ListBuilder get ocsEndpoints => _$this._ocsEndpoints ??= ListBuilder(); + set ocsEndpoints(ListBuilder? ocsEndpoints) => _$this._ocsEndpoints = ocsEndpoints; + + ListBuilder? _push; + ListBuilder get push => _$this._push ??= ListBuilder(); + set push(ListBuilder? push) => _$this._push = push; + + ListBuilder? _adminNotifications; + ListBuilder get adminNotifications => _$this._adminNotifications ??= ListBuilder(); + set adminNotifications(ListBuilder? adminNotifications) => _$this._adminNotifications = adminNotifications; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder(); + CoreNotificationsCapabilities_NotificationsBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder - get _$this { + CoreNotificationsCapabilities_NotificationsBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _ocsEndpoints = $v.ocsEndpoints?.toBuilder(); + _push = $v.push?.toBuilder(); + _adminNotifications = $v.adminNotifications?.toBuilder(); _$v = null; } return this; } @override - void replace( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate other) { + void replace(CoreNotificationsCapabilities_Notifications other) { ArgumentError.checkNotNull(other, 'other'); - _$v = - other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate; + _$v = other as _$CoreNotificationsCapabilities_Notifications; } @override - void update( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder)? - updates) { + void update(void Function(CoreNotificationsCapabilities_NotificationsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate build() => - _build(); + CoreNotificationsCapabilities_Notifications build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate _build() { - final _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate', - 'enabled')); + _$CoreNotificationsCapabilities_Notifications _build() { + _$CoreNotificationsCapabilities_Notifications _$result; + try { + _$result = _$v ?? + _$CoreNotificationsCapabilities_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'CoreNotificationsCapabilities_Notifications', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User { +class _$CoreNotificationsCapabilities extends CoreNotificationsCapabilities { @override - final bool sendMail; - @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate? expireDate; + final CoreNotificationsCapabilities_Notifications notifications; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User( - [void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder() - ..update(updates)) - ._build(); + factory _$CoreNotificationsCapabilities([void Function(CoreNotificationsCapabilitiesBuilder)? updates]) => + (CoreNotificationsCapabilitiesBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User._( - {required this.sendMail, this.expireDate}) - : super._() { - BuiltValueNullFieldError.checkNotNull(sendMail, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User', 'sendMail'); + _$CoreNotificationsCapabilities._({required this.notifications}) : super._() { + BuiltValueNullFieldError.checkNotNull(notifications, r'CoreNotificationsCapabilities', 'notifications'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User rebuild( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder) - updates) => + CoreNotificationsCapabilities rebuild(void Function(CoreNotificationsCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder()..replace(this); + CoreNotificationsCapabilitiesBuilder toBuilder() => CoreNotificationsCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User && - sendMail == other.sendMail && - expireDate == other.expireDate; + return other is CoreNotificationsCapabilities && notifications == other.notifications; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, sendMail.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, notifications.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User') - ..add('sendMail', sendMail) - ..add('expireDate', expireDate)) + return (newBuiltValueToStringHelper(r'CoreNotificationsCapabilities')..add('notifications', notifications)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder - implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User? _$v; - - bool? _sendMail; - bool? get sendMail => _$this._sendMail; - set sendMail(bool? sendMail) => _$this._sendMail = sendMail; +class CoreNotificationsCapabilitiesBuilder + implements Builder { + _$CoreNotificationsCapabilities? _$v; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder? - _expireDate; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder - get expireDate => _$this._expireDate ??= - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder(); - set expireDate( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder? - expireDate) => - _$this._expireDate = expireDate; + CoreNotificationsCapabilities_NotificationsBuilder? _notifications; + CoreNotificationsCapabilities_NotificationsBuilder get notifications => + _$this._notifications ??= CoreNotificationsCapabilities_NotificationsBuilder(); + set notifications(CoreNotificationsCapabilities_NotificationsBuilder? notifications) => + _$this._notifications = notifications; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder(); + CoreNotificationsCapabilitiesBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder get _$this { + CoreNotificationsCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _sendMail = $v.sendMail; - _expireDate = $v.expireDate?.toBuilder(); + _notifications = $v.notifications.toBuilder(); _$v = null; } return this; } @override - void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User other) { + void replace(CoreNotificationsCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User; + _$v = other as _$CoreNotificationsCapabilities; } @override - void update( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder)? - updates) { + void update(void Function(CoreNotificationsCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User build() => _build(); + CoreNotificationsCapabilities build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User _build() { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User _$result; + _$CoreNotificationsCapabilities _build() { + _$CoreNotificationsCapabilities _$result; try { - _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User._( - sendMail: BuiltValueNullFieldError.checkNotNull( - sendMail, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User', - 'sendMail'), - expireDate: _expireDate?.build()); + _$result = _$v ?? _$CoreNotificationsCapabilities._(notifications: notifications.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'expireDate'; - _expireDate?.build(); + _$failedField = 'notifications'; + notifications.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User', - _$failedField, - e.toString()); + throw BuiltValueNestedFieldError(r'CoreNotificationsCapabilities', _$failedField, e.toString()); } rethrow; } @@ -12999,249 +14501,234 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Fil } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate { +class _$CoreProvisioningApiCapabilities_ProvisioningApi extends CoreProvisioningApiCapabilities_ProvisioningApi { @override - final bool enabled; + final String version; + @override + final int accountPropertyScopesVersion; + @override + final bool accountPropertyScopesFederatedEnabled; + @override + final bool accountPropertyScopesPublishedEnabled; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate( - [void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder() - ..update(updates)) - ._build(); + factory _$CoreProvisioningApiCapabilities_ProvisioningApi( + [void Function(CoreProvisioningApiCapabilities_ProvisioningApiBuilder)? updates]) => + (CoreProvisioningApiCapabilities_ProvisioningApiBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate._( - {required this.enabled}) + _$CoreProvisioningApiCapabilities_ProvisioningApi._( + {required this.version, + required this.accountPropertyScopesVersion, + required this.accountPropertyScopesFederatedEnabled, + required this.accountPropertyScopesPublishedEnabled}) : super._() { - BuiltValueNullFieldError.checkNotNull( - enabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate', - 'enabled'); + BuiltValueNullFieldError.checkNotNull(version, r'CoreProvisioningApiCapabilities_ProvisioningApi', 'version'); + BuiltValueNullFieldError.checkNotNull(accountPropertyScopesVersion, + r'CoreProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesVersion'); + BuiltValueNullFieldError.checkNotNull(accountPropertyScopesFederatedEnabled, + r'CoreProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesFederatedEnabled'); + BuiltValueNullFieldError.checkNotNull(accountPropertyScopesPublishedEnabled, + r'CoreProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesPublishedEnabled'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate rebuild( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder) - updates) => + CoreProvisioningApiCapabilities_ProvisioningApi rebuild( + void Function(CoreProvisioningApiCapabilities_ProvisioningApiBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder - toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder() - ..replace(this); + CoreProvisioningApiCapabilities_ProvisioningApiBuilder toBuilder() => + CoreProvisioningApiCapabilities_ProvisioningApiBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other - is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate && - enabled == other.enabled; + return other is CoreProvisioningApiCapabilities_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, 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'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'CoreProvisioningApiCapabilities_ProvisioningApi') + ..add('version', version) + ..add('accountPropertyScopesVersion', accountPropertyScopesVersion) + ..add('accountPropertyScopesFederatedEnabled', accountPropertyScopesFederatedEnabled) + ..add('accountPropertyScopesPublishedEnabled', accountPropertyScopesPublishedEnabled)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder +class CoreProvisioningApiCapabilities_ProvisioningApiBuilder implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate? _$v; + Builder { + _$CoreProvisioningApiCapabilities_ProvisioningApi? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + String? _version; + String? get version => _$this._version; + set version(String? version) => _$this._version = version; + + int? _accountPropertyScopesVersion; + int? get accountPropertyScopesVersion => _$this._accountPropertyScopesVersion; + set accountPropertyScopesVersion(int? accountPropertyScopesVersion) => + _$this._accountPropertyScopesVersion = accountPropertyScopesVersion; + + bool? _accountPropertyScopesFederatedEnabled; + bool? get accountPropertyScopesFederatedEnabled => _$this._accountPropertyScopesFederatedEnabled; + set accountPropertyScopesFederatedEnabled(bool? accountPropertyScopesFederatedEnabled) => + _$this._accountPropertyScopesFederatedEnabled = accountPropertyScopesFederatedEnabled; + + bool? _accountPropertyScopesPublishedEnabled; + bool? get accountPropertyScopesPublishedEnabled => _$this._accountPropertyScopesPublishedEnabled; + set accountPropertyScopesPublishedEnabled(bool? accountPropertyScopesPublishedEnabled) => + _$this._accountPropertyScopesPublishedEnabled = accountPropertyScopesPublishedEnabled; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder(); + CoreProvisioningApiCapabilities_ProvisioningApiBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder - get _$this { + CoreProvisioningApiCapabilities_ProvisioningApiBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _version = $v.version; + _accountPropertyScopesVersion = $v.accountPropertyScopesVersion; + _accountPropertyScopesFederatedEnabled = $v.accountPropertyScopesFederatedEnabled; + _accountPropertyScopesPublishedEnabled = $v.accountPropertyScopesPublishedEnabled; _$v = null; } return this; } @override - void replace( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate other) { + void replace(CoreProvisioningApiCapabilities_ProvisioningApi other) { ArgumentError.checkNotNull(other, 'other'); - _$v = - other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate; + _$v = other as _$CoreProvisioningApiCapabilities_ProvisioningApi; } @override - void update( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder)? - updates) { + void update(void Function(CoreProvisioningApiCapabilities_ProvisioningApiBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate build() => - _build(); + CoreProvisioningApiCapabilities_ProvisioningApi build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate _build() { + _$CoreProvisioningApiCapabilities_ProvisioningApi _build() { final _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate', - 'enabled')); + _$CoreProvisioningApiCapabilities_ProvisioningApi._( + version: BuiltValueNullFieldError.checkNotNull( + version, r'CoreProvisioningApiCapabilities_ProvisioningApi', 'version'), + accountPropertyScopesVersion: BuiltValueNullFieldError.checkNotNull(accountPropertyScopesVersion, + r'CoreProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesVersion'), + accountPropertyScopesFederatedEnabled: BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesFederatedEnabled, + r'CoreProvisioningApiCapabilities_ProvisioningApi', + 'accountPropertyScopesFederatedEnabled'), + accountPropertyScopesPublishedEnabled: BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesPublishedEnabled, + r'CoreProvisioningApiCapabilities_ProvisioningApi', + 'accountPropertyScopesPublishedEnabled')); replace(_$result); return _$result; } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group { - @override - final bool enabled; +class _$CoreProvisioningApiCapabilities extends CoreProvisioningApiCapabilities { @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate? - expireDate; + final CoreProvisioningApiCapabilities_ProvisioningApi provisioningApi; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group( - [void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder() - ..update(updates)) - ._build(); + factory _$CoreProvisioningApiCapabilities([void Function(CoreProvisioningApiCapabilitiesBuilder)? updates]) => + (CoreProvisioningApiCapabilitiesBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group._( - {required this.enabled, this.expireDate}) - : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group', 'enabled'); + _$CoreProvisioningApiCapabilities._({required this.provisioningApi}) : super._() { + BuiltValueNullFieldError.checkNotNull(provisioningApi, r'CoreProvisioningApiCapabilities', 'provisioningApi'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group rebuild( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder) - updates) => + CoreProvisioningApiCapabilities rebuild(void Function(CoreProvisioningApiCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder()..replace(this); + CoreProvisioningApiCapabilitiesBuilder toBuilder() => CoreProvisioningApiCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group && - enabled == other.enabled && - expireDate == other.expireDate; + return other is CoreProvisioningApiCapabilities && provisioningApi == other.provisioningApi; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, provisioningApi.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group') - ..add('enabled', enabled) - ..add('expireDate', expireDate)) + return (newBuiltValueToStringHelper(r'CoreProvisioningApiCapabilities')..add('provisioningApi', provisioningApi)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder - implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; +class CoreProvisioningApiCapabilitiesBuilder + implements Builder { + _$CoreProvisioningApiCapabilities? _$v; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder? - _expireDate; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder - get expireDate => _$this._expireDate ??= - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder(); - set expireDate( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder? - expireDate) => - _$this._expireDate = expireDate; + CoreProvisioningApiCapabilities_ProvisioningApiBuilder? _provisioningApi; + CoreProvisioningApiCapabilities_ProvisioningApiBuilder get provisioningApi => + _$this._provisioningApi ??= CoreProvisioningApiCapabilities_ProvisioningApiBuilder(); + set provisioningApi(CoreProvisioningApiCapabilities_ProvisioningApiBuilder? provisioningApi) => + _$this._provisioningApi = provisioningApi; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder(); + CoreProvisioningApiCapabilitiesBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder get _$this { + CoreProvisioningApiCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _expireDate = $v.expireDate?.toBuilder(); + _provisioningApi = $v.provisioningApi.toBuilder(); _$v = null; } return this; } @override - void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group other) { + void replace(CoreProvisioningApiCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group; + _$v = other as _$CoreProvisioningApiCapabilities; } @override - void update( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder)? - updates) { + void update(void Function(CoreProvisioningApiCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group build() => _build(); + CoreProvisioningApiCapabilities build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group _build() { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group _$result; + _$CoreProvisioningApiCapabilities _build() { + _$CoreProvisioningApiCapabilities _$result; try { - _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group', - 'enabled'), - expireDate: _expireDate?.build()); + _$result = _$v ?? _$CoreProvisioningApiCapabilities._(provisioningApi: provisioningApi.build()); } catch (_) { late String _$failedField; - try { - _$failedField = 'expireDate'; - _expireDate?.build(); + try { + _$failedField = 'provisioningApi'; + provisioningApi.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group', - _$failedField, - e.toString()); + throw BuiltValueNestedFieldError(r'CoreProvisioningApiCapabilities', _$failedField, e.toString()); } rethrow; } @@ -13250,790 +14737,760 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Fil } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate { +class _$CoreThemingPublicCapabilities_Theming extends CoreThemingPublicCapabilities_Theming { @override - final bool enabled; + 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 _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate( - [void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder() - ..update(updates)) - ._build(); + factory _$CoreThemingPublicCapabilities_Theming( + [void Function(CoreThemingPublicCapabilities_ThemingBuilder)? updates]) => + (CoreThemingPublicCapabilities_ThemingBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate._( - {required this.enabled}) + _$CoreThemingPublicCapabilities_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'CoreThemingPublicCapabilities_Theming', 'name'); + BuiltValueNullFieldError.checkNotNull(url, r'CoreThemingPublicCapabilities_Theming', 'url'); + BuiltValueNullFieldError.checkNotNull(slogan, r'CoreThemingPublicCapabilities_Theming', 'slogan'); + BuiltValueNullFieldError.checkNotNull(color, r'CoreThemingPublicCapabilities_Theming', 'color'); + BuiltValueNullFieldError.checkNotNull(colorText, r'CoreThemingPublicCapabilities_Theming', 'colorText'); + BuiltValueNullFieldError.checkNotNull(colorElement, r'CoreThemingPublicCapabilities_Theming', 'colorElement'); + BuiltValueNullFieldError.checkNotNull( + colorElementBright, r'CoreThemingPublicCapabilities_Theming', 'colorElementBright'); BuiltValueNullFieldError.checkNotNull( - enabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate', - 'enabled'); + colorElementDark, r'CoreThemingPublicCapabilities_Theming', 'colorElementDark'); + BuiltValueNullFieldError.checkNotNull(logo, r'CoreThemingPublicCapabilities_Theming', 'logo'); + BuiltValueNullFieldError.checkNotNull(background, r'CoreThemingPublicCapabilities_Theming', 'background'); + BuiltValueNullFieldError.checkNotNull(backgroundPlain, r'CoreThemingPublicCapabilities_Theming', 'backgroundPlain'); + BuiltValueNullFieldError.checkNotNull( + backgroundDefault, r'CoreThemingPublicCapabilities_Theming', 'backgroundDefault'); + BuiltValueNullFieldError.checkNotNull(logoheader, r'CoreThemingPublicCapabilities_Theming', 'logoheader'); + BuiltValueNullFieldError.checkNotNull(favicon, r'CoreThemingPublicCapabilities_Theming', 'favicon'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate rebuild( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder) - updates) => + CoreThemingPublicCapabilities_Theming rebuild(void Function(CoreThemingPublicCapabilities_ThemingBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder - toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder() - ..replace(this); + CoreThemingPublicCapabilities_ThemingBuilder toBuilder() => + CoreThemingPublicCapabilities_ThemingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other - is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate && - enabled == other.enabled; + return other is CoreThemingPublicCapabilities_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, enabled.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'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'CoreThemingPublicCapabilities_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 CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder - implements - Builder< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder> { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate? _$v; +class CoreThemingPublicCapabilities_ThemingBuilder + implements Builder { + _$CoreThemingPublicCapabilities_Theming? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + String? _url; + String? get url => _$this._url; + set url(String? url) => _$this._url = url; + + String? _slogan; + String? get slogan => _$this._slogan; + set slogan(String? slogan) => _$this._slogan = slogan; + + String? _color; + String? get color => _$this._color; + set color(String? color) => _$this._color = color; + + String? _colorText; + String? get colorText => _$this._colorText; + set colorText(String? colorText) => _$this._colorText = colorText; + + String? _colorElement; + String? get colorElement => _$this._colorElement; + set colorElement(String? colorElement) => _$this._colorElement = colorElement; + + String? _colorElementBright; + String? get colorElementBright => _$this._colorElementBright; + set colorElementBright(String? colorElementBright) => _$this._colorElementBright = colorElementBright; + + String? _colorElementDark; + String? get colorElementDark => _$this._colorElementDark; + set colorElementDark(String? colorElementDark) => _$this._colorElementDark = colorElementDark; + + String? _logo; + String? get logo => _$this._logo; + set logo(String? logo) => _$this._logo = logo; + + String? _background; + String? get background => _$this._background; + set background(String? background) => _$this._background = background; + + bool? _backgroundPlain; + bool? get backgroundPlain => _$this._backgroundPlain; + set backgroundPlain(bool? backgroundPlain) => _$this._backgroundPlain = backgroundPlain; + + bool? _backgroundDefault; + bool? get backgroundDefault => _$this._backgroundDefault; + set backgroundDefault(bool? backgroundDefault) => _$this._backgroundDefault = backgroundDefault; + + String? _logoheader; + String? get logoheader => _$this._logoheader; + set logoheader(String? logoheader) => _$this._logoheader = logoheader; + + String? _favicon; + String? get favicon => _$this._favicon; + set favicon(String? favicon) => _$this._favicon = favicon; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder(); + CoreThemingPublicCapabilities_ThemingBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder - get _$this { + CoreThemingPublicCapabilities_ThemingBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _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( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate other) { + void replace(CoreThemingPublicCapabilities_Theming other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other - as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate; + _$v = other as _$CoreThemingPublicCapabilities_Theming; } @override - void update( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder)? - updates) { + void update(void Function(CoreThemingPublicCapabilities_ThemingBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate build() => - _build(); + CoreThemingPublicCapabilities_Theming build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate _build() { + _$CoreThemingPublicCapabilities_Theming _build() { final _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate', - 'enabled')); + _$CoreThemingPublicCapabilities_Theming._( + name: BuiltValueNullFieldError.checkNotNull(name, r'CoreThemingPublicCapabilities_Theming', 'name'), + url: BuiltValueNullFieldError.checkNotNull(url, r'CoreThemingPublicCapabilities_Theming', 'url'), + slogan: BuiltValueNullFieldError.checkNotNull(slogan, r'CoreThemingPublicCapabilities_Theming', 'slogan'), + color: BuiltValueNullFieldError.checkNotNull(color, r'CoreThemingPublicCapabilities_Theming', 'color'), + colorText: + BuiltValueNullFieldError.checkNotNull(colorText, r'CoreThemingPublicCapabilities_Theming', 'colorText'), + colorElement: BuiltValueNullFieldError.checkNotNull( + colorElement, r'CoreThemingPublicCapabilities_Theming', 'colorElement'), + colorElementBright: BuiltValueNullFieldError.checkNotNull( + colorElementBright, r'CoreThemingPublicCapabilities_Theming', 'colorElementBright'), + colorElementDark: BuiltValueNullFieldError.checkNotNull( + colorElementDark, r'CoreThemingPublicCapabilities_Theming', 'colorElementDark'), + logo: BuiltValueNullFieldError.checkNotNull(logo, r'CoreThemingPublicCapabilities_Theming', 'logo'), + background: BuiltValueNullFieldError.checkNotNull( + background, r'CoreThemingPublicCapabilities_Theming', 'background'), + backgroundPlain: BuiltValueNullFieldError.checkNotNull( + backgroundPlain, r'CoreThemingPublicCapabilities_Theming', 'backgroundPlain'), + backgroundDefault: BuiltValueNullFieldError.checkNotNull( + backgroundDefault, r'CoreThemingPublicCapabilities_Theming', 'backgroundDefault'), + logoheader: BuiltValueNullFieldError.checkNotNull( + logoheader, r'CoreThemingPublicCapabilities_Theming', 'logoheader'), + favicon: + BuiltValueNullFieldError.checkNotNull(favicon, r'CoreThemingPublicCapabilities_Theming', 'favicon')); replace(_$result); return _$result; } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported { +class _$CoreThemingPublicCapabilities extends CoreThemingPublicCapabilities { @override - final bool enabled; + final CoreThemingPublicCapabilities_Theming theming; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported( - [void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder() - ..update(updates)) - ._build(); + factory _$CoreThemingPublicCapabilities([void Function(CoreThemingPublicCapabilitiesBuilder)? updates]) => + (CoreThemingPublicCapabilitiesBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported._( - {required this.enabled}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - enabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported', - 'enabled'); + _$CoreThemingPublicCapabilities._({required this.theming}) : super._() { + BuiltValueNullFieldError.checkNotNull(theming, r'CoreThemingPublicCapabilities', 'theming'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported - rebuild( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder) - updates) => - (toBuilder()..update(updates)).build(); + CoreThemingPublicCapabilities rebuild(void Function(CoreThemingPublicCapabilitiesBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder - toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder() - ..replace(this); + CoreThemingPublicCapabilitiesBuilder toBuilder() => CoreThemingPublicCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other - is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported && - enabled == other.enabled; + return other is CoreThemingPublicCapabilities && 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'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported') - ..add('enabled', enabled)) - .toString(); + return (newBuiltValueToStringHelper(r'CoreThemingPublicCapabilities')..add('theming', theming)).toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder - implements - Builder< - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder> { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported? - _$v; +class CoreThemingPublicCapabilitiesBuilder + implements Builder { + _$CoreThemingPublicCapabilities? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + CoreThemingPublicCapabilities_ThemingBuilder? _theming; + CoreThemingPublicCapabilities_ThemingBuilder get theming => + _$this._theming ??= CoreThemingPublicCapabilities_ThemingBuilder(); + set theming(CoreThemingPublicCapabilities_ThemingBuilder? theming) => _$this._theming = theming; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); + CoreThemingPublicCapabilitiesBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder - get _$this { + CoreThemingPublicCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _theming = $v.theming.toBuilder(); _$v = null; } return this; } @override - void replace( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported - other) { + void replace(CoreThemingPublicCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other - as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported; + _$v = other as _$CoreThemingPublicCapabilities; } @override - void update( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? - updates) { + void update(void Function(CoreThemingPublicCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported - build() => _build(); + CoreThemingPublicCapabilities build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported - _build() { - final _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported', - 'enabled')); + _$CoreThemingPublicCapabilities _build() { + _$CoreThemingPublicCapabilities _$result; + try { + _$result = _$v ?? _$CoreThemingPublicCapabilities._(theming: theming.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'theming'; + theming.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CoreThemingPublicCapabilities', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation { - @override - final bool outgoing; +class _$CoreUserStatusCapabilities_UserStatus extends CoreUserStatusCapabilities_UserStatus { @override - final bool incoming; + final bool enabled; @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate - expireDate; + final bool restore; @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported - expireDateSupported; + final bool supportsEmoji; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation( - [void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder() - ..update(updates)) - ._build(); + factory _$CoreUserStatusCapabilities_UserStatus( + [void Function(CoreUserStatusCapabilities_UserStatusBuilder)? updates]) => + (CoreUserStatusCapabilities_UserStatusBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation._( - {required this.outgoing, required this.incoming, required this.expireDate, required this.expireDateSupported}) + _$CoreUserStatusCapabilities_UserStatus._({required this.enabled, required this.restore, required this.supportsEmoji}) : super._() { - BuiltValueNullFieldError.checkNotNull(outgoing, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation', 'outgoing'); - BuiltValueNullFieldError.checkNotNull(incoming, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation', 'incoming'); - BuiltValueNullFieldError.checkNotNull( - expireDate, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation', - 'expireDate'); - BuiltValueNullFieldError.checkNotNull( - expireDateSupported, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation', - 'expireDateSupported'); + BuiltValueNullFieldError.checkNotNull(enabled, r'CoreUserStatusCapabilities_UserStatus', 'enabled'); + BuiltValueNullFieldError.checkNotNull(restore, r'CoreUserStatusCapabilities_UserStatus', 'restore'); + BuiltValueNullFieldError.checkNotNull(supportsEmoji, r'CoreUserStatusCapabilities_UserStatus', 'supportsEmoji'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation rebuild( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder) - updates) => + CoreUserStatusCapabilities_UserStatus rebuild(void Function(CoreUserStatusCapabilities_UserStatusBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder() - ..replace(this); + CoreUserStatusCapabilities_UserStatusBuilder toBuilder() => + CoreUserStatusCapabilities_UserStatusBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation && - outgoing == other.outgoing && - incoming == other.incoming && - expireDate == other.expireDate && - expireDateSupported == other.expireDateSupported; + return other is CoreUserStatusCapabilities_UserStatus && + enabled == other.enabled && + restore == other.restore && + supportsEmoji == other.supportsEmoji; } @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, enabled.hashCode); + _$hash = $jc(_$hash, restore.hashCode); + _$hash = $jc(_$hash, supportsEmoji.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation') - ..add('outgoing', outgoing) - ..add('incoming', incoming) - ..add('expireDate', expireDate) - ..add('expireDateSupported', expireDateSupported)) + return (newBuiltValueToStringHelper(r'CoreUserStatusCapabilities_UserStatus') + ..add('enabled', enabled) + ..add('restore', restore) + ..add('supportsEmoji', supportsEmoji)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder - implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation? _$v; - - bool? _outgoing; - bool? get outgoing => _$this._outgoing; - set outgoing(bool? outgoing) => _$this._outgoing = outgoing; +class CoreUserStatusCapabilities_UserStatusBuilder + implements Builder { + _$CoreUserStatusCapabilities_UserStatus? _$v; - bool? _incoming; - bool? get incoming => _$this._incoming; - set incoming(bool? incoming) => _$this._incoming = incoming; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder? - _expireDate; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder - get expireDate => _$this._expireDate ??= - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder(); - set expireDate( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder? - expireDate) => - _$this._expireDate = expireDate; + bool? _restore; + bool? get restore => _$this._restore; + set restore(bool? restore) => _$this._restore = restore; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? - _expireDateSupported; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder - get expireDateSupported => _$this._expireDateSupported ??= - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); - set expireDateSupported( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? - expireDateSupported) => - _$this._expireDateSupported = expireDateSupported; + bool? _supportsEmoji; + bool? get supportsEmoji => _$this._supportsEmoji; + set supportsEmoji(bool? supportsEmoji) => _$this._supportsEmoji = supportsEmoji; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder(); + CoreUserStatusCapabilities_UserStatusBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder get _$this { + CoreUserStatusCapabilities_UserStatusBuilder get _$this { final $v = _$v; if ($v != null) { - _outgoing = $v.outgoing; - _incoming = $v.incoming; - _expireDate = $v.expireDate.toBuilder(); - _expireDateSupported = $v.expireDateSupported.toBuilder(); + _enabled = $v.enabled; + _restore = $v.restore; + _supportsEmoji = $v.supportsEmoji; _$v = null; } return this; } @override - void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation other) { + void replace(CoreUserStatusCapabilities_UserStatus other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation; + _$v = other as _$CoreUserStatusCapabilities_UserStatus; } @override - void update( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder)? - updates) { + void update(void Function(CoreUserStatusCapabilities_UserStatusBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation build() => _build(); + CoreUserStatusCapabilities_UserStatus build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation _build() { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation _$result; - try { - _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation._( - outgoing: BuiltValueNullFieldError.checkNotNull( - outgoing, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation', - 'outgoing'), - incoming: BuiltValueNullFieldError.checkNotNull( - incoming, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_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'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation', - _$failedField, - e.toString()); - } - rethrow; - } + _$CoreUserStatusCapabilities_UserStatus _build() { + final _$result = _$v ?? + _$CoreUserStatusCapabilities_UserStatus._( + enabled: + BuiltValueNullFieldError.checkNotNull(enabled, r'CoreUserStatusCapabilities_UserStatus', 'enabled'), + restore: + BuiltValueNullFieldError.checkNotNull(restore, r'CoreUserStatusCapabilities_UserStatus', 'restore'), + supportsEmoji: BuiltValueNullFieldError.checkNotNull( + supportsEmoji, r'CoreUserStatusCapabilities_UserStatus', 'supportsEmoji')); replace(_$result); return _$result; } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee { - @override - final bool queryLookupDefault; +class _$CoreUserStatusCapabilities extends CoreUserStatusCapabilities { @override - final bool alwaysShowUnique; + final CoreUserStatusCapabilities_UserStatus userStatus; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee( - [void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder() - ..update(updates)) - ._build(); + factory _$CoreUserStatusCapabilities([void Function(CoreUserStatusCapabilitiesBuilder)? updates]) => + (CoreUserStatusCapabilitiesBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee._( - {required this.queryLookupDefault, required this.alwaysShowUnique}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - queryLookupDefault, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee', - 'queryLookupDefault'); - BuiltValueNullFieldError.checkNotNull( - alwaysShowUnique, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee', - 'alwaysShowUnique'); + _$CoreUserStatusCapabilities._({required this.userStatus}) : super._() { + BuiltValueNullFieldError.checkNotNull(userStatus, r'CoreUserStatusCapabilities', 'userStatus'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee rebuild( - void Function( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder) - updates) => + CoreUserStatusCapabilities rebuild(void Function(CoreUserStatusCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder() - ..replace(this); + CoreUserStatusCapabilitiesBuilder toBuilder() => CoreUserStatusCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee && - queryLookupDefault == other.queryLookupDefault && - alwaysShowUnique == other.alwaysShowUnique; + return other is CoreUserStatusCapabilities && userStatus == other.userStatus; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, queryLookupDefault.hashCode); - _$hash = $jc(_$hash, alwaysShowUnique.hashCode); + _$hash = $jc(_$hash, userStatus.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee') - ..add('queryLookupDefault', queryLookupDefault) - ..add('alwaysShowUnique', alwaysShowUnique)) - .toString(); + return (newBuiltValueToStringHelper(r'CoreUserStatusCapabilities')..add('userStatus', userStatus)).toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder - implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee? _$v; - - bool? _queryLookupDefault; - bool? get queryLookupDefault => _$this._queryLookupDefault; - set queryLookupDefault(bool? queryLookupDefault) => _$this._queryLookupDefault = queryLookupDefault; +class CoreUserStatusCapabilitiesBuilder + implements Builder { + _$CoreUserStatusCapabilities? _$v; - bool? _alwaysShowUnique; - bool? get alwaysShowUnique => _$this._alwaysShowUnique; - set alwaysShowUnique(bool? alwaysShowUnique) => _$this._alwaysShowUnique = alwaysShowUnique; + CoreUserStatusCapabilities_UserStatusBuilder? _userStatus; + CoreUserStatusCapabilities_UserStatusBuilder get userStatus => + _$this._userStatus ??= CoreUserStatusCapabilities_UserStatusBuilder(); + set userStatus(CoreUserStatusCapabilities_UserStatusBuilder? userStatus) => _$this._userStatus = userStatus; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder(); + CoreUserStatusCapabilitiesBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder get _$this { + CoreUserStatusCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _queryLookupDefault = $v.queryLookupDefault; - _alwaysShowUnique = $v.alwaysShowUnique; + _userStatus = $v.userStatus.toBuilder(); _$v = null; } return this; } @override - void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee other) { + void replace(CoreUserStatusCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee; + _$v = other as _$CoreUserStatusCapabilities; } @override - void update( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder)? - updates) { + void update(void Function(CoreUserStatusCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee build() => _build(); + CoreUserStatusCapabilities build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee _build() { - final _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee._( - queryLookupDefault: BuiltValueNullFieldError.checkNotNull( - queryLookupDefault, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee', - 'queryLookupDefault'), - alwaysShowUnique: BuiltValueNullFieldError.checkNotNull( - alwaysShowUnique, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee', - 'alwaysShowUnique')); + _$CoreUserStatusCapabilities _build() { + _$CoreUserStatusCapabilities _$result; + try { + _$result = _$v ?? _$CoreUserStatusCapabilities._(userStatus: userStatus.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'userStatus'; + userStatus.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CoreUserStatusCapabilities', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing { - @override - final bool apiEnabled; - @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public public; +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities { @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User user; + final JsonObject data; @override - final bool resharing; + final CoreFilesSharingCapabilities? filesSharingCapabilities; @override - final bool? groupSharing; + final CoreNotesCapabilities? notesCapabilities; @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group? group; + final CoreNotificationsCapabilities? notificationsCapabilities; @override - final int? defaultPermissions; + final CoreProvisioningApiCapabilities? provisioningApiCapabilities; @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation federation; + final CoreThemingPublicCapabilities? themingPublicCapabilities; @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee sharee; + final CoreUserStatusCapabilities? userStatusCapabilities; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing( - [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder()..update(updates)) - ._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities( + [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder)? updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_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}) + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities._( + {required this.data, + this.filesSharingCapabilities, + this.notesCapabilities, + this.notificationsCapabilities, + this.provisioningApiCapabilities, + this.themingPublicCapabilities, + this.userStatusCapabilities}) : super._() { - BuiltValueNullFieldError.checkNotNull(apiEnabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing', 'apiEnabled'); - BuiltValueNullFieldError.checkNotNull( - public, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing', 'public'); - BuiltValueNullFieldError.checkNotNull( - user, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing', 'user'); BuiltValueNullFieldError.checkNotNull( - resharing, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing', 'resharing'); - BuiltValueNullFieldError.checkNotNull(federation, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing', 'federation'); - BuiltValueNullFieldError.checkNotNull( - sharee, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing', 'sharee'); + data, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities', 'data'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing rebuild( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder) - updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities rebuild( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_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 CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities && + data == other.data && + filesSharingCapabilities == other.filesSharingCapabilities && + notesCapabilities == other.notesCapabilities && + notificationsCapabilities == other.notificationsCapabilities && + provisioningApiCapabilities == other.provisioningApiCapabilities && + themingPublicCapabilities == other.themingPublicCapabilities && + userStatusCapabilities == other.userStatusCapabilities; } @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, data.hashCode); + _$hash = $jc(_$hash, filesSharingCapabilities.hashCode); + _$hash = $jc(_$hash, notesCapabilities.hashCode); + _$hash = $jc(_$hash, notificationsCapabilities.hashCode); + _$hash = $jc(_$hash, provisioningApiCapabilities.hashCode); + _$hash = $jc(_$hash, themingPublicCapabilities.hashCode); + _$hash = $jc(_$hash, userStatusCapabilities.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_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'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities') + ..add('data', data) + ..add('filesSharingCapabilities', filesSharingCapabilities) + ..add('notesCapabilities', notesCapabilities) + ..add('notificationsCapabilities', notificationsCapabilities) + ..add('provisioningApiCapabilities', provisioningApiCapabilities) + ..add('themingPublicCapabilities', themingPublicCapabilities) + ..add('userStatusCapabilities', userStatusCapabilities)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing? _$v; - - bool? _apiEnabled; - bool? get apiEnabled => _$this._apiEnabled; - set apiEnabled(bool? apiEnabled) => _$this._apiEnabled = apiEnabled; - - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder? _public; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder get public => - _$this._public ??= - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder(); - set public( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder? public) => - _$this._public = public; - - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder? _user; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder get user => - _$this._user ??= - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder(); - set user(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder? user) => - _$this._user = user; - - bool? _resharing; - bool? get resharing => _$this._resharing; - set resharing(bool? resharing) => _$this._resharing = resharing; - - bool? _groupSharing; - bool? get groupSharing => _$this._groupSharing; - set groupSharing(bool? groupSharing) => _$this._groupSharing = groupSharing; - - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder? _group; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder get group => - _$this._group ??= - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder(); - set group(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder? group) => - _$this._group = group; - - int? _defaultPermissions; - int? get defaultPermissions => _$this._defaultPermissions; - set defaultPermissions(int? defaultPermissions) => _$this._defaultPermissions = defaultPermissions; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities? _$v; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder? _federation; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder - get federation => _$this._federation ??= - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder(); - set federation( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder? - federation) => - _$this._federation = federation; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder? _sharee; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder get sharee => - _$this._sharee ??= - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder(); - set sharee( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder? sharee) => - _$this._sharee = sharee; + CoreFilesSharingCapabilitiesBuilder? _filesSharingCapabilities; + CoreFilesSharingCapabilitiesBuilder get filesSharingCapabilities => + _$this._filesSharingCapabilities ??= CoreFilesSharingCapabilitiesBuilder(); + set filesSharingCapabilities(CoreFilesSharingCapabilitiesBuilder? filesSharingCapabilities) => + _$this._filesSharingCapabilities = filesSharingCapabilities; + + CoreNotesCapabilitiesBuilder? _notesCapabilities; + CoreNotesCapabilitiesBuilder get notesCapabilities => _$this._notesCapabilities ??= CoreNotesCapabilitiesBuilder(); + set notesCapabilities(CoreNotesCapabilitiesBuilder? notesCapabilities) => + _$this._notesCapabilities = notesCapabilities; + + CoreNotificationsCapabilitiesBuilder? _notificationsCapabilities; + CoreNotificationsCapabilitiesBuilder get notificationsCapabilities => + _$this._notificationsCapabilities ??= CoreNotificationsCapabilitiesBuilder(); + set notificationsCapabilities(CoreNotificationsCapabilitiesBuilder? notificationsCapabilities) => + _$this._notificationsCapabilities = notificationsCapabilities; + + CoreProvisioningApiCapabilitiesBuilder? _provisioningApiCapabilities; + CoreProvisioningApiCapabilitiesBuilder get provisioningApiCapabilities => + _$this._provisioningApiCapabilities ??= CoreProvisioningApiCapabilitiesBuilder(); + set provisioningApiCapabilities(CoreProvisioningApiCapabilitiesBuilder? provisioningApiCapabilities) => + _$this._provisioningApiCapabilities = provisioningApiCapabilities; + + CoreThemingPublicCapabilitiesBuilder? _themingPublicCapabilities; + CoreThemingPublicCapabilitiesBuilder get themingPublicCapabilities => + _$this._themingPublicCapabilities ??= CoreThemingPublicCapabilitiesBuilder(); + set themingPublicCapabilities(CoreThemingPublicCapabilitiesBuilder? themingPublicCapabilities) => + _$this._themingPublicCapabilities = themingPublicCapabilities; + + CoreUserStatusCapabilitiesBuilder? _userStatusCapabilities; + CoreUserStatusCapabilitiesBuilder get userStatusCapabilities => + _$this._userStatusCapabilities ??= CoreUserStatusCapabilitiesBuilder(); + set userStatusCapabilities(CoreUserStatusCapabilitiesBuilder? userStatusCapabilities) => + _$this._userStatusCapabilities = userStatusCapabilities; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder 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(); + _data = $v.data; + _filesSharingCapabilities = $v.filesSharingCapabilities?.toBuilder(); + _notesCapabilities = $v.notesCapabilities?.toBuilder(); + _notificationsCapabilities = $v.notificationsCapabilities?.toBuilder(); + _provisioningApiCapabilities = $v.provisioningApiCapabilities?.toBuilder(); + _themingPublicCapabilities = $v.themingPublicCapabilities?.toBuilder(); + _userStatusCapabilities = $v.userStatusCapabilities?.toBuilder(); _$v = null; } return this; } @override - void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities; } @override - void update( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder)? - updates) { + void update(void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing _build() { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing _$result; + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities _build() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities _$result; try { _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing._( - apiEnabled: BuiltValueNullFieldError.checkNotNull(apiEnabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing', 'apiEnabled'), - public: public.build(), - user: user.build(), - resharing: BuiltValueNullFieldError.checkNotNull(resharing, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing', 'resharing'), - groupSharing: groupSharing, - group: _group?.build(), - defaultPermissions: defaultPermissions, - federation: federation.build(), - sharee: sharee.build()); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities._( + data: BuiltValueNullFieldError.checkNotNull( + data, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities', 'data'), + filesSharingCapabilities: _filesSharingCapabilities?.build(), + notesCapabilities: _notesCapabilities?.build(), + notificationsCapabilities: _notificationsCapabilities?.build(), + provisioningApiCapabilities: _provisioningApiCapabilities?.build(), + themingPublicCapabilities: _themingPublicCapabilities?.build(), + userStatusCapabilities: _userStatusCapabilities?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'public'; - public.build(); - _$failedField = 'user'; - user.build(); - - _$failedField = 'group'; - _group?.build(); - - _$failedField = 'federation'; - federation.build(); - _$failedField = 'sharee'; - sharee.build(); + _$failedField = 'filesSharingCapabilities'; + _filesSharingCapabilities?.build(); + _$failedField = 'notesCapabilities'; + _notesCapabilities?.build(); + _$failedField = 'notificationsCapabilities'; + _notificationsCapabilities?.build(); + _$failedField = 'provisioningApiCapabilities'; + _provisioningApiCapabilities?.build(); + _$failedField = 'themingPublicCapabilities'; + _themingPublicCapabilities?.build(); + _$failedField = 'userStatusCapabilities'; + _userStatusCapabilities?.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing', - _$failedField, - e.toString()); + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities', _$failedField, e.toString()); } rethrow; } @@ -14042,113 +15499,120 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Fil } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data { @override - final BuiltList? apiVersion; + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version version; @override - final String? version; + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities capabilities; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes( - [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data( + [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes._({this.apiVersion, this.version}) - : super._(); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data._({required this.version, required this.capabilities}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + version, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data', 'version'); + BuiltValueNullFieldError.checkNotNull( + capabilities, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data', 'capabilities'); + } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes rebuild( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes && - apiVersion == other.apiVersion && - version == other.version; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data && + version == other.version && + capabilities == other.capabilities; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, apiVersion.hashCode); _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, capabilities.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes') - ..add('apiVersion', apiVersion) - ..add('version', version)) + return (newBuiltValueToStringHelper(r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data') + ..add('version', version) + ..add('capabilities', capabilities)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes? _$v; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data? _$v; - ListBuilder? _apiVersion; - ListBuilder get apiVersion => _$this._apiVersion ??= ListBuilder(); - set apiVersion(ListBuilder? apiVersion) => _$this._apiVersion = apiVersion; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder? _version; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder get version => + _$this._version ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder(); + set version(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder? version) => + _$this._version = version; - String? _version; - String? get version => _$this._version; - set version(String? version) => _$this._version = version; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder? _capabilities; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder get capabilities => + _$this._capabilities ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder(); + set capabilities(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder? capabilities) => + _$this._capabilities = capabilities; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _apiVersion = $v.apiVersion?.toBuilder(); - _version = $v.version; + _version = $v.version.toBuilder(); + _capabilities = $v.capabilities.toBuilder(); _$v = null; } return this; } @override - void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data; } @override - void update( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder)? updates) { + void update(void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes _build() { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes _$result; + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data _build() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data _$result; try { _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes._( - apiVersion: _apiVersion?.build(), version: version); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data._( + version: version.build(), capabilities: capabilities.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'apiVersion'; - _apiVersion?.build(); + _$failedField = 'version'; + version.build(); + _$failedField = 'capabilities'; + capabilities.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes', - _$failedField, - e.toString()); + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -14157,134 +15621,111 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Not } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications { - @override - final BuiltList? ocsEndpoints; +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs { @override - final BuiltList? push; + final CoreOCSMeta meta; @override - final BuiltList? adminNotifications; + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data data; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications( - [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder()..update(updates)) - ._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs( + [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications._( - {this.ocsEndpoints, this.push, this.adminNotifications}) - : super._(); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs', 'data'); + } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications rebuild( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder) - updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs rebuild( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications && - ocsEndpoints == other.ocsEndpoints && - push == other.push && - adminNotifications == other.adminNotifications; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @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, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications') - ..add('ocsEndpoints', ocsEndpoints) - ..add('push', push) - ..add('adminNotifications', adminNotifications)) + return (newBuiltValueToStringHelper(r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications? _$v; - - ListBuilder? _ocsEndpoints; - ListBuilder get ocsEndpoints => _$this._ocsEndpoints ??= ListBuilder(); - set ocsEndpoints(ListBuilder? ocsEndpoints) => _$this._ocsEndpoints = ocsEndpoints; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs? _$v; - ListBuilder? _push; - ListBuilder get push => _$this._push ??= ListBuilder(); - set push(ListBuilder? push) => _$this._push = push; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - ListBuilder? _adminNotifications; - ListBuilder get adminNotifications => _$this._adminNotifications ??= ListBuilder(); - set adminNotifications(ListBuilder? adminNotifications) => _$this._adminNotifications = adminNotifications; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _ocsEndpoints = $v.ocsEndpoints?.toBuilder(); - _push = $v.push?.toBuilder(); - _adminNotifications = $v.adminNotifications?.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs; } @override - void update( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder)? - updates) { + void update(void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications _build() { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications _$result; + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs _build() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications._( - ocsEndpoints: _ocsEndpoints?.build(), - push: _push?.build(), - adminNotifications: _adminNotifications?.build()); + _$result = + _$v ?? _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocsEndpoints'; - _ocsEndpoints?.build(); - _$failedField = 'push'; - _push?.build(); - _$failedField = 'adminNotifications'; - _adminNotifications?.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications', - _$failedField, - e.toString()); + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -14293,757 +15734,443 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Not } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi { - @override - final String version; - @override - final int accountPropertyScopesVersion; - @override - final bool accountPropertyScopesFederatedEnabled; +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson extends CoreOcsGetCapabilitiesResponse200ApplicationJson { @override - final bool accountPropertyScopesPublishedEnabled; + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs ocs; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi( - [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder()..update(updates)) - ._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson( + [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder)? updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi._( - {required this.version, - required this.accountPropertyScopesVersion, - required this.accountPropertyScopesFederatedEnabled, - required this.accountPropertyScopesPublishedEnabled}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - version, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi', 'version'); - BuiltValueNullFieldError.checkNotNull( - accountPropertyScopesVersion, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi', - 'accountPropertyScopesVersion'); - BuiltValueNullFieldError.checkNotNull( - accountPropertyScopesFederatedEnabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi', - 'accountPropertyScopesFederatedEnabled'); - BuiltValueNullFieldError.checkNotNull( - accountPropertyScopesPublishedEnabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi', - 'accountPropertyScopesPublishedEnabled'); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreOcsGetCapabilitiesResponse200ApplicationJson', 'ocs'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi rebuild( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder) - updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson rebuild( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi && - version == other.version && - accountPropertyScopesVersion == other.accountPropertyScopesVersion && - accountPropertyScopesFederatedEnabled == other.accountPropertyScopesFederatedEnabled && - accountPropertyScopesPublishedEnabled == other.accountPropertyScopesPublishedEnabled; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, version.hashCode); - _$hash = $jc(_$hash, accountPropertyScopesVersion.hashCode); - _$hash = $jc(_$hash, accountPropertyScopesFederatedEnabled.hashCode); - _$hash = $jc(_$hash, accountPropertyScopesPublishedEnabled.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi') - ..add('version', version) - ..add('accountPropertyScopesVersion', accountPropertyScopesVersion) - ..add('accountPropertyScopesFederatedEnabled', accountPropertyScopesFederatedEnabled) - ..add('accountPropertyScopesPublishedEnabled', accountPropertyScopesPublishedEnabled)) + return (newBuiltValueToStringHelper(r'CoreOcsGetCapabilitiesResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi? _$v; - - String? _version; - String? get version => _$this._version; - set version(String? version) => _$this._version = version; - - int? _accountPropertyScopesVersion; - int? get accountPropertyScopesVersion => _$this._accountPropertyScopesVersion; - set accountPropertyScopesVersion(int? accountPropertyScopesVersion) => - _$this._accountPropertyScopesVersion = accountPropertyScopesVersion; - - bool? _accountPropertyScopesFederatedEnabled; - bool? get accountPropertyScopesFederatedEnabled => _$this._accountPropertyScopesFederatedEnabled; - set accountPropertyScopesFederatedEnabled(bool? accountPropertyScopesFederatedEnabled) => - _$this._accountPropertyScopesFederatedEnabled = accountPropertyScopesFederatedEnabled; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson? _$v; - bool? _accountPropertyScopesPublishedEnabled; - bool? get accountPropertyScopesPublishedEnabled => _$this._accountPropertyScopesPublishedEnabled; - set accountPropertyScopesPublishedEnabled(bool? accountPropertyScopesPublishedEnabled) => - _$this._accountPropertyScopesPublishedEnabled = accountPropertyScopesPublishedEnabled; + CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder? _ocs; + CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _version = $v.version; - _accountPropertyScopesVersion = $v.accountPropertyScopesVersion; - _accountPropertyScopesFederatedEnabled = $v.accountPropertyScopesFederatedEnabled; - _accountPropertyScopesPublishedEnabled = $v.accountPropertyScopesPublishedEnabled; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson; } @override - void update( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder)? - updates) { + void update(void Function(CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi _build() { - final _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi._( - version: BuiltValueNullFieldError.checkNotNull(version, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi', 'version'), - accountPropertyScopesVersion: BuiltValueNullFieldError.checkNotNull( - accountPropertyScopesVersion, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi', - 'accountPropertyScopesVersion'), - accountPropertyScopesFederatedEnabled: BuiltValueNullFieldError.checkNotNull( - accountPropertyScopesFederatedEnabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi', - 'accountPropertyScopesFederatedEnabled'), - accountPropertyScopesPublishedEnabled: BuiltValueNullFieldError.checkNotNull( - accountPropertyScopesPublishedEnabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi', - 'accountPropertyScopesPublishedEnabled')); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson _build() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreOcsGetCapabilitiesResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming { - @override - final String name; - @override - final String url; - @override - final String slogan; - @override - final String color; - @override - final String colorText; - @override - final String colorElement; - @override - final String colorElementBright; - @override - final String colorElementDark; - @override - final String logo; - @override - final String background; - @override - final bool backgroundPlain; - @override - final bool backgroundDefault; +class _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs + extends CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs { @override - final String logoheader; + final CoreOCSMeta meta; @override - final String favicon; + final JsonObject data; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming( - [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder()..update(updates)) - ._build(); + factory _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs( + [void Function(CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming._( - {required this.name, - required this.url, - required this.slogan, - required this.color, - required this.colorText, - required this.colorElement, - required this.colorElementBright, - required this.colorElementDark, - required this.logo, - required this.background, - required this.backgroundPlain, - required this.backgroundDefault, - required this.logoheader, - required this.favicon}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - name, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'name'); - BuiltValueNullFieldError.checkNotNull( - url, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'url'); - BuiltValueNullFieldError.checkNotNull( - slogan, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'slogan'); - BuiltValueNullFieldError.checkNotNull( - color, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'color'); - BuiltValueNullFieldError.checkNotNull( - colorText, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'colorText'); - BuiltValueNullFieldError.checkNotNull(colorElement, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'colorElement'); - BuiltValueNullFieldError.checkNotNull(colorElementBright, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'colorElementBright'); - BuiltValueNullFieldError.checkNotNull(colorElementDark, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'colorElementDark'); - BuiltValueNullFieldError.checkNotNull( - logo, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'logo'); - BuiltValueNullFieldError.checkNotNull( - background, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'background'); - BuiltValueNullFieldError.checkNotNull(backgroundPlain, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'backgroundPlain'); - BuiltValueNullFieldError.checkNotNull(backgroundDefault, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'backgroundDefault'); - BuiltValueNullFieldError.checkNotNull( - logoheader, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'logoheader'); - BuiltValueNullFieldError.checkNotNull( - favicon, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'favicon'); + _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs', 'data'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming rebuild( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder) - updates) => + CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs rebuild( + void Function(CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder()..replace(this); + CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming && - name == other.name && - url == other.url && - slogan == other.slogan && - color == other.color && - colorText == other.colorText && - colorElement == other.colorElement && - colorElementBright == other.colorElementBright && - colorElementDark == other.colorElementDark && - logo == other.logo && - background == other.background && - backgroundPlain == other.backgroundPlain && - backgroundDefault == other.backgroundDefault && - logoheader == other.logoheader && - favicon == other.favicon; + return other is CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @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, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming') - ..add('name', name) - ..add('url', url) - ..add('slogan', slogan) - ..add('color', color) - ..add('colorText', colorText) - ..add('colorElement', colorElement) - ..add('colorElementBright', colorElementBright) - ..add('colorElementDark', colorElementDark) - ..add('logo', logo) - ..add('background', background) - ..add('backgroundPlain', backgroundPlain) - ..add('backgroundDefault', backgroundDefault) - ..add('logoheader', logoheader) - ..add('favicon', favicon)) + return (newBuiltValueToStringHelper(r'CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder +class CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming? _$v; - - String? _name; - String? get name => _$this._name; - set name(String? name) => _$this._name = name; - - String? _url; - String? get url => _$this._url; - set url(String? url) => _$this._url = url; - - String? _slogan; - String? get slogan => _$this._slogan; - set slogan(String? slogan) => _$this._slogan = slogan; - - String? _color; - String? get color => _$this._color; - set color(String? color) => _$this._color = color; - - String? _colorText; - String? get colorText => _$this._colorText; - set colorText(String? colorText) => _$this._colorText = colorText; - - String? _colorElement; - String? get colorElement => _$this._colorElement; - set colorElement(String? colorElement) => _$this._colorElement = colorElement; - - String? _colorElementBright; - String? get colorElementBright => _$this._colorElementBright; - set colorElementBright(String? colorElementBright) => _$this._colorElementBright = colorElementBright; - - String? _colorElementDark; - String? get colorElementDark => _$this._colorElementDark; - set colorElementDark(String? colorElementDark) => _$this._colorElementDark = colorElementDark; - - String? _logo; - String? get logo => _$this._logo; - set logo(String? logo) => _$this._logo = logo; - - String? _background; - String? get background => _$this._background; - set background(String? background) => _$this._background = background; - - bool? _backgroundPlain; - bool? get backgroundPlain => _$this._backgroundPlain; - set backgroundPlain(bool? backgroundPlain) => _$this._backgroundPlain = backgroundPlain; - - bool? _backgroundDefault; - bool? get backgroundDefault => _$this._backgroundDefault; - set backgroundDefault(bool? backgroundDefault) => _$this._backgroundDefault = backgroundDefault; + Builder { + _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs? _$v; - String? _logoheader; - String? get logoheader => _$this._logoheader; - set logoheader(String? logoheader) => _$this._logoheader = logoheader; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - String? _favicon; - String? get favicon => _$this._favicon; - set favicon(String? favicon) => _$this._favicon = favicon; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder(); + CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder get _$this { + CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder 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; + _meta = $v.meta.toBuilder(); + _data = $v.data; _$v = null; } return this; } @override - void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming other) { + void replace(CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming; + _$v = other as _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs; } @override - void update( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder)? updates) { + void update(void Function(CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming build() => _build(); + CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming _build() { - final _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming._( - name: BuiltValueNullFieldError.checkNotNull( - name, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'name'), - url: BuiltValueNullFieldError.checkNotNull( - url, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'url'), - slogan: BuiltValueNullFieldError.checkNotNull( - slogan, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'slogan'), - color: BuiltValueNullFieldError.checkNotNull( - color, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'color'), - colorText: BuiltValueNullFieldError.checkNotNull( - colorText, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'colorText'), - colorElement: BuiltValueNullFieldError.checkNotNull( - colorElement, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'colorElement'), - colorElementBright: BuiltValueNullFieldError.checkNotNull( - colorElementBright, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'colorElementBright'), - colorElementDark: BuiltValueNullFieldError.checkNotNull(colorElementDark, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'colorElementDark'), - logo: BuiltValueNullFieldError.checkNotNull(logo, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'logo'), - background: BuiltValueNullFieldError.checkNotNull(background, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'background'), - backgroundPlain: BuiltValueNullFieldError.checkNotNull(backgroundPlain, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'backgroundPlain'), - backgroundDefault: BuiltValueNullFieldError.checkNotNull(backgroundDefault, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'backgroundDefault'), - logoheader: BuiltValueNullFieldError.checkNotNull(logoheader, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'logoheader'), - favicon: BuiltValueNullFieldError.checkNotNull(favicon, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'favicon')); + _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs _build() { + _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus { - @override - final bool enabled; - @override - final bool restore; +class _$CoreProfileApiSetVisibilityResponse200ApplicationJson + extends CoreProfileApiSetVisibilityResponse200ApplicationJson { @override - final bool supportsEmoji; + final CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs ocs; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus( - [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder)? - updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder()..update(updates)) - ._build(); + factory _$CoreProfileApiSetVisibilityResponse200ApplicationJson( + [void Function(CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder)? updates]) => + (CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus._( - {required this.enabled, required this.restore, required this.supportsEmoji}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - enabled, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus', 'enabled'); - BuiltValueNullFieldError.checkNotNull( - restore, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus', 'restore'); - BuiltValueNullFieldError.checkNotNull(supportsEmoji, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus', 'supportsEmoji'); + _$CoreProfileApiSetVisibilityResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreProfileApiSetVisibilityResponse200ApplicationJson', 'ocs'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus rebuild( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder) - updates) => + CoreProfileApiSetVisibilityResponse200ApplicationJson rebuild( + void Function(CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder()..replace(this); + CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder toBuilder() => + CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus && - enabled == other.enabled && - restore == other.restore && - supportsEmoji == other.supportsEmoji; + return other is CoreProfileApiSetVisibilityResponse200ApplicationJson && 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'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus') - ..add('enabled', enabled) - ..add('restore', restore) - ..add('supportsEmoji', supportsEmoji)) + return (newBuiltValueToStringHelper(r'CoreProfileApiSetVisibilityResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder +class CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; - - bool? _restore; - bool? get restore => _$this._restore; - set restore(bool? restore) => _$this._restore = restore; + Builder { + _$CoreProfileApiSetVisibilityResponse200ApplicationJson? _$v; - bool? _supportsEmoji; - bool? get supportsEmoji => _$this._supportsEmoji; - set supportsEmoji(bool? supportsEmoji) => _$this._supportsEmoji = supportsEmoji; + CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder? _ocs; + CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder(); + CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder get _$this { + CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder 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(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus other) { + void replace(CoreProfileApiSetVisibilityResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus; + _$v = other as _$CoreProfileApiSetVisibilityResponse200ApplicationJson; } @override - void update( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder)? - updates) { + void update(void Function(CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus build() => _build(); + CoreProfileApiSetVisibilityResponse200ApplicationJson build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus _build() { - final _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus._( - enabled: BuiltValueNullFieldError.checkNotNull(enabled, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus', 'enabled'), - restore: BuiltValueNullFieldError.checkNotNull(restore, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus', 'restore'), - supportsEmoji: BuiltValueNullFieldError.checkNotNull(supportsEmoji, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus', 'supportsEmoji')); + _$CoreProfileApiSetVisibilityResponse200ApplicationJson _build() { + _$CoreProfileApiSetVisibilityResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreProfileApiSetVisibilityResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreProfileApiSetVisibilityResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities { - @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing? filesSharing; - @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes? notes; +class _$CoreReference extends CoreReference { @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications? notifications; + final String richObjectType; @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi? provisioningApi; + final BuiltMap richObject; @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming? theming; + final CoreOpenGraphObject openGraphObject; @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus? userStatus; + final bool accessible; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities( - [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder)? updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder()..update(updates))._build(); + factory _$CoreReference([void Function(CoreReferenceBuilder)? updates]) => + (CoreReferenceBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities._( - {this.filesSharing, this.notes, this.notifications, this.provisioningApi, this.theming, this.userStatus}) - : super._(); + _$CoreReference._( + {required this.richObjectType, required this.richObject, required this.openGraphObject, required this.accessible}) + : super._() { + BuiltValueNullFieldError.checkNotNull(richObjectType, r'CoreReference', 'richObjectType'); + BuiltValueNullFieldError.checkNotNull(richObject, r'CoreReference', 'richObject'); + BuiltValueNullFieldError.checkNotNull(openGraphObject, r'CoreReference', 'openGraphObject'); + BuiltValueNullFieldError.checkNotNull(accessible, r'CoreReference', 'accessible'); + } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities rebuild( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder) updates) => - (toBuilder()..update(updates)).build(); + CoreReference rebuild(void Function(CoreReferenceBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder()..replace(this); + CoreReferenceBuilder toBuilder() => CoreReferenceBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities && - filesSharing == other.filesSharing && - notes == other.notes && - notifications == other.notifications && - provisioningApi == other.provisioningApi && - theming == other.theming && - userStatus == other.userStatus; + return other is CoreReference && + richObjectType == other.richObjectType && + richObject == other.richObject && + openGraphObject == other.openGraphObject && + accessible == other.accessible; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, filesSharing.hashCode); - _$hash = $jc(_$hash, notes.hashCode); - _$hash = $jc(_$hash, notifications.hashCode); - _$hash = $jc(_$hash, provisioningApi.hashCode); - _$hash = $jc(_$hash, theming.hashCode); - _$hash = $jc(_$hash, userStatus.hashCode); + _$hash = $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'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities') - ..add('filesSharing', filesSharing) - ..add('notes', notes) - ..add('notifications', notifications) - ..add('provisioningApi', provisioningApi) - ..add('theming', theming) - ..add('userStatus', userStatus)) + return (newBuiltValueToStringHelper(r'CoreReference') + ..add('richObjectType', richObjectType) + ..add('richObject', richObject) + ..add('openGraphObject', openGraphObject) + ..add('accessible', accessible)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder - implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities? _$v; - - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder? _filesSharing; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder get filesSharing => - _$this._filesSharing ??= - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder(); - set filesSharing( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder? filesSharing) => - _$this._filesSharing = filesSharing; +class CoreReferenceBuilder implements Builder { + _$CoreReference? _$v; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder? _notes; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder get notes => - _$this._notes ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder(); - set notes(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder? notes) => - _$this._notes = notes; - - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder? _notifications; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder get notifications => - _$this._notifications ??= - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder(); - set notifications( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder? notifications) => - _$this._notifications = notifications; + String? _richObjectType; + String? get richObjectType => _$this._richObjectType; + set richObjectType(String? richObjectType) => _$this._richObjectType = richObjectType; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder? _provisioningApi; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder get provisioningApi => - _$this._provisioningApi ??= - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder(); - set provisioningApi( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder? - provisioningApi) => - _$this._provisioningApi = provisioningApi; + MapBuilder? _richObject; + MapBuilder get richObject => _$this._richObject ??= MapBuilder(); + set richObject(MapBuilder? richObject) => _$this._richObject = richObject; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder? _theming; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder get theming => - _$this._theming ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder(); - set theming(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder? theming) => - _$this._theming = theming; + CoreOpenGraphObjectBuilder? _openGraphObject; + CoreOpenGraphObjectBuilder get openGraphObject => _$this._openGraphObject ??= CoreOpenGraphObjectBuilder(); + set openGraphObject(CoreOpenGraphObjectBuilder? openGraphObject) => _$this._openGraphObject = openGraphObject; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder? _userStatus; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder get userStatus => - _$this._userStatus ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder(); - set userStatus( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder? userStatus) => - _$this._userStatus = userStatus; + bool? _accessible; + bool? get accessible => _$this._accessible; + set accessible(bool? accessible) => _$this._accessible = accessible; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder(); + CoreReferenceBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder get _$this { + CoreReferenceBuilder get _$this { final $v = _$v; if ($v != null) { - _filesSharing = $v.filesSharing?.toBuilder(); - _notes = $v.notes?.toBuilder(); - _notifications = $v.notifications?.toBuilder(); - _provisioningApi = $v.provisioningApi?.toBuilder(); - _theming = $v.theming?.toBuilder(); - _userStatus = $v.userStatus?.toBuilder(); + _richObjectType = $v.richObjectType; + _richObject = $v.richObject.toBuilder(); + _openGraphObject = $v.openGraphObject.toBuilder(); + _accessible = $v.accessible; _$v = null; } return this; } @override - void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities other) { + void replace(CoreReference other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities; + _$v = other as _$CoreReference; } @override - void update(void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder)? updates) { + void update(void Function(CoreReferenceBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities build() => _build(); + CoreReference build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities _build() { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities _$result; + _$CoreReference _build() { + _$CoreReference _$result; try { _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities._( - filesSharing: _filesSharing?.build(), - notes: _notes?.build(), - notifications: _notifications?.build(), - provisioningApi: _provisioningApi?.build(), - theming: _theming?.build(), - userStatus: _userStatus?.build()); + _$CoreReference._( + richObjectType: BuiltValueNullFieldError.checkNotNull(richObjectType, r'CoreReference', 'richObjectType'), + richObject: richObject.build(), + openGraphObject: openGraphObject.build(), + accessible: BuiltValueNullFieldError.checkNotNull(accessible, r'CoreReference', 'accessible')); } catch (_) { late String _$failedField; try { - _$failedField = 'filesSharing'; - _filesSharing?.build(); - _$failedField = 'notes'; - _notes?.build(); - _$failedField = 'notifications'; - _notifications?.build(); - _$failedField = 'provisioningApi'; - _provisioningApi?.build(); - _$failedField = 'theming'; - _theming?.build(); - _$failedField = 'userStatus'; - _userStatus?.build(); + _$failedField = 'richObject'; + richObject.build(); + _$failedField = 'openGraphObject'; + openGraphObject.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'CoreReference', _$failedField, e.toString()); } rethrow; } @@ -15052,120 +16179,99 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuil } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data { - @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version version; +class _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data + extends CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data { @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities capabilities; + final BuiltMap references; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data( - [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data( + [void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data._({required this.version, required this.capabilities}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - version, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data', 'version'); + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data._({required this.references}) : super._() { BuiltValueNullFieldError.checkNotNull( - capabilities, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data', 'capabilities'); + references, r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data', 'references'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data rebuild( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder) updates) => + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data && - version == other.version && - capabilities == other.capabilities; + return other is CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data && references == other.references; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, version.hashCode); - _$hash = $jc(_$hash, capabilities.hashCode); + _$hash = $jc(_$hash, references.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data') - ..add('version', version) - ..add('capabilities', capabilities)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data') + ..add('references', references)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder +class CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data? _$v; - - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder? _version; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder get version => - _$this._version ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder(); - set version(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder? version) => - _$this._version = version; + Builder { + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data? _$v; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder? _capabilities; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder get capabilities => - _$this._capabilities ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder(); - set capabilities(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder? capabilities) => - _$this._capabilities = capabilities; + MapBuilder? _references; + MapBuilder get references => _$this._references ??= MapBuilder(); + set references(MapBuilder? references) => _$this._references = references; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder(); + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder get _$this { + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _version = $v.version.toBuilder(); - _capabilities = $v.capabilities.toBuilder(); + _references = $v.references.toBuilder(); _$v = null; } return this; } @override - void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data other) { + void replace(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data; + _$v = other as _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data build() => _build(); + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data _build() { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data _$result; + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data _build() { + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data._( - version: version.build(), capabilities: capabilities.build()); + _$result = + _$v ?? _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data._(references: references.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'version'; - version.build(); - _$failedField = 'capabilities'; - capabilities.build(); + _$failedField = 'references'; + references.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -15174,35 +16280,37 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs { +class _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs + extends CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs { @override final CoreOCSMeta meta; @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data data; - - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs( - [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + final CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data data; - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs', 'data'); + factory _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs( + [void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs', 'data'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs rebuild( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder) updates) => + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs rebuild( + void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -15216,31 +16324,31 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder +class CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs? _$v; CoreOCSMetaBuilder? _meta; CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder? _data; - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder(); - set data(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder(); + CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder get _$this { + CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -15251,24 +16359,24 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder } @override - void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs other) { + void replace(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs; + _$v = other as _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs build() => _build(); + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs _build() { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs _$result; + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs _build() { + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs _$result; try { _$result = - _$v ?? _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$v ?? _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -15278,7 +16386,7 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -15287,31 +16395,32 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson extends CoreOcsGetCapabilitiesResponse200ApplicationJson { +class _$CoreReferenceApiResolveOneResponse200ApplicationJson + extends CoreReferenceApiResolveOneResponse200ApplicationJson { @override - final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs ocs; + final CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs ocs; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson( - [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder)? updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreReferenceApiResolveOneResponse200ApplicationJson( + [void Function(CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder)? updates]) => + (CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreOcsGetCapabilitiesResponse200ApplicationJson', 'ocs'); + _$CoreReferenceApiResolveOneResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreReferenceApiResolveOneResponse200ApplicationJson', 'ocs'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson rebuild( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder) updates) => + CoreReferenceApiResolveOneResponse200ApplicationJson rebuild( + void Function(CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder()..replace(this); + CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder toBuilder() => + CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOcsGetCapabilitiesResponse200ApplicationJson && ocs == other.ocs; + return other is CoreReferenceApiResolveOneResponse200ApplicationJson && ocs == other.ocs; } @override @@ -15324,25 +16433,25 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson extends CoreOcsGetCapab @override String toString() { - return (newBuiltValueToStringHelper(r'CoreOcsGetCapabilitiesResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiResolveOneResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder +class CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson? _$v; + Builder { + _$CoreReferenceApiResolveOneResponse200ApplicationJson? _$v; - CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder? _ocs; - CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder? _ocs; + CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder(); + CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder(); - CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder get _$this { + CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -15352,23 +16461,23 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder } @override - void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson other) { + void replace(CoreReferenceApiResolveOneResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson; + _$v = other as _$CoreReferenceApiResolveOneResponse200ApplicationJson; } @override - void update(void Function(CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson build() => _build(); + CoreReferenceApiResolveOneResponse200ApplicationJson build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson _build() { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson _$result; + _$CoreReferenceApiResolveOneResponse200ApplicationJson _build() { + _$CoreReferenceApiResolveOneResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreOcsGetCapabilitiesResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CoreReferenceApiResolveOneResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -15376,7 +16485,7 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreOcsGetCapabilitiesResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreReferenceApiResolveOneResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -15385,113 +16494,126 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder } } -class _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs - extends CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs { - @override - final CoreOCSMeta meta; +class _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References + extends CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References { @override final JsonObject data; + @override + final CoreReference? reference; + @override + final JsonObject? jsonObject; - factory _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs( - [void Function(CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References( + [void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder)? updates]) => + (CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder()..update(updates))._build(); - _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs', 'data'); + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References._( + {required this.data, this.reference, this.jsonObject}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + data, r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References', 'data'); } @override - CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs rebuild( - void Function(CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder) updates) => + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References rebuild( + void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder toBuilder() => + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References && + data == other.data && + reference == other.reference && + jsonObject == other.jsonObject; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, reference.hashCode); + _$hash = $jc(_$hash, jsonObject.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References') + ..add('data', data) + ..add('reference', reference) + ..add('jsonObject', jsonObject)) .toString(); } } -class CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder +class CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder implements - Builder { - _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs? _$v; - - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + Builder { + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References? _$v; JsonObject? _data; JsonObject? get data => _$this._data; set data(JsonObject? data) => _$this._data = data; - CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder(); + CoreReferenceBuilder? _reference; + CoreReferenceBuilder get reference => _$this._reference ??= CoreReferenceBuilder(); + set reference(CoreReferenceBuilder? reference) => _$this._reference = reference; - CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder get _$this { + JsonObject? _jsonObject; + JsonObject? get jsonObject => _$this._jsonObject; + set jsonObject(JsonObject? jsonObject) => _$this._jsonObject = jsonObject; + + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder(); + + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); _data = $v.data; + _reference = $v.reference?.toBuilder(); + _jsonObject = $v.jsonObject; _$v = null; } return this; } @override - void replace(CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs other) { + void replace(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs; + _$v = other as _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References; } @override - void update(void Function(CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder)? updates) { if (updates != null) updates(this); } @override - CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs build() => _build(); + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References build() => _build(); - _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs _build() { - _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs _$result; + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References _build() { + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References _$result; try { _$result = _$v ?? - _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs._( - meta: meta.build(), + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References._( data: BuiltValueNullFieldError.checkNotNull( - data, r'CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs', 'data')); + data, r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References', 'data'), + reference: _reference?.build(), + jsonObject: jsonObject); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); + _$failedField = 'reference'; + _reference?.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References', _$failedField, e.toString()); } rethrow; } @@ -15500,97 +16622,102 @@ class CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder } } -class _$CoreProfileApiSetVisibilityResponse200ApplicationJson - extends CoreProfileApiSetVisibilityResponse200ApplicationJson { +class _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data + extends CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data { @override - final CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs ocs; + final BuiltMap references; - factory _$CoreProfileApiSetVisibilityResponse200ApplicationJson( - [void Function(CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder)? updates]) => - (CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data( + [void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreProfileApiSetVisibilityResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreProfileApiSetVisibilityResponse200ApplicationJson', 'ocs'); + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data._({required this.references}) : super._() { + BuiltValueNullFieldError.checkNotNull( + references, r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data', 'references'); } @override - CoreProfileApiSetVisibilityResponse200ApplicationJson rebuild( - void Function(CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder) updates) => + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder toBuilder() => - CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder()..replace(this); + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreProfileApiSetVisibilityResponse200ApplicationJson && ocs == other.ocs; + return other is CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data && references == other.references; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, references.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreProfileApiSetVisibilityResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data') + ..add('references', references)) .toString(); } } -class CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder - implements - Builder { - _$CoreProfileApiSetVisibilityResponse200ApplicationJson? _$v; +class CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data? _$v; - CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder? _ocs; - CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + MapBuilder? _references; + MapBuilder get references => + _$this._references ??= + MapBuilder(); + set references( + MapBuilder? references) => + _$this._references = references; - CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder(); + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder(); - CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder get _$this { + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _references = $v.references.toBuilder(); _$v = null; } return this; } @override - void replace(CoreProfileApiSetVisibilityResponse200ApplicationJson other) { + void replace(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreProfileApiSetVisibilityResponse200ApplicationJson; + _$v = other as _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreProfileApiSetVisibilityResponse200ApplicationJson build() => _build(); + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreProfileApiSetVisibilityResponse200ApplicationJson _build() { - _$CoreProfileApiSetVisibilityResponse200ApplicationJson _$result; + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data _build() { + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$CoreProfileApiSetVisibilityResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data._(references: references.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'references'; + references.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreProfileApiSetVisibilityResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -15599,131 +16726,111 @@ class CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder } } -class _$CoreReference extends CoreReference { - @override - final String richObjectType; - @override - final BuiltMap richObject; +class _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs + extends CoreReferenceApiResolveResponse200ApplicationJson_Ocs { @override - final CoreOpenGraphObject openGraphObject; + final CoreOCSMeta meta; @override - final bool accessible; + final CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data data; - factory _$CoreReference([void Function(CoreReferenceBuilder)? updates]) => - (CoreReferenceBuilder()..update(updates))._build(); + factory _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs( + [void Function(CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreReference._( - {required this.richObjectType, required this.richObject, required this.openGraphObject, required this.accessible}) - : super._() { - BuiltValueNullFieldError.checkNotNull(richObjectType, r'CoreReference', 'richObjectType'); - BuiltValueNullFieldError.checkNotNull(richObject, r'CoreReference', 'richObject'); - BuiltValueNullFieldError.checkNotNull(openGraphObject, r'CoreReference', 'openGraphObject'); - BuiltValueNullFieldError.checkNotNull(accessible, r'CoreReference', 'accessible'); + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs', 'data'); } @override - CoreReference rebuild(void Function(CoreReferenceBuilder) updates) => (toBuilder()..update(updates)).build(); + CoreReferenceApiResolveResponse200ApplicationJson_Ocs rebuild( + void Function(CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - CoreReferenceBuilder toBuilder() => CoreReferenceBuilder()..replace(this); + CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreReference && - richObjectType == other.richObjectType && - richObject == other.richObject && - openGraphObject == other.openGraphObject && - accessible == other.accessible; + return other is CoreReferenceApiResolveResponse200ApplicationJson_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'CoreReference') - ..add('richObjectType', richObjectType) - ..add('richObject', richObject) - ..add('openGraphObject', openGraphObject) - ..add('accessible', accessible)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreReferenceBuilder implements Builder { - _$CoreReference? _$v; - - String? _richObjectType; - String? get richObjectType => _$this._richObjectType; - set richObjectType(String? richObjectType) => _$this._richObjectType = richObjectType; - - MapBuilder? _richObject; - MapBuilder get richObject => _$this._richObject ??= MapBuilder(); - set richObject(MapBuilder? richObject) => _$this._richObject = richObject; +class CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs? _$v; - CoreOpenGraphObjectBuilder? _openGraphObject; - CoreOpenGraphObjectBuilder get openGraphObject => _$this._openGraphObject ??= CoreOpenGraphObjectBuilder(); - set openGraphObject(CoreOpenGraphObjectBuilder? openGraphObject) => _$this._openGraphObject = openGraphObject; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - bool? _accessible; - bool? get accessible => _$this._accessible; - set accessible(bool? accessible) => _$this._accessible = accessible; + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreReferenceBuilder(); + CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder(); - CoreReferenceBuilder get _$this { + CoreReferenceApiResolveResponse200ApplicationJson_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(CoreReference other) { + void replace(CoreReferenceApiResolveResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreReference; + _$v = other as _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreReferenceBuilder)? updates) { + void update(void Function(CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreReference build() => _build(); + CoreReferenceApiResolveResponse200ApplicationJson_Ocs build() => _build(); - _$CoreReference _build() { - _$CoreReference _$result; + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs _build() { + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? - _$CoreReference._( - richObjectType: BuiltValueNullFieldError.checkNotNull(richObjectType, r'CoreReference', 'richObjectType'), - richObject: richObject.build(), - openGraphObject: openGraphObject.build(), - accessible: BuiltValueNullFieldError.checkNotNull(accessible, r'CoreReference', 'accessible')); + _$result = + _$v ?? _$CoreReferenceApiResolveResponse200ApplicationJson_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'CoreReference', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -15732,99 +16839,96 @@ class CoreReferenceBuilder implements Builder references; + final CoreReferenceApiResolveResponse200ApplicationJson_Ocs ocs; - factory _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data( - [void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => - (CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$CoreReferenceApiResolveResponse200ApplicationJson( + [void Function(CoreReferenceApiResolveResponse200ApplicationJsonBuilder)? updates]) => + (CoreReferenceApiResolveResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data._({required this.references}) : super._() { - BuiltValueNullFieldError.checkNotNull( - references, r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data', 'references'); + _$CoreReferenceApiResolveResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreReferenceApiResolveResponse200ApplicationJson', 'ocs'); } @override - CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data rebuild( - void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder) updates) => + CoreReferenceApiResolveResponse200ApplicationJson rebuild( + void Function(CoreReferenceApiResolveResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => - CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + CoreReferenceApiResolveResponse200ApplicationJsonBuilder toBuilder() => + CoreReferenceApiResolveResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data && references == other.references; + return other is CoreReferenceApiResolveResponse200ApplicationJson && 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'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data') - ..add('references', references)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiResolveResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder +class CoreReferenceApiResolveResponse200ApplicationJsonBuilder implements - Builder { - _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data? _$v; + Builder { + _$CoreReferenceApiResolveResponse200ApplicationJson? _$v; - MapBuilder? _references; - MapBuilder get references => _$this._references ??= MapBuilder(); - set references(MapBuilder? references) => _$this._references = references; + CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder? _ocs; + CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder(); + CoreReferenceApiResolveResponse200ApplicationJsonBuilder(); - CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder get _$this { + CoreReferenceApiResolveResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _references = $v.references.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data other) { + void replace(CoreReferenceApiResolveResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data; + _$v = other as _$CoreReferenceApiResolveResponse200ApplicationJson; } @override - void update(void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(CoreReferenceApiResolveResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data build() => _build(); + CoreReferenceApiResolveResponse200ApplicationJson build() => _build(); - _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data _build() { - _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data _$result; + _$CoreReferenceApiResolveResponse200ApplicationJson _build() { + _$CoreReferenceApiResolveResponse200ApplicationJson _$result; try { - _$result = - _$v ?? _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data._(references: references.build()); + _$result = _$v ?? _$CoreReferenceApiResolveResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'references'; - references.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + r'CoreReferenceApiResolveResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -15833,113 +16937,126 @@ class CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder } } -class _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs - extends CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs { +class _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References + extends CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References { @override - final CoreOCSMeta meta; + final JsonObject data; @override - final CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data data; - - factory _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs( - [void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + final CoreReference? reference; + @override + final JsonObject? jsonObject; - _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs', 'data'); + factory _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References( + [void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder)? updates]) => + (CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder()..update(updates))._build(); + + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References._( + {required this.data, this.reference, this.jsonObject}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + data, r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References', 'data'); } @override - CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs rebuild( - void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder) updates) => + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References rebuild( + void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder toBuilder() => + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References && + data == other.data && + reference == other.reference && + jsonObject == other.jsonObject; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, reference.hashCode); + _$hash = $jc(_$hash, jsonObject.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References') + ..add('data', data) + ..add('reference', reference) + ..add('jsonObject', jsonObject)) .toString(); } } -class CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder +class CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder implements - Builder { - _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References? _$v; - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; - CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder? _data; - CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder(); - set data(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + CoreReferenceBuilder? _reference; + CoreReferenceBuilder get reference => _$this._reference ??= CoreReferenceBuilder(); + set reference(CoreReferenceBuilder? reference) => _$this._reference = reference; - CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder(); + JsonObject? _jsonObject; + JsonObject? get jsonObject => _$this._jsonObject; + set jsonObject(JsonObject? jsonObject) => _$this._jsonObject = jsonObject; - CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder get _$this { + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder(); + + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _data = $v.data; + _reference = $v.reference?.toBuilder(); + _jsonObject = $v.jsonObject; _$v = null; } return this; } @override - void replace(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs other) { + void replace(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs; + _$v = other as _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References; } @override - void update(void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder)? updates) { if (updates != null) updates(this); } @override - CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs build() => _build(); + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References build() => _build(); - _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs _build() { - _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs _$result; + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References _build() { + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References _$result; try { - _$result = - _$v ?? _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References._( + data: BuiltValueNullFieldError.checkNotNull( + data, r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References', 'data'), + reference: _reference?.build(), + jsonObject: jsonObject); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'reference'; + _reference?.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References', _$failedField, e.toString()); } rethrow; } @@ -15948,97 +17065,102 @@ class CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder } } -class _$CoreReferenceApiResolveOneResponse200ApplicationJson - extends CoreReferenceApiResolveOneResponse200ApplicationJson { +class _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data + extends CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data { @override - final CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs ocs; + final BuiltMap references; - factory _$CoreReferenceApiResolveOneResponse200ApplicationJson( - [void Function(CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder)? updates]) => - (CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data( + [void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreReferenceApiResolveOneResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreReferenceApiResolveOneResponse200ApplicationJson', 'ocs'); + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data._({required this.references}) : super._() { + BuiltValueNullFieldError.checkNotNull( + references, r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data', 'references'); } @override - CoreReferenceApiResolveOneResponse200ApplicationJson rebuild( - void Function(CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder) updates) => + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder toBuilder() => - CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder()..replace(this); + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreReferenceApiResolveOneResponse200ApplicationJson && ocs == other.ocs; + return other is CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data && references == other.references; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, references.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreReferenceApiResolveOneResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data') + ..add('references', references)) .toString(); } } -class CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder +class CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder implements - Builder { - _$CoreReferenceApiResolveOneResponse200ApplicationJson? _$v; + Builder { + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data? _$v; - CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder? _ocs; - CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + MapBuilder? _references; + MapBuilder get references => + _$this._references ??= + MapBuilder(); + set references( + MapBuilder? references) => + _$this._references = references; - CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder(); + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder(); - CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder get _$this { + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _references = $v.references.toBuilder(); _$v = null; } return this; } @override - void replace(CoreReferenceApiResolveOneResponse200ApplicationJson other) { + void replace(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreReferenceApiResolveOneResponse200ApplicationJson; + _$v = other as _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreReferenceApiResolveOneResponse200ApplicationJson build() => _build(); + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreReferenceApiResolveOneResponse200ApplicationJson _build() { - _$CoreReferenceApiResolveOneResponse200ApplicationJson _$result; + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data _build() { + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$CoreReferenceApiResolveOneResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data._(references: references.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'references'; + references.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreReferenceApiResolveOneResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -16047,126 +17169,111 @@ class CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder } } -class _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References - extends CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References { - @override - final JsonObject data; +class _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs + extends CoreReferenceApiExtractResponse200ApplicationJson_Ocs { @override - final CoreReference? reference; + final CoreOCSMeta meta; @override - final JsonObject? jsonObject; + final CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data data; - factory _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References( - [void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder)? updates]) => - (CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder()..update(updates))._build(); + factory _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs( + [void Function(CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References._( - {required this.data, this.reference, this.jsonObject}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - data, r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References', 'data'); + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs', 'data'); } @override - CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References rebuild( - void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder) updates) => + CoreReferenceApiExtractResponse200ApplicationJson_Ocs rebuild( + void Function(CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder toBuilder() => - CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder()..replace(this); + CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References && - data == other.data && - reference == other.reference && - jsonObject == other.jsonObject; + return other is CoreReferenceApiExtractResponse200ApplicationJson_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, reference.hashCode); - _$hash = $jc(_$hash, jsonObject.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References') - ..add('data', data) - ..add('reference', reference) - ..add('jsonObject', jsonObject)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder +class CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References? _$v; - - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(JsonObject? data) => _$this._data = data; + Builder { + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs? _$v; - CoreReferenceBuilder? _reference; - CoreReferenceBuilder get reference => _$this._reference ??= CoreReferenceBuilder(); - set reference(CoreReferenceBuilder? reference) => _$this._reference = reference; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - JsonObject? _jsonObject; - JsonObject? get jsonObject => _$this._jsonObject; - set jsonObject(JsonObject? jsonObject) => _$this._jsonObject = jsonObject; + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder(); + CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder(); - CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder get _$this { + CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _reference = $v.reference?.toBuilder(); - _jsonObject = $v.jsonObject; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References other) { + void replace(CoreReferenceApiExtractResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References; + _$v = other as _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder)? updates) { + void update(void Function(CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References build() => _build(); + CoreReferenceApiExtractResponse200ApplicationJson_Ocs build() => _build(); - _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References _build() { - _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References _$result; + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs _build() { + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? - _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References._( - data: BuiltValueNullFieldError.checkNotNull( - data, r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References', 'data'), - reference: _reference?.build(), - jsonObject: jsonObject); + _$result = + _$v ?? _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'reference'; - _reference?.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References', _$failedField, e.toString()); + r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -16175,102 +17282,96 @@ class CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuild } } -class _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data - extends CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data { +class _$CoreReferenceApiExtractResponse200ApplicationJson extends CoreReferenceApiExtractResponse200ApplicationJson { @override - final BuiltMap references; + final CoreReferenceApiExtractResponse200ApplicationJson_Ocs ocs; - factory _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data( - [void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => - (CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$CoreReferenceApiExtractResponse200ApplicationJson( + [void Function(CoreReferenceApiExtractResponse200ApplicationJsonBuilder)? updates]) => + (CoreReferenceApiExtractResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data._({required this.references}) : super._() { - BuiltValueNullFieldError.checkNotNull( - references, r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data', 'references'); + _$CoreReferenceApiExtractResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreReferenceApiExtractResponse200ApplicationJson', 'ocs'); } @override - CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data rebuild( - void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder) updates) => + CoreReferenceApiExtractResponse200ApplicationJson rebuild( + void Function(CoreReferenceApiExtractResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => - CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + CoreReferenceApiExtractResponse200ApplicationJsonBuilder toBuilder() => + CoreReferenceApiExtractResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data && references == other.references; + return other is CoreReferenceApiExtractResponse200ApplicationJson && 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'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data') - ..add('references', references)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiExtractResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder +class CoreReferenceApiExtractResponse200ApplicationJsonBuilder implements - Builder { - _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data? _$v; + Builder { + _$CoreReferenceApiExtractResponse200ApplicationJson? _$v; - MapBuilder? _references; - MapBuilder get references => - _$this._references ??= - MapBuilder(); - set references( - MapBuilder? references) => - _$this._references = references; + CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder? _ocs; + CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder(); + CoreReferenceApiExtractResponse200ApplicationJsonBuilder(); - CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder get _$this { + CoreReferenceApiExtractResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _references = $v.references.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data other) { + void replace(CoreReferenceApiExtractResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data; + _$v = other as _$CoreReferenceApiExtractResponse200ApplicationJson; } @override - void update(void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(CoreReferenceApiExtractResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data build() => _build(); + CoreReferenceApiExtractResponse200ApplicationJson build() => _build(); - _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data _build() { - _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data _$result; + _$CoreReferenceApiExtractResponse200ApplicationJson _build() { + _$CoreReferenceApiExtractResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data._(references: references.build()); + _$result = _$v ?? _$CoreReferenceApiExtractResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'references'; - references.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + r'CoreReferenceApiExtractResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -16279,111 +17380,141 @@ class CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder } } -class _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs - extends CoreReferenceApiResolveResponse200ApplicationJson_Ocs { +class _$CoreReferenceProvider extends CoreReferenceProvider { @override - final CoreOCSMeta meta; + final String id; @override - final CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data data; + final String title; + @override + final String iconUrl; + @override + final int order; + @override + final BuiltList? searchProvidersIds; - factory _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs( - [void Function(CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreReferenceProvider([void Function(CoreReferenceProviderBuilder)? updates]) => + (CoreReferenceProviderBuilder()..update(updates))._build(); - _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs', 'data'); + _$CoreReferenceProvider._( + {required this.id, required this.title, required this.iconUrl, required this.order, this.searchProvidersIds}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'CoreReferenceProvider', 'id'); + BuiltValueNullFieldError.checkNotNull(title, r'CoreReferenceProvider', 'title'); + BuiltValueNullFieldError.checkNotNull(iconUrl, r'CoreReferenceProvider', 'iconUrl'); + BuiltValueNullFieldError.checkNotNull(order, r'CoreReferenceProvider', 'order'); } @override - CoreReferenceApiResolveResponse200ApplicationJson_Ocs rebuild( - void Function(CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder) updates) => + CoreReferenceProvider rebuild(void Function(CoreReferenceProviderBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreReferenceProviderBuilder toBuilder() => CoreReferenceProviderBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreReferenceApiResolveResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is CoreReferenceProvider && + id == other.id && + title == other.title && + iconUrl == other.iconUrl && + order == other.order && + searchProvidersIds == other.searchProvidersIds; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.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'CoreReferenceApiResolveResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreReferenceProvider') + ..add('id', id) + ..add('title', title) + ..add('iconUrl', iconUrl) + ..add('order', order) + ..add('searchProvidersIds', searchProvidersIds)) .toString(); } } -class CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder - implements - Builder { - _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs? _$v; +class CoreReferenceProviderBuilder implements Builder { + _$CoreReferenceProvider? _$v; - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; - CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder? _data; - CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder(); - set data(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + String? _title; + String? get title => _$this._title; + set title(String? title) => _$this._title = title; - CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder(); + String? _iconUrl; + String? get iconUrl => _$this._iconUrl; + set iconUrl(String? iconUrl) => _$this._iconUrl = iconUrl; - CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder get _$this { + int? _order; + int? get order => _$this._order; + set order(int? order) => _$this._order = order; + + ListBuilder? _searchProvidersIds; + ListBuilder get searchProvidersIds => _$this._searchProvidersIds ??= ListBuilder(); + set searchProvidersIds(ListBuilder? searchProvidersIds) => _$this._searchProvidersIds = searchProvidersIds; + + CoreReferenceProviderBuilder(); + + CoreReferenceProviderBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _id = $v.id; + _title = $v.title; + _iconUrl = $v.iconUrl; + _order = $v.order; + _searchProvidersIds = $v.searchProvidersIds?.toBuilder(); _$v = null; } return this; } @override - void replace(CoreReferenceApiResolveResponse200ApplicationJson_Ocs other) { + void replace(CoreReferenceProvider other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs; + _$v = other as _$CoreReferenceProvider; } @override - void update(void Function(CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreReferenceProviderBuilder)? updates) { if (updates != null) updates(this); } @override - CoreReferenceApiResolveResponse200ApplicationJson_Ocs build() => _build(); + CoreReferenceProvider build() => _build(); - _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs _build() { - _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs _$result; + _$CoreReferenceProvider _build() { + _$CoreReferenceProvider _$result; try { - _$result = - _$v ?? _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + _$CoreReferenceProvider._( + id: BuiltValueNullFieldError.checkNotNull(id, r'CoreReferenceProvider', 'id'), + title: BuiltValueNullFieldError.checkNotNull(title, r'CoreReferenceProvider', 'title'), + iconUrl: BuiltValueNullFieldError.checkNotNull(iconUrl, r'CoreReferenceProvider', 'iconUrl'), + order: BuiltValueNullFieldError.checkNotNull(order, r'CoreReferenceProvider', 'order'), + searchProvidersIds: _searchProvidersIds?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'searchProvidersIds'; + _searchProvidersIds?.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'CoreReferenceProvider', _$failedField, e.toString()); } rethrow; } @@ -16392,96 +17523,115 @@ class CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder } } -class _$CoreReferenceApiResolveResponse200ApplicationJson extends CoreReferenceApiResolveResponse200ApplicationJson { +class _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs + extends CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs { @override - final CoreReferenceApiResolveResponse200ApplicationJson_Ocs ocs; + final CoreOCSMeta meta; + @override + final BuiltList data; - factory _$CoreReferenceApiResolveResponse200ApplicationJson( - [void Function(CoreReferenceApiResolveResponse200ApplicationJsonBuilder)? updates]) => - (CoreReferenceApiResolveResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs( + [void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreReferenceApiResolveResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreReferenceApiResolveResponse200ApplicationJson', 'ocs'); + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs', 'data'); } @override - CoreReferenceApiResolveResponse200ApplicationJson rebuild( - void Function(CoreReferenceApiResolveResponse200ApplicationJsonBuilder) updates) => + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs rebuild( + void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreReferenceApiResolveResponse200ApplicationJsonBuilder toBuilder() => - CoreReferenceApiResolveResponse200ApplicationJsonBuilder()..replace(this); + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreReferenceApiResolveResponse200ApplicationJson && ocs == other.ocs; + return other is CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_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'CoreReferenceApiResolveResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreReferenceApiResolveResponse200ApplicationJsonBuilder +class CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreReferenceApiResolveResponse200ApplicationJson? _$v; + Builder { + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs? _$v; - CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder? _ocs; - CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreReferenceApiResolveResponse200ApplicationJsonBuilder(); + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; - CoreReferenceApiResolveResponse200ApplicationJsonBuilder get _$this { + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder(); + + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_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(CoreReferenceApiResolveResponse200ApplicationJson other) { + void replace(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreReferenceApiResolveResponse200ApplicationJson; + _$v = other as _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreReferenceApiResolveResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreReferenceApiResolveResponse200ApplicationJson build() => _build(); + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs build() => _build(); - _$CoreReferenceApiResolveResponse200ApplicationJson _build() { - _$CoreReferenceApiResolveResponse200ApplicationJson _$result; + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs _build() { + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$CoreReferenceApiResolveResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_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'CoreReferenceApiResolveResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -16490,126 +17640,97 @@ class CoreReferenceApiResolveResponse200ApplicationJsonBuilder } } -class _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References - extends CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References { - @override - final JsonObject data; - @override - final CoreReference? reference; +class _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson + extends CoreReferenceApiGetProvidersInfoResponse200ApplicationJson { @override - final JsonObject? jsonObject; + final CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs ocs; - factory _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References( - [void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder)? updates]) => - (CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder()..update(updates))._build(); + factory _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson( + [void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder)? updates]) => + (CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References._( - {required this.data, this.reference, this.jsonObject}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - data, r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References', 'data'); + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson', 'ocs'); } @override - CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References rebuild( - void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder) updates) => + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson rebuild( + void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder toBuilder() => - CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder()..replace(this); + CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder toBuilder() => + CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References && - data == other.data && - reference == other.reference && - jsonObject == other.jsonObject; + return other is CoreReferenceApiGetProvidersInfoResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, reference.hashCode); - _$hash = $jc(_$hash, jsonObject.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References') - ..add('data', data) - ..add('reference', reference) - ..add('jsonObject', jsonObject)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder +class CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder implements - Builder { - _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References? _$v; - - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(JsonObject? data) => _$this._data = data; - - CoreReferenceBuilder? _reference; - CoreReferenceBuilder get reference => _$this._reference ??= CoreReferenceBuilder(); - set reference(CoreReferenceBuilder? reference) => _$this._reference = reference; + Builder { + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson? _$v; - JsonObject? _jsonObject; - JsonObject? get jsonObject => _$this._jsonObject; - set jsonObject(JsonObject? jsonObject) => _$this._jsonObject = jsonObject; + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder? _ocs; + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder(); + CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder(); - CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder get _$this { + CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _reference = $v.reference?.toBuilder(); - _jsonObject = $v.jsonObject; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References other) { + void replace(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References; + _$v = other as _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson; } @override - void update(void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder)? updates) { + void update(void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References build() => _build(); + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson build() => _build(); - _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References _build() { - _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References _$result; + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson _build() { + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson _$result; try { - _$result = _$v ?? - _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References._( - data: BuiltValueNullFieldError.checkNotNull( - data, r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References', 'data'), - reference: _reference?.build(), - jsonObject: jsonObject); + _$result = _$v ?? _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'reference'; - _reference?.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References', _$failedField, e.toString()); + r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -16618,139 +17739,128 @@ class CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuild } } -class _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data - extends CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data { +class _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data + extends CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data { @override - final BuiltMap references; + final bool success; - factory _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data( - [void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => - (CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data( + [void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data._({required this.references}) : super._() { + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data._({required this.success}) : super._() { BuiltValueNullFieldError.checkNotNull( - references, r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data', 'references'); + success, r'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data', 'success'); } @override - CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data rebuild( - void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder) updates) => + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => - CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data && references == other.references; + return other is CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data && success == other.success; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, references.hashCode); + _$hash = $jc(_$hash, success.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data') - ..add('references', references)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data') + ..add('success', success)) .toString(); } } -class CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder +class CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder implements - Builder { - _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data? _$v; + Builder { + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data? _$v; - MapBuilder? _references; - MapBuilder get references => - _$this._references ??= - MapBuilder(); - set references( - MapBuilder? references) => - _$this._references = references; + bool? _success; + bool? get success => _$this._success; + set success(bool? success) => _$this._success = success; - CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder(); + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder(); - CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder get _$this { + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _references = $v.references.toBuilder(); + _success = $v.success; _$v = null; } return this; } @override - void replace(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data other) { + void replace(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data; + _$v = other as _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data build() => _build(); + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data _build() { - _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data _$result; - try { - _$result = _$v ?? _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data._(references: references.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'references'; - references.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); - } - rethrow; - } + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data._( + success: BuiltValueNullFieldError.checkNotNull( + success, r'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data', 'success')); replace(_$result); return _$result; } } -class _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs - extends CoreReferenceApiExtractResponse200ApplicationJson_Ocs { +class _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs + extends CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs { @override final CoreOCSMeta meta; @override - final CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data data; + final CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data data; - factory _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs( - [void Function(CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs( + [void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs', 'data'); + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs', 'data'); } @override - CoreReferenceApiExtractResponse200ApplicationJson_Ocs rebuild( - void Function(CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder) updates) => + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs rebuild( + void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreReferenceApiExtractResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -16764,31 +17874,31 @@ class _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder +class CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs? _$v; CoreOCSMetaBuilder? _meta; CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder? _data; - CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder(); - set data(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder(); + CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder(); - CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder get _$this { + CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -16799,24 +17909,24 @@ class CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder } @override - void replace(CoreReferenceApiExtractResponse200ApplicationJson_Ocs other) { + void replace(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs; + _$v = other as _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreReferenceApiExtractResponse200ApplicationJson_Ocs build() => _build(); + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs build() => _build(); - _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs _build() { - _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs _$result; + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs _build() { + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs _$result; try { - _$result = - _$v ?? _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -16826,7 +17936,7 @@ class CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + r'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -16835,31 +17945,32 @@ class CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder } } -class _$CoreReferenceApiExtractResponse200ApplicationJson extends CoreReferenceApiExtractResponse200ApplicationJson { +class _$CoreReferenceApiTouchProviderResponse200ApplicationJson + extends CoreReferenceApiTouchProviderResponse200ApplicationJson { @override - final CoreReferenceApiExtractResponse200ApplicationJson_Ocs ocs; + final CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs ocs; - factory _$CoreReferenceApiExtractResponse200ApplicationJson( - [void Function(CoreReferenceApiExtractResponse200ApplicationJsonBuilder)? updates]) => - (CoreReferenceApiExtractResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreReferenceApiTouchProviderResponse200ApplicationJson( + [void Function(CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder)? updates]) => + (CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreReferenceApiExtractResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreReferenceApiExtractResponse200ApplicationJson', 'ocs'); + _$CoreReferenceApiTouchProviderResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreReferenceApiTouchProviderResponse200ApplicationJson', 'ocs'); } @override - CoreReferenceApiExtractResponse200ApplicationJson rebuild( - void Function(CoreReferenceApiExtractResponse200ApplicationJsonBuilder) updates) => + CoreReferenceApiTouchProviderResponse200ApplicationJson rebuild( + void Function(CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreReferenceApiExtractResponse200ApplicationJsonBuilder toBuilder() => - CoreReferenceApiExtractResponse200ApplicationJsonBuilder()..replace(this); + CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder toBuilder() => + CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreReferenceApiExtractResponse200ApplicationJson && ocs == other.ocs; + return other is CoreReferenceApiTouchProviderResponse200ApplicationJson && ocs == other.ocs; } @override @@ -16872,25 +17983,25 @@ class _$CoreReferenceApiExtractResponse200ApplicationJson extends CoreReferenceA @override String toString() { - return (newBuiltValueToStringHelper(r'CoreReferenceApiExtractResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiTouchProviderResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreReferenceApiExtractResponse200ApplicationJsonBuilder +class CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder implements - Builder { - _$CoreReferenceApiExtractResponse200ApplicationJson? _$v; + Builder { + _$CoreReferenceApiTouchProviderResponse200ApplicationJson? _$v; - CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder? _ocs; - CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder? _ocs; + CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreReferenceApiExtractResponse200ApplicationJsonBuilder(); + CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder(); - CoreReferenceApiExtractResponse200ApplicationJsonBuilder get _$this { + CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -16900,23 +18011,23 @@ class CoreReferenceApiExtractResponse200ApplicationJsonBuilder } @override - void replace(CoreReferenceApiExtractResponse200ApplicationJson other) { + void replace(CoreReferenceApiTouchProviderResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreReferenceApiExtractResponse200ApplicationJson; + _$v = other as _$CoreReferenceApiTouchProviderResponse200ApplicationJson; } @override - void update(void Function(CoreReferenceApiExtractResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreReferenceApiExtractResponse200ApplicationJson build() => _build(); + CoreReferenceApiTouchProviderResponse200ApplicationJson build() => _build(); - _$CoreReferenceApiExtractResponse200ApplicationJson _build() { - _$CoreReferenceApiExtractResponse200ApplicationJson _$result; + _$CoreReferenceApiTouchProviderResponse200ApplicationJson _build() { + _$CoreReferenceApiTouchProviderResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreReferenceApiExtractResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CoreReferenceApiTouchProviderResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -16924,7 +18035,7 @@ class CoreReferenceApiExtractResponse200ApplicationJsonBuilder ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreReferenceApiExtractResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreReferenceApiTouchProviderResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -16933,258 +18044,221 @@ class CoreReferenceApiExtractResponse200ApplicationJsonBuilder } } -class _$CoreReferenceProvider extends CoreReferenceProvider { +class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types + extends CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types { @override final String id; @override - final String title; - @override - final String iconUrl; - @override - final int order; + final String name; @override - final BuiltList? searchProvidersIds; + final String description; - factory _$CoreReferenceProvider([void Function(CoreReferenceProviderBuilder)? updates]) => - (CoreReferenceProviderBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types( + [void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder)? updates]) => + (CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder()..update(updates))._build(); - _$CoreReferenceProvider._( - {required this.id, required this.title, required this.iconUrl, required this.order, this.searchProvidersIds}) + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types._( + {required this.id, required this.name, required this.description}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'CoreReferenceProvider', 'id'); - BuiltValueNullFieldError.checkNotNull(title, r'CoreReferenceProvider', 'title'); - BuiltValueNullFieldError.checkNotNull(iconUrl, r'CoreReferenceProvider', 'iconUrl'); - BuiltValueNullFieldError.checkNotNull(order, r'CoreReferenceProvider', 'order'); + BuiltValueNullFieldError.checkNotNull( + id, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types', 'id'); + BuiltValueNullFieldError.checkNotNull( + name, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types', 'name'); + BuiltValueNullFieldError.checkNotNull( + description, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types', 'description'); } @override - CoreReferenceProvider rebuild(void Function(CoreReferenceProviderBuilder) updates) => + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types rebuild( + void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreReferenceProviderBuilder toBuilder() => CoreReferenceProviderBuilder()..replace(this); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder toBuilder() => + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreReferenceProvider && + return other is CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types && id == other.id && - title == other.title && - iconUrl == other.iconUrl && - order == other.order && - searchProvidersIds == other.searchProvidersIds; + name == other.name && + description == other.description; } @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, name.hashCode); + _$hash = $jc(_$hash, description.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreReferenceProvider') + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types') ..add('id', id) - ..add('title', title) - ..add('iconUrl', iconUrl) - ..add('order', order) - ..add('searchProvidersIds', searchProvidersIds)) + ..add('name', name) + ..add('description', description)) .toString(); } } -class CoreReferenceProviderBuilder implements Builder { - _$CoreReferenceProvider? _$v; +class CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder + implements + Builder { + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types? _$v; String? _id; String? get id => _$this._id; set id(String? id) => _$this._id = id; - String? _title; - String? get title => _$this._title; - set title(String? title) => _$this._title = title; - - String? _iconUrl; - String? get iconUrl => _$this._iconUrl; - set iconUrl(String? iconUrl) => _$this._iconUrl = iconUrl; - - int? _order; - int? get order => _$this._order; - set order(int? order) => _$this._order = order; + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; - ListBuilder? _searchProvidersIds; - ListBuilder get searchProvidersIds => _$this._searchProvidersIds ??= ListBuilder(); - set searchProvidersIds(ListBuilder? searchProvidersIds) => _$this._searchProvidersIds = searchProvidersIds; + String? _description; + String? get description => _$this._description; + set description(String? description) => _$this._description = description; - CoreReferenceProviderBuilder(); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder(); - CoreReferenceProviderBuilder get _$this { + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder get _$this { final $v = _$v; if ($v != null) { _id = $v.id; - _title = $v.title; - _iconUrl = $v.iconUrl; - _order = $v.order; - _searchProvidersIds = $v.searchProvidersIds?.toBuilder(); + _name = $v.name; + _description = $v.description; _$v = null; } return this; - } - - @override - void replace(CoreReferenceProvider other) { - ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreReferenceProvider; - } - - @override - void update(void Function(CoreReferenceProviderBuilder)? updates) { - if (updates != null) updates(this); - } - - @override - CoreReferenceProvider build() => _build(); - - _$CoreReferenceProvider _build() { - _$CoreReferenceProvider _$result; - try { - _$result = _$v ?? - _$CoreReferenceProvider._( - id: BuiltValueNullFieldError.checkNotNull(id, r'CoreReferenceProvider', 'id'), - title: BuiltValueNullFieldError.checkNotNull(title, r'CoreReferenceProvider', 'title'), - iconUrl: BuiltValueNullFieldError.checkNotNull(iconUrl, r'CoreReferenceProvider', 'iconUrl'), - order: BuiltValueNullFieldError.checkNotNull(order, r'CoreReferenceProvider', 'order'), - searchProvidersIds: _searchProvidersIds?.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'searchProvidersIds'; - _searchProvidersIds?.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'CoreReferenceProvider', _$failedField, e.toString()); - } - rethrow; - } + } + + @override + void replace(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types; + } + + @override + void update(void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types build() => _build(); + + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types _build() { + final _$result = _$v ?? + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types._( + id: BuiltValueNullFieldError.checkNotNull( + id, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types', 'id'), + name: BuiltValueNullFieldError.checkNotNull( + name, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types', 'name'), + description: BuiltValueNullFieldError.checkNotNull(description, + r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types', 'description')); replace(_$result); return _$result; } } -class _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs - extends CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs { - @override - final CoreOCSMeta meta; +class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data + extends CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data { @override - final BuiltList data; + final BuiltList types; - factory _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs( - [void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data( + [void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs', 'meta'); + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data._({required this.types}) : super._() { BuiltValueNullFieldError.checkNotNull( - data, r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs', 'data'); + types, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data', 'types'); } @override - CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs rebuild( - void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder) updates) => + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data && types == other.types; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, types.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data') + ..add('types', types)) .toString(); } } -class CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder +class CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder implements - Builder { - _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs? _$v; - - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + Builder { + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data? _$v; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; + ListBuilder? _types; + ListBuilder get types => + _$this._types ??= ListBuilder(); + set types(ListBuilder? types) => + _$this._types = types; - CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder(); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder(); - CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder get _$this { + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _types = $v.types.toBuilder(); _$v = null; } return this; } @override - void replace(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs other) { + void replace(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs; + _$v = other as _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs build() => _build(); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs _build() { - _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs _$result; + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data _build() { + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? - _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data._(types: types.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'types'; + types.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -17193,97 +18267,116 @@ class CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder } } -class _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson - extends CoreReferenceApiGetProvidersInfoResponse200ApplicationJson { +class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs + extends CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs { @override - final CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs ocs; + final CoreOCSMeta meta; + @override + final CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data data; - factory _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson( - [void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder)? updates]) => - (CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs( + [void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson', 'ocs'); + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs', 'data'); } @override - CoreReferenceApiGetProvidersInfoResponse200ApplicationJson rebuild( - void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder) updates) => + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs rebuild( + void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder toBuilder() => - CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder()..replace(this); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreReferenceApiGetProvidersInfoResponse200ApplicationJson && ocs == other.ocs; + return other is CoreTextProcessingApiTaskTypesResponse200ApplicationJson_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'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder +class CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson? _$v; + Builder { + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs? _$v; - CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder? _ocs; - CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder(); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder get _$this { + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder(); + + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_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(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson other) { + void replace(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson; + _$v = other as _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreReferenceApiGetProvidersInfoResponse200ApplicationJson build() => _build(); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs build() => _build(); - _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson _build() { - _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson _$result; + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs _build() { + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_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'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -17292,303 +18385,369 @@ class CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder } } -class _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data - extends CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data { +class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson + extends CoreTextProcessingApiTaskTypesResponse200ApplicationJson { @override - final bool success; + final CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs ocs; - factory _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data( - [void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => - (CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson( + [void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder)? updates]) => + (CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data._({required this.success}) : super._() { - BuiltValueNullFieldError.checkNotNull( - success, r'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data', 'success'); + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson', 'ocs'); } @override - CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data rebuild( - void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder) updates) => + CoreTextProcessingApiTaskTypesResponse200ApplicationJson rebuild( + void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => - CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder toBuilder() => + CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data && success == other.success; + return other is CoreTextProcessingApiTaskTypesResponse200ApplicationJson && 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'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data') - ..add('success', success)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder +class CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder implements - Builder { - _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data? _$v; + Builder { + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson? _$v; - bool? _success; - bool? get success => _$this._success; - set success(bool? success) => _$this._success = success; + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder? _ocs; + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder(); + CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder(); - CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder get _$this { + CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _success = $v.success; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data other) { + void replace(CoreTextProcessingApiTaskTypesResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data; + _$v = other as _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson; } @override - void update(void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data build() => _build(); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson build() => _build(); - _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data _build() { - final _$result = _$v ?? - _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data._( - success: BuiltValueNullFieldError.checkNotNull( - success, r'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data', 'success')); + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson _build() { + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs - extends CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs { +class _$CoreTextProcessingTask extends CoreTextProcessingTask { @override - final CoreOCSMeta meta; + final int? id; @override - final CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data data; + 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 _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs( - [void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreTextProcessingTask([void Function(CoreTextProcessingTaskBuilder)? updates]) => + (CoreTextProcessingTaskBuilder()..update(updates))._build(); - _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + _$CoreTextProcessingTask._( + {this.id, + required this.type, + required this.status, + this.userId, + required this.appId, + required this.input, + this.output, + required this.identifier}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs', 'data'); + BuiltValueNullFieldError.checkNotNull(type, r'CoreTextProcessingTask', 'type'); + BuiltValueNullFieldError.checkNotNull(status, r'CoreTextProcessingTask', 'status'); + BuiltValueNullFieldError.checkNotNull(appId, r'CoreTextProcessingTask', 'appId'); + BuiltValueNullFieldError.checkNotNull(input, r'CoreTextProcessingTask', 'input'); + BuiltValueNullFieldError.checkNotNull(identifier, r'CoreTextProcessingTask', 'identifier'); } @override - CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs rebuild( - void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder) updates) => + CoreTextProcessingTask rebuild(void Function(CoreTextProcessingTaskBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreTextProcessingTaskBuilder toBuilder() => CoreTextProcessingTaskBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreTextProcessingTask && + id == other.id && + type == other.type && + status == other.status && + userId == other.userId && + appId == other.appId && + input == other.input && + output == other.output && + identifier == other.identifier; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.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'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingTask') + ..add('id', id) + ..add('type', type) + ..add('status', status) + ..add('userId', userId) + ..add('appId', appId) + ..add('input', input) + ..add('output', output) + ..add('identifier', identifier)) .toString(); } } -class CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder - implements - Builder { - _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs? _$v; +class CoreTextProcessingTaskBuilder implements Builder { + _$CoreTextProcessingTask? _$v; - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + int? _id; + int? get id => _$this._id; + set id(int? id) => _$this._id = id; - CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder? _data; - CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder(); - set data(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + String? _type; + String? get type => _$this._type; + set type(String? type) => _$this._type = type; - CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder(); + int? _status; + int? get status => _$this._status; + set status(int? status) => _$this._status = status; - CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder get _$this { + String? _userId; + String? get userId => _$this._userId; + set userId(String? userId) => _$this._userId = userId; + + String? _appId; + String? get appId => _$this._appId; + set appId(String? appId) => _$this._appId = appId; + + String? _input; + String? get input => _$this._input; + set input(String? input) => _$this._input = input; + + String? _output; + String? get output => _$this._output; + set output(String? output) => _$this._output = output; + + String? _identifier; + String? get identifier => _$this._identifier; + set identifier(String? identifier) => _$this._identifier = identifier; + + CoreTextProcessingTaskBuilder(); + + CoreTextProcessingTaskBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.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(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs other) { + void replace(CoreTextProcessingTask other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs; + _$v = other as _$CoreTextProcessingTask; } @override - void update(void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreTextProcessingTaskBuilder)? updates) { if (updates != null) updates(this); } @override - CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs build() => _build(); + CoreTextProcessingTask build() => _build(); - _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs _build() { - _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$CoreReferenceApiTouchProviderResponse200ApplicationJson_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'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$CoreTextProcessingTask _build() { + final _$result = _$v ?? + _$CoreTextProcessingTask._( + id: id, + type: BuiltValueNullFieldError.checkNotNull(type, r'CoreTextProcessingTask', 'type'), + status: BuiltValueNullFieldError.checkNotNull(status, r'CoreTextProcessingTask', 'status'), + userId: userId, + appId: BuiltValueNullFieldError.checkNotNull(appId, r'CoreTextProcessingTask', 'appId'), + input: BuiltValueNullFieldError.checkNotNull(input, r'CoreTextProcessingTask', 'input'), + output: output, + identifier: BuiltValueNullFieldError.checkNotNull(identifier, r'CoreTextProcessingTask', 'identifier')); replace(_$result); return _$result; } } -class _$CoreReferenceApiTouchProviderResponse200ApplicationJson - extends CoreReferenceApiTouchProviderResponse200ApplicationJson { +class _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data + extends CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data { @override - final CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs ocs; + final CoreTextProcessingTask task; - factory _$CoreReferenceApiTouchProviderResponse200ApplicationJson( - [void Function(CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder)? updates]) => - (CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data( + [void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreReferenceApiTouchProviderResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreReferenceApiTouchProviderResponse200ApplicationJson', 'ocs'); + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data._({required this.task}) : super._() { + BuiltValueNullFieldError.checkNotNull( + task, r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data', 'task'); } @override - CoreReferenceApiTouchProviderResponse200ApplicationJson rebuild( - void Function(CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder) updates) => + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder toBuilder() => - CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder()..replace(this); + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreReferenceApiTouchProviderResponse200ApplicationJson && ocs == other.ocs; + return other is CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data && task == other.task; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, task.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreReferenceApiTouchProviderResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data') + ..add('task', task)) .toString(); } } -class CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder +class CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder implements - Builder { - _$CoreReferenceApiTouchProviderResponse200ApplicationJson? _$v; + Builder { + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data? _$v; - CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder? _ocs; - CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreTextProcessingTaskBuilder? _task; + CoreTextProcessingTaskBuilder get task => _$this._task ??= CoreTextProcessingTaskBuilder(); + set task(CoreTextProcessingTaskBuilder? task) => _$this._task = task; - CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder(); + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder(); - CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder get _$this { + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _task = $v.task.toBuilder(); _$v = null; } return this; } @override - void replace(CoreReferenceApiTouchProviderResponse200ApplicationJson other) { + void replace(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreReferenceApiTouchProviderResponse200ApplicationJson; + _$v = other as _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreReferenceApiTouchProviderResponse200ApplicationJson build() => _build(); + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreReferenceApiTouchProviderResponse200ApplicationJson _build() { - _$CoreReferenceApiTouchProviderResponse200ApplicationJson _$result; + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data _build() { + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$CoreReferenceApiTouchProviderResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data._(task: task.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'task'; + task.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreReferenceApiTouchProviderResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -17597,221 +18756,213 @@ class CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder } } -class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types - extends CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types { - @override - final String id; +class _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs + extends CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs { @override - final String name; + final CoreOCSMeta meta; @override - final String description; + final CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data data; - factory _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types( - [void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder)? updates]) => - (CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs( + [void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types._( - {required this.id, required this.name, required this.description}) + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull( - id, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types', 'id'); - BuiltValueNullFieldError.checkNotNull( - name, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types', 'name'); - BuiltValueNullFieldError.checkNotNull( - description, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types', 'description'); + BuiltValueNullFieldError.checkNotNull(meta, r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs', 'data'); } @override - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types rebuild( - void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder) updates) => + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs rebuild( + void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder toBuilder() => - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder()..replace(this); + CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types && - id == other.id && - name == other.name && - description == other.description; + return other is CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @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, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types') - ..add('id', id) - ..add('name', name) - ..add('description', description)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder +class CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types? _$v; - - String? _id; - String? get id => _$this._id; - set id(String? id) => _$this._id = id; + Builder { + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs? _$v; - String? _name; - String? get name => _$this._name; - set name(String? name) => _$this._name = name; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - String? _description; - String? get description => _$this._description; - set description(String? description) => _$this._description = description; + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder(); + CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder(); - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder get _$this { + CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _name = $v.name; - _description = $v.description; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types other) { + void replace(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types; + _$v = other as _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder)? updates) { + void update(void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types build() => _build(); + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs build() => _build(); - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types _build() { - final _$result = _$v ?? - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types._( - id: BuiltValueNullFieldError.checkNotNull( - id, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types', 'id'), - name: BuiltValueNullFieldError.checkNotNull( - name, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types', 'name'), - description: BuiltValueNullFieldError.checkNotNull(description, - r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types', 'description')); + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs _build() { + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data - extends CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data { +class _$CoreTextProcessingApiScheduleResponse200ApplicationJson + extends CoreTextProcessingApiScheduleResponse200ApplicationJson { @override - final BuiltList types; + final CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs ocs; - factory _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data( - [void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => - (CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiScheduleResponse200ApplicationJson( + [void Function(CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder)? updates]) => + (CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data._({required this.types}) : super._() { - BuiltValueNullFieldError.checkNotNull( - types, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data', 'types'); + _$CoreTextProcessingApiScheduleResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreTextProcessingApiScheduleResponse200ApplicationJson', 'ocs'); } @override - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data rebuild( - void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder) updates) => + CoreTextProcessingApiScheduleResponse200ApplicationJson rebuild( + void Function(CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder toBuilder() => + CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data && types == other.types; + return other is CoreTextProcessingApiScheduleResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, types.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data') - ..add('types', types)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiScheduleResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder +class CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder implements - Builder { - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data? _$v; + Builder { + _$CoreTextProcessingApiScheduleResponse200ApplicationJson? _$v; - ListBuilder? _types; - ListBuilder get types => - _$this._types ??= ListBuilder(); - set types(ListBuilder? types) => - _$this._types = types; + CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder? _ocs; + CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder(); + CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder(); - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder get _$this { + CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _types = $v.types.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data other) { + void replace(CoreTextProcessingApiScheduleResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data; + _$v = other as _$CoreTextProcessingApiScheduleResponse200ApplicationJson; } @override - void update(void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data build() => _build(); + CoreTextProcessingApiScheduleResponse200ApplicationJson build() => _build(); - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data _build() { - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data _$result; + _$CoreTextProcessingApiScheduleResponse200ApplicationJson _build() { + _$CoreTextProcessingApiScheduleResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data._(types: types.build()); + _$result = _$v ?? _$CoreTextProcessingApiScheduleResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'types'; - types.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + r'CoreTextProcessingApiScheduleResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -17820,116 +18971,98 @@ class CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder } } -class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs - extends CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs { - @override - final CoreOCSMeta meta; +class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data + extends CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data { @override - final CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data data; + final CoreTextProcessingTask task; - factory _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs( - [void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data( + [void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs', 'meta'); + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data._({required this.task}) : super._() { BuiltValueNullFieldError.checkNotNull( - data, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs', 'data'); + task, r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data', 'task'); } @override - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs rebuild( - void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder) updates) => + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreTextProcessingApiGetTaskResponse200ApplicationJson_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'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data') + ..add('task', task)) .toString(); } } -class CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder +class CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder implements - Builder { - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs? _$v; - - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + Builder { + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data? _$v; - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder? _data; - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder(); - set data(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + CoreTextProcessingTaskBuilder? _task; + CoreTextProcessingTaskBuilder get task => _$this._task ??= CoreTextProcessingTaskBuilder(); + set task(CoreTextProcessingTaskBuilder? task) => _$this._task = task; - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder(); + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder(); - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder get _$this { + CoreTextProcessingApiGetTaskResponse200ApplicationJson_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(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs other) { + void replace(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs; + _$v = other as _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs build() => _build(); + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs _build() { - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs _$result; + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data _build() { + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_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'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -17938,97 +19071,113 @@ class CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder } } -class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson - extends CoreTextProcessingApiTaskTypesResponse200ApplicationJson { +class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs + extends CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs { @override - final CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs ocs; + final CoreOCSMeta meta; + @override + final CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data data; - factory _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson( - [void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder)? updates]) => - (CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs( + [void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson', 'ocs'); + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs', 'data'); } @override - CoreTextProcessingApiTaskTypesResponse200ApplicationJson rebuild( - void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder) updates) => + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs rebuild( + void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder toBuilder() => - CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder()..replace(this); + CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreTextProcessingApiTaskTypesResponse200ApplicationJson && ocs == other.ocs; + return other is CoreTextProcessingApiGetTaskResponse200ApplicationJson_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'CoreTextProcessingApiTaskTypesResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder +class CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson? _$v; + Builder { + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs? _$v; - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder? _ocs; - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder(); + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder get _$this { + CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder(); + + CoreTextProcessingApiGetTaskResponse200ApplicationJson_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(CoreTextProcessingApiTaskTypesResponse200ApplicationJson other) { + void replace(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson; + _$v = other as _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreTextProcessingApiTaskTypesResponse200ApplicationJson build() => _build(); + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs build() => _build(); - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson _build() { - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson _$result; + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs _build() { + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson._(ocs: ocs.build()); + _$result = + _$v ?? _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_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'CoreTextProcessingApiTaskTypesResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -18037,205 +19186,132 @@ class CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder } } -class _$CoreTextProcessingTask extends CoreTextProcessingTask { - @override - 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; +class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson + extends CoreTextProcessingApiGetTaskResponse200ApplicationJson { @override - final String identifier; + final CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs ocs; - factory _$CoreTextProcessingTask([void Function(CoreTextProcessingTaskBuilder)? updates]) => - (CoreTextProcessingTaskBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiGetTaskResponse200ApplicationJson( + [void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder)? updates]) => + (CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreTextProcessingTask._( - {this.id, - required this.type, - required this.status, - this.userId, - required this.appId, - required this.input, - this.output, - required this.identifier}) - : super._() { - BuiltValueNullFieldError.checkNotNull(type, r'CoreTextProcessingTask', 'type'); - BuiltValueNullFieldError.checkNotNull(status, r'CoreTextProcessingTask', 'status'); - BuiltValueNullFieldError.checkNotNull(appId, r'CoreTextProcessingTask', 'appId'); - BuiltValueNullFieldError.checkNotNull(input, r'CoreTextProcessingTask', 'input'); - BuiltValueNullFieldError.checkNotNull(identifier, r'CoreTextProcessingTask', 'identifier'); + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreTextProcessingApiGetTaskResponse200ApplicationJson', 'ocs'); } @override - CoreTextProcessingTask rebuild(void Function(CoreTextProcessingTaskBuilder) updates) => + CoreTextProcessingApiGetTaskResponse200ApplicationJson rebuild( + void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreTextProcessingTaskBuilder toBuilder() => CoreTextProcessingTaskBuilder()..replace(this); + CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder toBuilder() => + CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreTextProcessingTask && - id == other.id && - type == other.type && - status == other.status && - userId == other.userId && - appId == other.appId && - input == other.input && - output == other.output && - identifier == other.identifier; + return other is CoreTextProcessingApiGetTaskResponse200ApplicationJson && ocs == other.ocs; } @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, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreTextProcessingTask') - ..add('id', id) - ..add('type', type) - ..add('status', status) - ..add('userId', userId) - ..add('appId', appId) - ..add('input', input) - ..add('output', output) - ..add('identifier', identifier)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiGetTaskResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreTextProcessingTaskBuilder implements Builder { - _$CoreTextProcessingTask? _$v; - - int? _id; - int? get id => _$this._id; - set id(int? id) => _$this._id = id; - - String? _type; - String? get type => _$this._type; - set type(String? type) => _$this._type = type; - - int? _status; - int? get status => _$this._status; - set status(int? status) => _$this._status = status; - - String? _userId; - String? get userId => _$this._userId; - set userId(String? userId) => _$this._userId = userId; - - String? _appId; - String? get appId => _$this._appId; - set appId(String? appId) => _$this._appId = appId; - - String? _input; - String? get input => _$this._input; - set input(String? input) => _$this._input = input; - - String? _output; - String? get output => _$this._output; - set output(String? output) => _$this._output = output; +class CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson? _$v; - String? _identifier; - String? get identifier => _$this._identifier; - set identifier(String? identifier) => _$this._identifier = identifier; + CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder? _ocs; + CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreTextProcessingTaskBuilder(); + CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder(); - CoreTextProcessingTaskBuilder get _$this { + CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder 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; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreTextProcessingTask other) { + void replace(CoreTextProcessingApiGetTaskResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreTextProcessingTask; + _$v = other as _$CoreTextProcessingApiGetTaskResponse200ApplicationJson; } @override - void update(void Function(CoreTextProcessingTaskBuilder)? updates) { + void update(void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreTextProcessingTask build() => _build(); + CoreTextProcessingApiGetTaskResponse200ApplicationJson build() => _build(); - _$CoreTextProcessingTask _build() { - final _$result = _$v ?? - _$CoreTextProcessingTask._( - id: id, - type: BuiltValueNullFieldError.checkNotNull(type, r'CoreTextProcessingTask', 'type'), - status: BuiltValueNullFieldError.checkNotNull(status, r'CoreTextProcessingTask', 'status'), - userId: userId, - appId: BuiltValueNullFieldError.checkNotNull(appId, r'CoreTextProcessingTask', 'appId'), - input: BuiltValueNullFieldError.checkNotNull(input, r'CoreTextProcessingTask', 'input'), - output: output, - identifier: BuiltValueNullFieldError.checkNotNull(identifier, r'CoreTextProcessingTask', 'identifier')); + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson _build() { + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreTextProcessingApiGetTaskResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreTextProcessingApiGetTaskResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data - extends CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data { +class _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data + extends CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data { @override final CoreTextProcessingTask task; - factory _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data( - [void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => - (CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data( + [void Function(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data._({required this.task}) : super._() { + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data._({required this.task}) : super._() { BuiltValueNullFieldError.checkNotNull( - task, r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data', 'task'); + task, r'CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data', 'task'); } @override - CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data rebuild( - void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder) updates) => + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => - CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data && task == other.task; + return other is CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data && task == other.task; } @override @@ -18248,25 +19324,25 @@ class _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data @override String toString() { - return (newBuiltValueToStringHelper(r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data') + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data') ..add('task', task)) .toString(); } } -class CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder +class CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_DataBuilder implements - Builder { - _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data? _$v; + Builder { + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data? _$v; CoreTextProcessingTaskBuilder? _task; CoreTextProcessingTaskBuilder get task => _$this._task ??= CoreTextProcessingTaskBuilder(); set task(CoreTextProcessingTaskBuilder? task) => _$this._task = task; - CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder(); + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_DataBuilder(); - CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder get _$this { + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { _task = $v.task.toBuilder(); @@ -18276,23 +19352,23 @@ class CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder } @override - void replace(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data other) { + void replace(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data; + _$v = other as _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data build() => _build(); + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data _build() { - _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data _$result; + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data _build() { + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data._(task: task.build()); + _$result = _$v ?? _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data._(task: task.build()); } catch (_) { late String _$failedField; try { @@ -18300,7 +19376,7 @@ class CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder task.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + r'CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -18309,36 +19385,38 @@ class CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder } } -class _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs - extends CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs { +class _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs + extends CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs { @override final CoreOCSMeta meta; @override - final CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data data; + final CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_Data data; - factory _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs( - [void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs( + [void Function(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs', 'data'); + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs', 'data'); } @override - CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs rebuild( - void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder) updates) => + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs rebuild( + void Function(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs && + return other is CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @@ -18354,31 +19432,31 @@ class _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder +class CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs? _$v; CoreOCSMetaBuilder? _meta; CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder? _data; - CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder(); - set data(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder(); + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_OcsBuilder(); - CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder get _$this { + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -18389,24 +19467,24 @@ class CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder } @override - void replace(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs other) { + void replace(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs; + _$v = other as _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs build() => _build(); + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs build() => _build(); - _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs _build() { - _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs _$result; + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs _build() { + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -18416,7 +19494,7 @@ class CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + r'CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -18425,32 +19503,32 @@ class CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder } } -class _$CoreTextProcessingApiScheduleResponse200ApplicationJson - extends CoreTextProcessingApiScheduleResponse200ApplicationJson { +class _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson + extends CoreTextProcessingApiDeleteTaskResponse200ApplicationJson { @override - final CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs ocs; + final CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_Ocs ocs; - factory _$CoreTextProcessingApiScheduleResponse200ApplicationJson( - [void Function(CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder)? updates]) => - (CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson( + [void Function(CoreTextProcessingApiDeleteTaskResponse200ApplicationJsonBuilder)? updates]) => + (CoreTextProcessingApiDeleteTaskResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreTextProcessingApiScheduleResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreTextProcessingApiScheduleResponse200ApplicationJson', 'ocs'); + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreTextProcessingApiDeleteTaskResponse200ApplicationJson', 'ocs'); } @override - CoreTextProcessingApiScheduleResponse200ApplicationJson rebuild( - void Function(CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder) updates) => + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson rebuild( + void Function(CoreTextProcessingApiDeleteTaskResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder toBuilder() => - CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder()..replace(this); + CoreTextProcessingApiDeleteTaskResponse200ApplicationJsonBuilder toBuilder() => + CoreTextProcessingApiDeleteTaskResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreTextProcessingApiScheduleResponse200ApplicationJson && ocs == other.ocs; + return other is CoreTextProcessingApiDeleteTaskResponse200ApplicationJson && ocs == other.ocs; } @override @@ -18463,25 +19541,25 @@ class _$CoreTextProcessingApiScheduleResponse200ApplicationJson @override String toString() { - return (newBuiltValueToStringHelper(r'CoreTextProcessingApiScheduleResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiDeleteTaskResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder +class CoreTextProcessingApiDeleteTaskResponse200ApplicationJsonBuilder implements - Builder { - _$CoreTextProcessingApiScheduleResponse200ApplicationJson? _$v; + Builder { + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson? _$v; - CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder? _ocs; - CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_OcsBuilder? _ocs; + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder(); + CoreTextProcessingApiDeleteTaskResponse200ApplicationJsonBuilder(); - CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder get _$this { + CoreTextProcessingApiDeleteTaskResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -18491,23 +19569,23 @@ class CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder } @override - void replace(CoreTextProcessingApiScheduleResponse200ApplicationJson other) { + void replace(CoreTextProcessingApiDeleteTaskResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreTextProcessingApiScheduleResponse200ApplicationJson; + _$v = other as _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson; } @override - void update(void Function(CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreTextProcessingApiDeleteTaskResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreTextProcessingApiScheduleResponse200ApplicationJson build() => _build(); + CoreTextProcessingApiDeleteTaskResponse200ApplicationJson build() => _build(); - _$CoreTextProcessingApiScheduleResponse200ApplicationJson _build() { - _$CoreTextProcessingApiScheduleResponse200ApplicationJson _$result; + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson _build() { + _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreTextProcessingApiScheduleResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CoreTextProcessingApiDeleteTaskResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -18515,7 +19593,7 @@ class CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreTextProcessingApiScheduleResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreTextProcessingApiDeleteTaskResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -18524,98 +19602,99 @@ class CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder } } -class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data - extends CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data { +class _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data + extends CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data { @override - final CoreTextProcessingTask task; + final BuiltList tasks; - factory _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data( - [void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => - (CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data( + [void Function(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data._({required this.task}) : super._() { + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data._({required this.tasks}) : super._() { BuiltValueNullFieldError.checkNotNull( - task, r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data', 'task'); + tasks, r'CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data', 'tasks'); } @override - CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data rebuild( - void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder) updates) => + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => - CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data && task == other.task; + return other is CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data && tasks == other.tasks; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, task.hashCode); + _$hash = $jc(_$hash, tasks.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data') - ..add('task', task)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data') + ..add('tasks', tasks)) .toString(); } } -class CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder +class CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_DataBuilder implements - Builder { - _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data? _$v; + Builder { + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data? _$v; - CoreTextProcessingTaskBuilder? _task; - CoreTextProcessingTaskBuilder get task => _$this._task ??= CoreTextProcessingTaskBuilder(); - set task(CoreTextProcessingTaskBuilder? task) => _$this._task = task; + ListBuilder? _tasks; + ListBuilder get tasks => _$this._tasks ??= ListBuilder(); + set tasks(ListBuilder? tasks) => _$this._tasks = tasks; - CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder(); + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_DataBuilder(); - CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder get _$this { + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _task = $v.task.toBuilder(); + _tasks = $v.tasks.toBuilder(); _$v = null; } return this; } @override - void replace(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data other) { + void replace(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data; + _$v = other as _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data build() => _build(); + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data _build() { - _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data _$result; + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data _build() { + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data._(task: task.build()); + _$result = + _$v ?? _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data._(tasks: tasks.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'task'; - task.build(); + _$failedField = 'tasks'; + tasks.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + r'CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -18624,35 +19703,38 @@ class CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder } } -class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs - extends CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs { +class _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs + extends CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs { @override final CoreOCSMeta meta; @override - final CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data data; + final CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_Data data; - factory _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs( - [void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs( + [void Function(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs', 'data'); + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs', 'data'); } @override - CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs rebuild( - void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder) updates) => + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs rebuild( + void Function(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs && + return other is CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @@ -18668,31 +19750,31 @@ class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder +class CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs? _$v; CoreOCSMetaBuilder? _meta; CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder? _data; - CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder(); - set data(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder(); + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_OcsBuilder(); - CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder get _$this { + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -18703,24 +19785,24 @@ class CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder } @override - void replace(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs other) { + void replace(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs; + _$v = other as _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs build() => _build(); + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs build() => _build(); - _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs _build() { - _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs _$result; + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs _build() { + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs _$result; try { - _$result = - _$v ?? _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -18730,7 +19812,7 @@ class CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + r'CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -18739,32 +19821,32 @@ class CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder } } -class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson - extends CoreTextProcessingApiGetTaskResponse200ApplicationJson { +class _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson + extends CoreTextProcessingApiListTasksByAppResponse200ApplicationJson { @override - final CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs ocs; + final CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_Ocs ocs; - factory _$CoreTextProcessingApiGetTaskResponse200ApplicationJson( - [void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder)? updates]) => - (CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson( + [void Function(CoreTextProcessingApiListTasksByAppResponse200ApplicationJsonBuilder)? updates]) => + (CoreTextProcessingApiListTasksByAppResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreTextProcessingApiGetTaskResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreTextProcessingApiGetTaskResponse200ApplicationJson', 'ocs'); + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreTextProcessingApiListTasksByAppResponse200ApplicationJson', 'ocs'); } @override - CoreTextProcessingApiGetTaskResponse200ApplicationJson rebuild( - void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder) updates) => + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson rebuild( + void Function(CoreTextProcessingApiListTasksByAppResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder toBuilder() => - CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder()..replace(this); + CoreTextProcessingApiListTasksByAppResponse200ApplicationJsonBuilder toBuilder() => + CoreTextProcessingApiListTasksByAppResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreTextProcessingApiGetTaskResponse200ApplicationJson && ocs == other.ocs; + return other is CoreTextProcessingApiListTasksByAppResponse200ApplicationJson && ocs == other.ocs; } @override @@ -18777,25 +19859,26 @@ class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson @override String toString() { - return (newBuiltValueToStringHelper(r'CoreTextProcessingApiGetTaskResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiListTasksByAppResponse200ApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder +class CoreTextProcessingApiListTasksByAppResponse200ApplicationJsonBuilder implements - Builder { - _$CoreTextProcessingApiGetTaskResponse200ApplicationJson? _$v; + Builder { + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson? _$v; - CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder? _ocs; - CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_OcsBuilder? _ocs; + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder(); + CoreTextProcessingApiListTasksByAppResponse200ApplicationJsonBuilder(); - CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder get _$this { + CoreTextProcessingApiListTasksByAppResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -18805,23 +19888,23 @@ class CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder } @override - void replace(CoreTextProcessingApiGetTaskResponse200ApplicationJson other) { + void replace(CoreTextProcessingApiListTasksByAppResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreTextProcessingApiGetTaskResponse200ApplicationJson; + _$v = other as _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson; } @override - void update(void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreTextProcessingApiListTasksByAppResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreTextProcessingApiGetTaskResponse200ApplicationJson build() => _build(); + CoreTextProcessingApiListTasksByAppResponse200ApplicationJson build() => _build(); - _$CoreTextProcessingApiGetTaskResponse200ApplicationJson _build() { - _$CoreTextProcessingApiGetTaskResponse200ApplicationJson _$result; + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson _build() { + _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreTextProcessingApiGetTaskResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CoreTextProcessingApiListTasksByAppResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -18829,7 +19912,7 @@ class CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreTextProcessingApiGetTaskResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreTextProcessingApiListTasksByAppResponse200ApplicationJson', _$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 60f76237..362b7348 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.json +++ b/packages/nextcloud/lib/src/api/core.openapi.json @@ -509,6 +509,415 @@ } } } + }, + "FilesSharingCapabilities": { + "type": "object", + "required": [ + "files_sharing" + ], + "properties": { + "files_sharing": { + "type": "object", + "required": [ + "api_enabled", + "public", + "user", + "resharing", + "federation", + "sharee" + ], + "properties": { + "api_enabled": { + "type": "boolean" + }, + "public": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "password": { + "type": "object", + "required": [ + "enforced", + "askForOptionalPassword" + ], + "properties": { + "enforced": { + "type": "boolean" + }, + "askForOptionalPassword": { + "type": "boolean" + } + } + }, + "multiple_links": { + "type": "boolean" + }, + "expire_date": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "days": { + "type": "integer", + "format": "int64" + }, + "enforced": { + "type": "boolean" + } + } + }, + "expire_date_internal": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "days": { + "type": "integer", + "format": "int64" + }, + "enforced": { + "type": "boolean" + } + } + }, + "expire_date_remote": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "days": { + "type": "integer", + "format": "int64" + }, + "enforced": { + "type": "boolean" + } + } + }, + "send_mail": { + "type": "boolean" + }, + "upload": { + "type": "boolean" + }, + "upload_files_drop": { + "type": "boolean" + } + } + }, + "user": { + "type": "object", + "required": [ + "send_mail" + ], + "properties": { + "send_mail": { + "type": "boolean" + }, + "expire_date": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + } + } + }, + "resharing": { + "type": "boolean" + }, + "group_sharing": { + "type": "boolean" + }, + "group": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "expire_date": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + } + } + }, + "default_permissions": { + "type": "integer", + "format": "int64" + }, + "federation": { + "type": "object", + "required": [ + "outgoing", + "incoming", + "expire_date", + "expire_date_supported" + ], + "properties": { + "outgoing": { + "type": "boolean" + }, + "incoming": { + "type": "boolean" + }, + "expire_date": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + }, + "expire_date_supported": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + } + } + }, + "sharee": { + "type": "object", + "required": [ + "query_lookup_default", + "always_show_unique" + ], + "properties": { + "query_lookup_default": { + "type": "boolean" + }, + "always_show_unique": { + "type": "boolean" + } + } + } + } + } + } + }, + "NotesCapabilities": { + "type": "object", + "required": [ + "notes" + ], + "properties": { + "notes": { + "type": "object", + "additionalProperties": true, + "properties": { + "api_version": { + "type": "array", + "items": { + "type": "string" + } + }, + "version": { + "type": "string" + } + } + } + } + }, + "NotificationsCapabilities": { + "type": "object", + "required": [ + "notifications" + ], + "properties": { + "notifications": { + "type": "object", + "additionalProperties": true, + "properties": { + "ocs-endpoints": { + "type": "array", + "items": { + "type": "string" + } + }, + "push": { + "type": "array", + "items": { + "type": "string" + } + }, + "admin-notifications": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "ProvisioningApiCapabilities": { + "type": "object", + "required": [ + "provisioning_api" + ], + "properties": { + "provisioning_api": { + "type": "object", + "required": [ + "version", + "AccountPropertyScopesVersion", + "AccountPropertyScopesFederatedEnabled", + "AccountPropertyScopesPublishedEnabled" + ], + "properties": { + "version": { + "type": "string" + }, + "AccountPropertyScopesVersion": { + "type": "integer", + "format": "int64" + }, + "AccountPropertyScopesFederatedEnabled": { + "type": "boolean" + }, + "AccountPropertyScopesPublishedEnabled": { + "type": "boolean" + } + } + } + } + }, + "ThemingPublicCapabilities": { + "type": "object", + "required": [ + "theming" + ], + "properties": { + "theming": { + "type": "object", + "required": [ + "name", + "url", + "slogan", + "color", + "color-text", + "color-element", + "color-element-bright", + "color-element-dark", + "logo", + "background", + "background-plain", + "background-default", + "logoheader", + "favicon" + ], + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "slogan": { + "type": "string" + }, + "color": { + "type": "string" + }, + "color-text": { + "type": "string" + }, + "color-element": { + "type": "string" + }, + "color-element-bright": { + "type": "string" + }, + "color-element-dark": { + "type": "string" + }, + "logo": { + "type": "string" + }, + "background": { + "type": "string" + }, + "background-plain": { + "type": "boolean" + }, + "background-default": { + "type": "boolean" + }, + "logoheader": { + "type": "string" + }, + "favicon": { + "type": "string" + } + } + } + } + }, + "UserStatusCapabilities": { + "type": "object", + "required": [ + "user_status" + ], + "properties": { + "user_status": { + "type": "object", + "required": [ + "enabled", + "restore", + "supports_emoji" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "restore": { + "type": "boolean" + }, + "supports_emoji": { + "type": "boolean" + } + } + } + } } } }, @@ -888,6 +1297,15 @@ "type": "string", "default": "fill" } + }, + { + "name": "mimeFallback", + "in": "query", + "description": "Whether to fallback to the mime icon if no preview is available", + "schema": { + "type": "integer", + "default": 0 + } } ], "responses": { @@ -976,6 +1394,15 @@ "type": "string", "default": "fill" } + }, + { + "name": "mimeFallback", + "in": "query", + "description": "Whether to fallback to the mime icon if no preview is available", + "schema": { + "type": "integer", + "default": 0 + } } ], "responses": { @@ -1217,369 +1644,26 @@ "additionalProperties": { "type": "object" }, - "properties": { - "files_sharing": { - "type": "object", - "required": [ - "api_enabled", - "public", - "user", - "resharing", - "federation", - "sharee" - ], - "properties": { - "api_enabled": { - "type": "boolean" - }, - "public": { - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean" - }, - "password": { - "type": "object", - "required": [ - "enforced", - "askForOptionalPassword" - ], - "properties": { - "enforced": { - "type": "boolean" - }, - "askForOptionalPassword": { - "type": "boolean" - } - } - }, - "multiple_links": { - "type": "boolean" - }, - "expire_date": { - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean" - }, - "days": { - "type": "integer", - "format": "int64" - }, - "enforced": { - "type": "boolean" - } - } - }, - "expire_date_internal": { - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean" - }, - "days": { - "type": "integer", - "format": "int64" - }, - "enforced": { - "type": "boolean" - } - } - }, - "expire_date_remote": { - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean" - }, - "days": { - "type": "integer", - "format": "int64" - }, - "enforced": { - "type": "boolean" - } - } - }, - "send_mail": { - "type": "boolean" - }, - "upload": { - "type": "boolean" - }, - "upload_files_drop": { - "type": "boolean" - } - } - }, - "user": { - "type": "object", - "required": [ - "send_mail" - ], - "properties": { - "send_mail": { - "type": "boolean" - }, - "expire_date": { - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean" - } - } - } - } - }, - "resharing": { - "type": "boolean" - }, - "group_sharing": { - "type": "boolean" - }, - "group": { - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean" - }, - "expire_date": { - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean" - } - } - } - } - }, - "default_permissions": { - "type": "integer", - "format": "int64" - }, - "federation": { - "type": "object", - "required": [ - "outgoing", - "incoming", - "expire_date", - "expire_date_supported" - ], - "properties": { - "outgoing": { - "type": "boolean" - }, - "incoming": { - "type": "boolean" - }, - "expire_date": { - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "expire_date_supported": { - "type": "object", - "required": [ - "enabled" - ], - "properties": { - "enabled": { - "type": "boolean" - } - } - } - } - }, - "sharee": { - "type": "object", - "required": [ - "query_lookup_default", - "always_show_unique" - ], - "properties": { - "query_lookup_default": { - "type": "boolean" - }, - "always_show_unique": { - "type": "boolean" - } - } - } - } + "anyOf": [ + { + "$ref": "#/components/schemas/FilesSharingCapabilities" }, - "notes": { - "type": "object", - "additionalProperties": true, - "properties": { - "api_version": { - "type": "array", - "items": { - "type": "string" - } - }, - "version": { - "type": "string" - } - } + { + "$ref": "#/components/schemas/NotesCapabilities" }, - "notifications": { - "type": "object", - "additionalProperties": true, - "properties": { - "ocs-endpoints": { - "type": "array", - "items": { - "type": "string" - } - }, - "push": { - "type": "array", - "items": { - "type": "string" - } - }, - "admin-notifications": { - "type": "array", - "items": { - "type": "string" - } - } - } + { + "$ref": "#/components/schemas/NotificationsCapabilities" }, - "provisioning_api": { - "type": "object", - "required": [ - "version", - "AccountPropertyScopesVersion", - "AccountPropertyScopesFederatedEnabled", - "AccountPropertyScopesPublishedEnabled" - ], - "properties": { - "version": { - "type": "string" - }, - "AccountPropertyScopesVersion": { - "type": "integer", - "format": "int64" - }, - "AccountPropertyScopesFederatedEnabled": { - "type": "boolean" - }, - "AccountPropertyScopesPublishedEnabled": { - "type": "boolean" - } - } + { + "$ref": "#/components/schemas/ProvisioningApiCapabilities" }, - "theming": { - "type": "object", - "required": [ - "name", - "url", - "slogan", - "color", - "color-text", - "color-element", - "color-element-bright", - "color-element-dark", - "logo", - "background", - "background-plain", - "background-default", - "logoheader", - "favicon" - ], - "properties": { - "name": { - "type": "string" - }, - "url": { - "type": "string" - }, - "slogan": { - "type": "string" - }, - "color": { - "type": "string" - }, - "color-text": { - "type": "string" - }, - "color-element": { - "type": "string" - }, - "color-element-bright": { - "type": "string" - }, - "color-element-dark": { - "type": "string" - }, - "logo": { - "type": "string" - }, - "background": { - "type": "string" - }, - "background-plain": { - "type": "boolean" - }, - "background-default": { - "type": "boolean" - }, - "logoheader": { - "type": "string" - }, - "favicon": { - "type": "string" - } - } + { + "$ref": "#/components/schemas/ThemingPublicCapabilities" }, - "user_status": { - "type": "object", - "required": [ - "enabled", - "restore", - "supports_emoji" - ], - "properties": { - "enabled": { - "type": "boolean" - }, - "restore": { - "type": "boolean" - }, - "supports_emoji": { - "type": "boolean" - } - } + { + "$ref": "#/components/schemas/UserStatusCapabilities" } - } + ] } } } @@ -4052,6 +4136,171 @@ } } } + }, + "delete": { + "operationId": "text_processing_api-delete-task", + "summary": "This endpoint allows to delete a scheduled task for a user", + "tags": [ + "text_processing_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", + "required": true, + "schema": { + "type": "string", + "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/TextProcessingTask" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/textprocessing/tasks/app/{appId}": { + "get": { + "operationId": "text_processing_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_processing_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", + "required": true, + "schema": { + "type": "string", + "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/TextProcessingTask" + } + } + } + } + } + } + } + } + } + } + } + } } }, "/status.php": { diff --git a/packages/nextcloud/lib/src/version_supported.dart b/packages/nextcloud/lib/src/version_supported.dart index 5026ebcc..60b6d67b 100644 --- a/packages/nextcloud/lib/src/version_supported.dart +++ b/packages/nextcloud/lib/src/version_supported.dart @@ -49,7 +49,7 @@ extension NotesVersionSupported on NotesClient { /// /// Also returns the supported API version number (bool, int) isSupported(final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data capabilities) => ( - capabilities.capabilities.notes?.apiVersion + capabilities.capabilities.notesCapabilities?.notes.apiVersion ?.map(Version.parse) .where((final version) => version.major == notesSupportedVersion) .isNotEmpty ?? diff --git a/packages/nextcloud/test/core_test.dart b/packages/nextcloud/test/core_test.dart index f7eaf516..60ce5734 100644 --- a/packages/nextcloud/test/core_test.dart +++ b/packages/nextcloud/test/core_test.dart @@ -45,17 +45,12 @@ void main() { final capabilities = await client.core.ocs.getCapabilities(); expect(capabilities.ocs.data.version.major, coreSupportedVersion); expect(capabilities.ocs.data.version.string, startsWith('$coreSupportedVersion.')); - expect(capabilities.ocs.data.capabilities.theming!.name, 'Nextcloud'); - expect(capabilities.ocs.data.capabilities.theming!.url, 'https://nextcloud.com'); - expect(capabilities.ocs.data.capabilities.theming!.slogan, 'a safe home for all your data'); - expect(capabilities.ocs.data.capabilities.theming!.color, '#0082c9'); - expect(capabilities.ocs.data.capabilities.theming!.colorText, '#ffffff'); - expect(capabilities.ocs.data.capabilities.theming!.logo, isNotEmpty); - expect(capabilities.ocs.data.capabilities.theming!.background, isNotEmpty); - expect(capabilities.ocs.data.capabilities.theming!.backgroundPlain, false); - expect(capabilities.ocs.data.capabilities.theming!.backgroundDefault, true); - expect(capabilities.ocs.data.capabilities.theming!.logoheader, isNotEmpty); - expect(capabilities.ocs.data.capabilities.theming!.favicon, isNotEmpty); + expect(capabilities.ocs.data.capabilities.filesSharingCapabilities, isNotNull); + expect(capabilities.ocs.data.capabilities.notesCapabilities, isNotNull); + expect(capabilities.ocs.data.capabilities.notificationsCapabilities, isNotNull); + expect(capabilities.ocs.data.capabilities.provisioningApiCapabilities, isNotNull); + expect(capabilities.ocs.data.capabilities.themingPublicCapabilities, isNotNull); + expect(capabilities.ocs.data.capabilities.userStatusCapabilities, isNotNull); }); test('Get navigation apps', () async { diff --git a/tool/generate-specs.sh b/tool/generate-specs.sh index 0da35a70..cc7d8472 100755 --- a/tool/generate-specs.sh +++ b/tool/generate-specs.sh @@ -23,7 +23,7 @@ done jq \ -s \ - '.[0] * {paths: {"/ocs/v2.php/cloud/capabilities": {get: {responses: .[1].paths."/ocs/v2.php/cloud/capabilities".get.responses}}}}' \ + '.[0] * {components: {schemas: .[1].components.schemas | with_entries(select(.key | endswith("Capabilities")))}, paths: {"/ocs/v2.php/cloud/capabilities": {get: {responses: .[1].paths."/ocs/v2.php/cloud/capabilities".get.responses}}}}' \ packages/nextcloud/lib/src/api/core.openapi.json \ /tmp/nextcloud-neon/merged.json \ > /tmp/nextcloud-neon/core.json