From b1530a01f6b3b7de78e07ca244d82e8ca5d0fc04 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Sun, 29 Oct 2023 18:26:27 +0100 Subject: [PATCH] fixup! feat(tool,nextcloud): Add spreed --- external/nextcloud-spreed | 2 +- .../nextcloud/lib/src/api/core.openapi.dart | 325 ++++-- .../nextcloud/lib/src/api/core.openapi.g.dart | 994 +++++++++------- .../nextcloud/lib/src/api/core.openapi.json | 290 ++--- .../nextcloud/lib/src/api/spreed.openapi.dart | 340 ++++-- .../lib/src/api/spreed.openapi.g.dart | 1006 ++++++++++------- .../nextcloud/lib/src/api/spreed.openapi.json | 330 +++--- .../nextcloud/lib/src/helpers/spreed.dart | 2 +- tool/patches/spreed/compatibility.json | 6 +- tool/patches/spreed/wip.json | 19 - 10 files changed, 1894 insertions(+), 1420 deletions(-) delete mode 100644 tool/patches/spreed/wip.json diff --git a/external/nextcloud-spreed b/external/nextcloud-spreed index 21ea70075c6..7d7ca73f8f6 160000 --- a/external/nextcloud-spreed +++ b/external/nextcloud-spreed @@ -1 +1 @@ -Subproject commit 21ea70075c66caf087b141e1708294ffbf118ec3 +Subproject commit 7d7ca73f8f62d5db5ce5ad73e37bcaa8afcab8c5 diff --git a/packages/nextcloud/lib/src/api/core.openapi.dart b/packages/nextcloud/lib/src/api/core.openapi.dart index 5ae7606f581..aebf151edb6 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.dart +++ b/packages/nextcloud/lib/src/api/core.openapi.dart @@ -7406,26 +7406,26 @@ abstract class SharebymailCapabilities } @BuiltValue(instantiable: false) -abstract interface class SpreedPublicCapabilities_Spreed_Config_AttachmentsInterface { +abstract interface class SpreedPublicCapabilities0_Spreed_Config_AttachmentsInterface { bool get allowed; String? get folder; } -abstract class SpreedPublicCapabilities_Spreed_Config_Attachments +abstract class SpreedPublicCapabilities0_Spreed_Config_Attachments implements - SpreedPublicCapabilities_Spreed_Config_AttachmentsInterface, - Built { - factory SpreedPublicCapabilities_Spreed_Config_Attachments([ - final void Function(SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder)? b, - ]) = _$SpreedPublicCapabilities_Spreed_Config_Attachments; + SpreedPublicCapabilities0_Spreed_Config_AttachmentsInterface, + Built { + factory SpreedPublicCapabilities0_Spreed_Config_Attachments([ + final void Function(SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder)? b, + ]) = _$SpreedPublicCapabilities0_Spreed_Config_Attachments; // coverage:ignore-start - const SpreedPublicCapabilities_Spreed_Config_Attachments._(); + const SpreedPublicCapabilities0_Spreed_Config_Attachments._(); // coverage:ignore-end // coverage:ignore-start - factory SpreedPublicCapabilities_Spreed_Config_Attachments.fromJson(final Map json) => + factory SpreedPublicCapabilities0_Spreed_Config_Attachments.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7433,12 +7433,12 @@ abstract class SpreedPublicCapabilities_Spreed_Config_Attachments Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$spreedPublicCapabilitiesSpreedConfigAttachmentsSerializer; + static Serializer get serializer => + _$spreedPublicCapabilities0SpreedConfigAttachmentsSerializer; } @BuiltValue(instantiable: false) -abstract interface class SpreedPublicCapabilities_Spreed_Config_CallInterface { +abstract interface class SpreedPublicCapabilities0_Spreed_Config_CallInterface { bool get enabled; @BuiltValueField(wireName: 'breakout-rooms') bool get breakoutRooms; @@ -7459,20 +7459,20 @@ abstract interface class SpreedPublicCapabilities_Spreed_Config_CallInterface { bool? get canEnableSip; } -abstract class SpreedPublicCapabilities_Spreed_Config_Call +abstract class SpreedPublicCapabilities0_Spreed_Config_Call implements - SpreedPublicCapabilities_Spreed_Config_CallInterface, - Built { - factory SpreedPublicCapabilities_Spreed_Config_Call([ - final void Function(SpreedPublicCapabilities_Spreed_Config_CallBuilder)? b, - ]) = _$SpreedPublicCapabilities_Spreed_Config_Call; + SpreedPublicCapabilities0_Spreed_Config_CallInterface, + Built { + factory SpreedPublicCapabilities0_Spreed_Config_Call([ + final void Function(SpreedPublicCapabilities0_Spreed_Config_CallBuilder)? b, + ]) = _$SpreedPublicCapabilities0_Spreed_Config_Call; // coverage:ignore-start - const SpreedPublicCapabilities_Spreed_Config_Call._(); + const SpreedPublicCapabilities0_Spreed_Config_Call._(); // coverage:ignore-end // coverage:ignore-start - factory SpreedPublicCapabilities_Spreed_Config_Call.fromJson(final Map json) => + factory SpreedPublicCapabilities0_Spreed_Config_Call.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7480,12 +7480,12 @@ abstract class SpreedPublicCapabilities_Spreed_Config_Call Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$spreedPublicCapabilitiesSpreedConfigCallSerializer; + static Serializer get serializer => + _$spreedPublicCapabilities0SpreedConfigCallSerializer; } @BuiltValue(instantiable: false) -abstract interface class SpreedPublicCapabilities_Spreed_Config_ChatInterface { +abstract interface class SpreedPublicCapabilities0_Spreed_Config_ChatInterface { @BuiltValueField(wireName: 'max-length') int get maxLength; @BuiltValueField(wireName: 'read-privacy') @@ -7497,20 +7497,20 @@ abstract interface class SpreedPublicCapabilities_Spreed_Config_ChatInterface { BuiltList? get translations; } -abstract class SpreedPublicCapabilities_Spreed_Config_Chat +abstract class SpreedPublicCapabilities0_Spreed_Config_Chat implements - SpreedPublicCapabilities_Spreed_Config_ChatInterface, - Built { - factory SpreedPublicCapabilities_Spreed_Config_Chat([ - final void Function(SpreedPublicCapabilities_Spreed_Config_ChatBuilder)? b, - ]) = _$SpreedPublicCapabilities_Spreed_Config_Chat; + SpreedPublicCapabilities0_Spreed_Config_ChatInterface, + Built { + factory SpreedPublicCapabilities0_Spreed_Config_Chat([ + final void Function(SpreedPublicCapabilities0_Spreed_Config_ChatBuilder)? b, + ]) = _$SpreedPublicCapabilities0_Spreed_Config_Chat; // coverage:ignore-start - const SpreedPublicCapabilities_Spreed_Config_Chat._(); + const SpreedPublicCapabilities0_Spreed_Config_Chat._(); // coverage:ignore-end // coverage:ignore-start - factory SpreedPublicCapabilities_Spreed_Config_Chat.fromJson(final Map json) => + factory SpreedPublicCapabilities0_Spreed_Config_Chat.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7518,31 +7518,31 @@ abstract class SpreedPublicCapabilities_Spreed_Config_Chat Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$spreedPublicCapabilitiesSpreedConfigChatSerializer; + static Serializer get serializer => + _$spreedPublicCapabilities0SpreedConfigChatSerializer; } @BuiltValue(instantiable: false) -abstract interface class SpreedPublicCapabilities_Spreed_Config_ConversationsInterface { +abstract interface class SpreedPublicCapabilities0_Spreed_Config_ConversationsInterface { @BuiltValueField(wireName: 'can-create') bool get canCreate; } -abstract class SpreedPublicCapabilities_Spreed_Config_Conversations +abstract class SpreedPublicCapabilities0_Spreed_Config_Conversations implements - SpreedPublicCapabilities_Spreed_Config_ConversationsInterface, - Built { - factory SpreedPublicCapabilities_Spreed_Config_Conversations([ - final void Function(SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder)? b, - ]) = _$SpreedPublicCapabilities_Spreed_Config_Conversations; + SpreedPublicCapabilities0_Spreed_Config_ConversationsInterface, + Built { + factory SpreedPublicCapabilities0_Spreed_Config_Conversations([ + final void Function(SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder)? b, + ]) = _$SpreedPublicCapabilities0_Spreed_Config_Conversations; // coverage:ignore-start - const SpreedPublicCapabilities_Spreed_Config_Conversations._(); + const SpreedPublicCapabilities0_Spreed_Config_Conversations._(); // coverage:ignore-end // coverage:ignore-start - factory SpreedPublicCapabilities_Spreed_Config_Conversations.fromJson(final Map json) => + factory SpreedPublicCapabilities0_Spreed_Config_Conversations.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7550,30 +7550,31 @@ abstract class SpreedPublicCapabilities_Spreed_Config_Conversations Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$spreedPublicCapabilitiesSpreedConfigConversationsSerializer; + static Serializer get serializer => + _$spreedPublicCapabilities0SpreedConfigConversationsSerializer; } @BuiltValue(instantiable: false) -abstract interface class SpreedPublicCapabilities_Spreed_Config_PreviewsInterface { +abstract interface class SpreedPublicCapabilities0_Spreed_Config_PreviewsInterface { @BuiltValueField(wireName: 'max-gif-size') int get maxGifSize; } -abstract class SpreedPublicCapabilities_Spreed_Config_Previews +abstract class SpreedPublicCapabilities0_Spreed_Config_Previews implements - SpreedPublicCapabilities_Spreed_Config_PreviewsInterface, - Built { - factory SpreedPublicCapabilities_Spreed_Config_Previews([ - final void Function(SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder)? b, - ]) = _$SpreedPublicCapabilities_Spreed_Config_Previews; + SpreedPublicCapabilities0_Spreed_Config_PreviewsInterface, + Built { + factory SpreedPublicCapabilities0_Spreed_Config_Previews([ + final void Function(SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder)? b, + ]) = _$SpreedPublicCapabilities0_Spreed_Config_Previews; // coverage:ignore-start - const SpreedPublicCapabilities_Spreed_Config_Previews._(); + const SpreedPublicCapabilities0_Spreed_Config_Previews._(); // coverage:ignore-end // coverage:ignore-start - factory SpreedPublicCapabilities_Spreed_Config_Previews.fromJson(final Map json) => + factory SpreedPublicCapabilities0_Spreed_Config_Previews.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7581,33 +7582,33 @@ abstract class SpreedPublicCapabilities_Spreed_Config_Previews Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$spreedPublicCapabilitiesSpreedConfigPreviewsSerializer; + static Serializer get serializer => + _$spreedPublicCapabilities0SpreedConfigPreviewsSerializer; } @BuiltValue(instantiable: false) -abstract interface class SpreedPublicCapabilities_Spreed_Config_SignalingInterface { +abstract interface class SpreedPublicCapabilities0_Spreed_Config_SignalingInterface { @BuiltValueField(wireName: 'session-ping-limit') int get sessionPingLimit; @BuiltValueField(wireName: 'hello-v2-token-key') String? get helloV2TokenKey; } -abstract class SpreedPublicCapabilities_Spreed_Config_Signaling +abstract class SpreedPublicCapabilities0_Spreed_Config_Signaling implements - SpreedPublicCapabilities_Spreed_Config_SignalingInterface, - Built { - factory SpreedPublicCapabilities_Spreed_Config_Signaling([ - final void Function(SpreedPublicCapabilities_Spreed_Config_SignalingBuilder)? b, - ]) = _$SpreedPublicCapabilities_Spreed_Config_Signaling; + SpreedPublicCapabilities0_Spreed_Config_SignalingInterface, + Built { + factory SpreedPublicCapabilities0_Spreed_Config_Signaling([ + final void Function(SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder)? b, + ]) = _$SpreedPublicCapabilities0_Spreed_Config_Signaling; // coverage:ignore-start - const SpreedPublicCapabilities_Spreed_Config_Signaling._(); + const SpreedPublicCapabilities0_Spreed_Config_Signaling._(); // coverage:ignore-end // coverage:ignore-start - factory SpreedPublicCapabilities_Spreed_Config_Signaling.fromJson(final Map json) => + factory SpreedPublicCapabilities0_Spreed_Config_Signaling.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7615,34 +7616,34 @@ abstract class SpreedPublicCapabilities_Spreed_Config_Signaling Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$spreedPublicCapabilitiesSpreedConfigSignalingSerializer; + static Serializer get serializer => + _$spreedPublicCapabilities0SpreedConfigSignalingSerializer; } @BuiltValue(instantiable: false) -abstract interface class SpreedPublicCapabilities_Spreed_ConfigInterface { - SpreedPublicCapabilities_Spreed_Config_Attachments get attachments; - SpreedPublicCapabilities_Spreed_Config_Call get call; - SpreedPublicCapabilities_Spreed_Config_Chat get chat; - SpreedPublicCapabilities_Spreed_Config_Conversations get conversations; - SpreedPublicCapabilities_Spreed_Config_Previews get previews; - SpreedPublicCapabilities_Spreed_Config_Signaling get signaling; +abstract interface class SpreedPublicCapabilities0_Spreed_ConfigInterface { + SpreedPublicCapabilities0_Spreed_Config_Attachments get attachments; + SpreedPublicCapabilities0_Spreed_Config_Call get call; + SpreedPublicCapabilities0_Spreed_Config_Chat get chat; + SpreedPublicCapabilities0_Spreed_Config_Conversations get conversations; + SpreedPublicCapabilities0_Spreed_Config_Previews get previews; + SpreedPublicCapabilities0_Spreed_Config_Signaling get signaling; } -abstract class SpreedPublicCapabilities_Spreed_Config +abstract class SpreedPublicCapabilities0_Spreed_Config implements - SpreedPublicCapabilities_Spreed_ConfigInterface, - Built { - factory SpreedPublicCapabilities_Spreed_Config([ - final void Function(SpreedPublicCapabilities_Spreed_ConfigBuilder)? b, - ]) = _$SpreedPublicCapabilities_Spreed_Config; + SpreedPublicCapabilities0_Spreed_ConfigInterface, + Built { + factory SpreedPublicCapabilities0_Spreed_Config([ + final void Function(SpreedPublicCapabilities0_Spreed_ConfigBuilder)? b, + ]) = _$SpreedPublicCapabilities0_Spreed_Config; // coverage:ignore-start - const SpreedPublicCapabilities_Spreed_Config._(); + const SpreedPublicCapabilities0_Spreed_Config._(); // coverage:ignore-end // coverage:ignore-start - factory SpreedPublicCapabilities_Spreed_Config.fromJson(final Map json) => + factory SpreedPublicCapabilities0_Spreed_Config.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7650,30 +7651,30 @@ abstract class SpreedPublicCapabilities_Spreed_Config Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$spreedPublicCapabilitiesSpreedConfigSerializer; + static Serializer get serializer => + _$spreedPublicCapabilities0SpreedConfigSerializer; } @BuiltValue(instantiable: false) -abstract interface class SpreedPublicCapabilities_SpreedInterface { +abstract interface class SpreedPublicCapabilities0_SpreedInterface { BuiltList get features; - SpreedPublicCapabilities_Spreed_Config get config; + SpreedPublicCapabilities0_Spreed_Config get config; String get version; } -abstract class SpreedPublicCapabilities_Spreed +abstract class SpreedPublicCapabilities0_Spreed implements - SpreedPublicCapabilities_SpreedInterface, - Built { - factory SpreedPublicCapabilities_Spreed([final void Function(SpreedPublicCapabilities_SpreedBuilder)? b]) = - _$SpreedPublicCapabilities_Spreed; + SpreedPublicCapabilities0_SpreedInterface, + Built { + factory SpreedPublicCapabilities0_Spreed([final void Function(SpreedPublicCapabilities0_SpreedBuilder)? b]) = + _$SpreedPublicCapabilities0_Spreed; // coverage:ignore-start - const SpreedPublicCapabilities_Spreed._(); + const SpreedPublicCapabilities0_Spreed._(); // coverage:ignore-end // coverage:ignore-start - factory SpreedPublicCapabilities_Spreed.fromJson(final Map json) => + factory SpreedPublicCapabilities0_Spreed.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7681,12 +7682,39 @@ abstract class SpreedPublicCapabilities_Spreed Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$spreedPublicCapabilitiesSpreedSerializer; + static Serializer get serializer => _$spreedPublicCapabilities0SpreedSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SpreedPublicCapabilities0Interface { + SpreedPublicCapabilities0_Spreed get spreed; +} + +abstract class SpreedPublicCapabilities0 + implements SpreedPublicCapabilities0Interface, Built { + factory SpreedPublicCapabilities0([final void Function(SpreedPublicCapabilities0Builder)? b]) = + _$SpreedPublicCapabilities0; + + // coverage:ignore-start + const SpreedPublicCapabilities0._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SpreedPublicCapabilities0.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$spreedPublicCapabilities0Serializer; } @BuiltValue(instantiable: false) abstract interface class SpreedPublicCapabilitiesInterface { - SpreedPublicCapabilities_Spreed get spreed; + SpreedPublicCapabilities0? get spreedPublicCapabilities0; + BuiltList? get builtListJsonObject; } abstract class SpreedPublicCapabilities @@ -7707,7 +7735,60 @@ abstract class SpreedPublicCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$spreedPublicCapabilitiesSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$SpreedPublicCapabilitiesSerializer(); + + JsonObject get data; + @BuiltValueHook(finalizeBuilder: true) + static void _validate(final SpreedPublicCapabilitiesBuilder b) { + // When this is rebuild from another builder + if (b._data == null) { + return; + } + + final match = [b._spreedPublicCapabilities0, b._builtListJsonObject].singleWhereOrNull((final x) => x != null); + if (match == null) { + throw StateError("Need exactly one of 'spreedPublicCapabilities0', 'builtListJsonObject' for ${b._data}"); + } + } +} + +class _$SpreedPublicCapabilitiesSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [SpreedPublicCapabilities, _$SpreedPublicCapabilities]; + + @override + final String wireName = 'SpreedPublicCapabilities'; + + @override + Object serialize( + final Serializers serializers, + final SpreedPublicCapabilities object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + SpreedPublicCapabilities deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = SpreedPublicCapabilitiesBuilder()..data = JsonObject(data); + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(SpreedPublicCapabilities0))! + as SpreedPublicCapabilities0; + result.spreedPublicCapabilities0.replace(value); + } catch (_) {} + try { + final value = _jsonSerializers.deserialize( + data, + specifiedType: const FullType(BuiltList, [FullType(JsonObject)]), + )! as BuiltList; + result.builtListJsonObject.replace(value); + } catch (_) {} + return result.build(); + } } @BuiltValue(instantiable: false) @@ -10446,43 +10527,45 @@ final Serializers _serializers = (Serializers().toBuilder() ..add(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate.serializer) ..addBuilderFactory(const FullType(SpreedPublicCapabilities), SpreedPublicCapabilities.new) ..add(SpreedPublicCapabilities.serializer) - ..addBuilderFactory(const FullType(SpreedPublicCapabilities_Spreed), SpreedPublicCapabilities_Spreed.new) - ..add(SpreedPublicCapabilities_Spreed.serializer) + ..addBuilderFactory(const FullType(SpreedPublicCapabilities0), SpreedPublicCapabilities0.new) + ..add(SpreedPublicCapabilities0.serializer) + ..addBuilderFactory(const FullType(SpreedPublicCapabilities0_Spreed), SpreedPublicCapabilities0_Spreed.new) + ..add(SpreedPublicCapabilities0_Spreed.serializer) ..addBuilderFactory( - const FullType(SpreedPublicCapabilities_Spreed_Config), - SpreedPublicCapabilities_Spreed_Config.new, + const FullType(SpreedPublicCapabilities0_Spreed_Config), + SpreedPublicCapabilities0_Spreed_Config.new, ) - ..add(SpreedPublicCapabilities_Spreed_Config.serializer) + ..add(SpreedPublicCapabilities0_Spreed_Config.serializer) ..addBuilderFactory( - const FullType(SpreedPublicCapabilities_Spreed_Config_Attachments), - SpreedPublicCapabilities_Spreed_Config_Attachments.new, + const FullType(SpreedPublicCapabilities0_Spreed_Config_Attachments), + SpreedPublicCapabilities0_Spreed_Config_Attachments.new, ) - ..add(SpreedPublicCapabilities_Spreed_Config_Attachments.serializer) + ..add(SpreedPublicCapabilities0_Spreed_Config_Attachments.serializer) ..addBuilderFactory( - const FullType(SpreedPublicCapabilities_Spreed_Config_Call), - SpreedPublicCapabilities_Spreed_Config_Call.new, + const FullType(SpreedPublicCapabilities0_Spreed_Config_Call), + SpreedPublicCapabilities0_Spreed_Config_Call.new, ) - ..add(SpreedPublicCapabilities_Spreed_Config_Call.serializer) + ..add(SpreedPublicCapabilities0_Spreed_Config_Call.serializer) ..addBuilderFactory( - const FullType(SpreedPublicCapabilities_Spreed_Config_Chat), - SpreedPublicCapabilities_Spreed_Config_Chat.new, + const FullType(SpreedPublicCapabilities0_Spreed_Config_Chat), + SpreedPublicCapabilities0_Spreed_Config_Chat.new, ) - ..add(SpreedPublicCapabilities_Spreed_Config_Chat.serializer) + ..add(SpreedPublicCapabilities0_Spreed_Config_Chat.serializer) ..addBuilderFactory( - const FullType(SpreedPublicCapabilities_Spreed_Config_Conversations), - SpreedPublicCapabilities_Spreed_Config_Conversations.new, + const FullType(SpreedPublicCapabilities0_Spreed_Config_Conversations), + SpreedPublicCapabilities0_Spreed_Config_Conversations.new, ) - ..add(SpreedPublicCapabilities_Spreed_Config_Conversations.serializer) + ..add(SpreedPublicCapabilities0_Spreed_Config_Conversations.serializer) ..addBuilderFactory( - const FullType(SpreedPublicCapabilities_Spreed_Config_Previews), - SpreedPublicCapabilities_Spreed_Config_Previews.new, + const FullType(SpreedPublicCapabilities0_Spreed_Config_Previews), + SpreedPublicCapabilities0_Spreed_Config_Previews.new, ) - ..add(SpreedPublicCapabilities_Spreed_Config_Previews.serializer) + ..add(SpreedPublicCapabilities0_Spreed_Config_Previews.serializer) ..addBuilderFactory( - const FullType(SpreedPublicCapabilities_Spreed_Config_Signaling), - SpreedPublicCapabilities_Spreed_Config_Signaling.new, + const FullType(SpreedPublicCapabilities0_Spreed_Config_Signaling), + SpreedPublicCapabilities0_Spreed_Config_Signaling.new, ) - ..add(SpreedPublicCapabilities_Spreed_Config_Signaling.serializer) + ..add(SpreedPublicCapabilities0_Spreed_Config_Signaling.serializer) ..addBuilderFactory(const FullType(ThemingPublicCapabilities), ThemingPublicCapabilities.new) ..add(ThemingPublicCapabilities.serializer) ..addBuilderFactory(const FullType(ThemingPublicCapabilities_Theming), ThemingPublicCapabilities_Theming.new) diff --git a/packages/nextcloud/lib/src/api/core.openapi.g.dart b/packages/nextcloud/lib/src/api/core.openapi.g.dart index affa04c4d39..c4b6e78b2f9 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/core.openapi.g.dart @@ -194,25 +194,26 @@ Serializer Serializer _$sharebymailCapabilitiesFilesSharingSerializer = _$SharebymailCapabilities_FilesSharingSerializer(); Serializer _$sharebymailCapabilitiesSerializer = _$SharebymailCapabilitiesSerializer(); -Serializer - _$spreedPublicCapabilitiesSpreedConfigAttachmentsSerializer = - _$SpreedPublicCapabilities_Spreed_Config_AttachmentsSerializer(); -Serializer _$spreedPublicCapabilitiesSpreedConfigCallSerializer = - _$SpreedPublicCapabilities_Spreed_Config_CallSerializer(); -Serializer _$spreedPublicCapabilitiesSpreedConfigChatSerializer = - _$SpreedPublicCapabilities_Spreed_Config_ChatSerializer(); -Serializer - _$spreedPublicCapabilitiesSpreedConfigConversationsSerializer = - _$SpreedPublicCapabilities_Spreed_Config_ConversationsSerializer(); -Serializer _$spreedPublicCapabilitiesSpreedConfigPreviewsSerializer = - _$SpreedPublicCapabilities_Spreed_Config_PreviewsSerializer(); -Serializer _$spreedPublicCapabilitiesSpreedConfigSignalingSerializer = - _$SpreedPublicCapabilities_Spreed_Config_SignalingSerializer(); -Serializer _$spreedPublicCapabilitiesSpreedConfigSerializer = - _$SpreedPublicCapabilities_Spreed_ConfigSerializer(); -Serializer _$spreedPublicCapabilitiesSpreedSerializer = - _$SpreedPublicCapabilities_SpreedSerializer(); -Serializer _$spreedPublicCapabilitiesSerializer = _$SpreedPublicCapabilitiesSerializer(); +Serializer + _$spreedPublicCapabilities0SpreedConfigAttachmentsSerializer = + _$SpreedPublicCapabilities0_Spreed_Config_AttachmentsSerializer(); +Serializer _$spreedPublicCapabilities0SpreedConfigCallSerializer = + _$SpreedPublicCapabilities0_Spreed_Config_CallSerializer(); +Serializer _$spreedPublicCapabilities0SpreedConfigChatSerializer = + _$SpreedPublicCapabilities0_Spreed_Config_ChatSerializer(); +Serializer + _$spreedPublicCapabilities0SpreedConfigConversationsSerializer = + _$SpreedPublicCapabilities0_Spreed_Config_ConversationsSerializer(); +Serializer _$spreedPublicCapabilities0SpreedConfigPreviewsSerializer = + _$SpreedPublicCapabilities0_Spreed_Config_PreviewsSerializer(); +Serializer + _$spreedPublicCapabilities0SpreedConfigSignalingSerializer = + _$SpreedPublicCapabilities0_Spreed_Config_SignalingSerializer(); +Serializer _$spreedPublicCapabilities0SpreedConfigSerializer = + _$SpreedPublicCapabilities0_Spreed_ConfigSerializer(); +Serializer _$spreedPublicCapabilities0SpreedSerializer = + _$SpreedPublicCapabilities0_SpreedSerializer(); +Serializer _$spreedPublicCapabilities0Serializer = _$SpreedPublicCapabilities0Serializer(); Serializer _$themingPublicCapabilitiesThemingSerializer = _$ThemingPublicCapabilities_ThemingSerializer(); Serializer _$themingPublicCapabilitiesSerializer = _$ThemingPublicCapabilitiesSerializer(); @@ -4725,18 +4726,18 @@ class _$SharebymailCapabilitiesSerializer implements StructuredSerializer { +class _$SpreedPublicCapabilities0_Spreed_Config_AttachmentsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - SpreedPublicCapabilities_Spreed_Config_Attachments, - _$SpreedPublicCapabilities_Spreed_Config_Attachments + SpreedPublicCapabilities0_Spreed_Config_Attachments, + _$SpreedPublicCapabilities0_Spreed_Config_Attachments ]; @override - final String wireName = 'SpreedPublicCapabilities_Spreed_Config_Attachments'; + final String wireName = 'SpreedPublicCapabilities0_Spreed_Config_Attachments'; @override - Iterable serialize(Serializers serializers, SpreedPublicCapabilities_Spreed_Config_Attachments object, + Iterable serialize(Serializers serializers, SpreedPublicCapabilities0_Spreed_Config_Attachments object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'allowed', @@ -4753,9 +4754,9 @@ class _$SpreedPublicCapabilities_Spreed_Config_AttachmentsSerializer } @override - SpreedPublicCapabilities_Spreed_Config_Attachments deserialize(Serializers serializers, Iterable serialized, + SpreedPublicCapabilities0_Spreed_Config_Attachments deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder(); + final result = SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4776,18 +4777,18 @@ class _$SpreedPublicCapabilities_Spreed_Config_AttachmentsSerializer } } -class _$SpreedPublicCapabilities_Spreed_Config_CallSerializer - implements StructuredSerializer { +class _$SpreedPublicCapabilities0_Spreed_Config_CallSerializer + implements StructuredSerializer { @override final Iterable types = const [ - SpreedPublicCapabilities_Spreed_Config_Call, - _$SpreedPublicCapabilities_Spreed_Config_Call + SpreedPublicCapabilities0_Spreed_Config_Call, + _$SpreedPublicCapabilities0_Spreed_Config_Call ]; @override - final String wireName = 'SpreedPublicCapabilities_Spreed_Config_Call'; + final String wireName = 'SpreedPublicCapabilities0_Spreed_Config_Call'; @override - Iterable serialize(Serializers serializers, SpreedPublicCapabilities_Spreed_Config_Call object, + Iterable serialize(Serializers serializers, SpreedPublicCapabilities0_Spreed_Config_Call object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -4832,9 +4833,9 @@ class _$SpreedPublicCapabilities_Spreed_Config_CallSerializer } @override - SpreedPublicCapabilities_Spreed_Config_Call deserialize(Serializers serializers, Iterable serialized, + SpreedPublicCapabilities0_Spreed_Config_Call deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = SpreedPublicCapabilities_Spreed_Config_CallBuilder(); + final result = SpreedPublicCapabilities0_Spreed_Config_CallBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4881,18 +4882,18 @@ class _$SpreedPublicCapabilities_Spreed_Config_CallSerializer } } -class _$SpreedPublicCapabilities_Spreed_Config_ChatSerializer - implements StructuredSerializer { +class _$SpreedPublicCapabilities0_Spreed_Config_ChatSerializer + implements StructuredSerializer { @override final Iterable types = const [ - SpreedPublicCapabilities_Spreed_Config_Chat, - _$SpreedPublicCapabilities_Spreed_Config_Chat + SpreedPublicCapabilities0_Spreed_Config_Chat, + _$SpreedPublicCapabilities0_Spreed_Config_Chat ]; @override - final String wireName = 'SpreedPublicCapabilities_Spreed_Config_Chat'; + final String wireName = 'SpreedPublicCapabilities0_Spreed_Config_Chat'; @override - Iterable serialize(Serializers serializers, SpreedPublicCapabilities_Spreed_Config_Chat object, + Iterable serialize(Serializers serializers, SpreedPublicCapabilities0_Spreed_Config_Chat object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'max-length', @@ -4919,9 +4920,9 @@ class _$SpreedPublicCapabilities_Spreed_Config_ChatSerializer } @override - SpreedPublicCapabilities_Spreed_Config_Chat deserialize(Serializers serializers, Iterable serialized, + SpreedPublicCapabilities0_Spreed_Config_Chat deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = SpreedPublicCapabilities_Spreed_Config_ChatBuilder(); + final result = SpreedPublicCapabilities0_Spreed_Config_ChatBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4952,18 +4953,18 @@ class _$SpreedPublicCapabilities_Spreed_Config_ChatSerializer } } -class _$SpreedPublicCapabilities_Spreed_Config_ConversationsSerializer - implements StructuredSerializer { +class _$SpreedPublicCapabilities0_Spreed_Config_ConversationsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - SpreedPublicCapabilities_Spreed_Config_Conversations, - _$SpreedPublicCapabilities_Spreed_Config_Conversations + SpreedPublicCapabilities0_Spreed_Config_Conversations, + _$SpreedPublicCapabilities0_Spreed_Config_Conversations ]; @override - final String wireName = 'SpreedPublicCapabilities_Spreed_Config_Conversations'; + final String wireName = 'SpreedPublicCapabilities0_Spreed_Config_Conversations'; @override - Iterable serialize(Serializers serializers, SpreedPublicCapabilities_Spreed_Config_Conversations object, + Iterable serialize(Serializers serializers, SpreedPublicCapabilities0_Spreed_Config_Conversations object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'can-create', @@ -4974,10 +4975,10 @@ class _$SpreedPublicCapabilities_Spreed_Config_ConversationsSerializer } @override - SpreedPublicCapabilities_Spreed_Config_Conversations deserialize( + SpreedPublicCapabilities0_Spreed_Config_Conversations deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder(); + final result = SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4995,18 +4996,18 @@ class _$SpreedPublicCapabilities_Spreed_Config_ConversationsSerializer } } -class _$SpreedPublicCapabilities_Spreed_Config_PreviewsSerializer - implements StructuredSerializer { +class _$SpreedPublicCapabilities0_Spreed_Config_PreviewsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - SpreedPublicCapabilities_Spreed_Config_Previews, - _$SpreedPublicCapabilities_Spreed_Config_Previews + SpreedPublicCapabilities0_Spreed_Config_Previews, + _$SpreedPublicCapabilities0_Spreed_Config_Previews ]; @override - final String wireName = 'SpreedPublicCapabilities_Spreed_Config_Previews'; + final String wireName = 'SpreedPublicCapabilities0_Spreed_Config_Previews'; @override - Iterable serialize(Serializers serializers, SpreedPublicCapabilities_Spreed_Config_Previews object, + Iterable serialize(Serializers serializers, SpreedPublicCapabilities0_Spreed_Config_Previews object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'max-gif-size', @@ -5017,9 +5018,9 @@ class _$SpreedPublicCapabilities_Spreed_Config_PreviewsSerializer } @override - SpreedPublicCapabilities_Spreed_Config_Previews deserialize(Serializers serializers, Iterable serialized, + SpreedPublicCapabilities0_Spreed_Config_Previews deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder(); + final result = SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5037,18 +5038,18 @@ class _$SpreedPublicCapabilities_Spreed_Config_PreviewsSerializer } } -class _$SpreedPublicCapabilities_Spreed_Config_SignalingSerializer - implements StructuredSerializer { +class _$SpreedPublicCapabilities0_Spreed_Config_SignalingSerializer + implements StructuredSerializer { @override final Iterable types = const [ - SpreedPublicCapabilities_Spreed_Config_Signaling, - _$SpreedPublicCapabilities_Spreed_Config_Signaling + SpreedPublicCapabilities0_Spreed_Config_Signaling, + _$SpreedPublicCapabilities0_Spreed_Config_Signaling ]; @override - final String wireName = 'SpreedPublicCapabilities_Spreed_Config_Signaling'; + final String wireName = 'SpreedPublicCapabilities0_Spreed_Config_Signaling'; @override - Iterable serialize(Serializers serializers, SpreedPublicCapabilities_Spreed_Config_Signaling object, + Iterable serialize(Serializers serializers, SpreedPublicCapabilities0_Spreed_Config_Signaling object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'session-ping-limit', @@ -5065,9 +5066,9 @@ class _$SpreedPublicCapabilities_Spreed_Config_SignalingSerializer } @override - SpreedPublicCapabilities_Spreed_Config_Signaling deserialize(Serializers serializers, Iterable serialized, + SpreedPublicCapabilities0_Spreed_Config_Signaling deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = SpreedPublicCapabilities_Spreed_Config_SignalingBuilder(); + final result = SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5088,42 +5089,45 @@ class _$SpreedPublicCapabilities_Spreed_Config_SignalingSerializer } } -class _$SpreedPublicCapabilities_Spreed_ConfigSerializer - implements StructuredSerializer { +class _$SpreedPublicCapabilities0_Spreed_ConfigSerializer + implements StructuredSerializer { @override - final Iterable types = const [SpreedPublicCapabilities_Spreed_Config, _$SpreedPublicCapabilities_Spreed_Config]; + final Iterable types = const [ + SpreedPublicCapabilities0_Spreed_Config, + _$SpreedPublicCapabilities0_Spreed_Config + ]; @override - final String wireName = 'SpreedPublicCapabilities_Spreed_Config'; + final String wireName = 'SpreedPublicCapabilities0_Spreed_Config'; @override - Iterable serialize(Serializers serializers, SpreedPublicCapabilities_Spreed_Config object, + Iterable serialize(Serializers serializers, SpreedPublicCapabilities0_Spreed_Config object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'attachments', serializers.serialize(object.attachments, - specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Attachments)), + specifiedType: const FullType(SpreedPublicCapabilities0_Spreed_Config_Attachments)), 'call', - serializers.serialize(object.call, specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Call)), + serializers.serialize(object.call, specifiedType: const FullType(SpreedPublicCapabilities0_Spreed_Config_Call)), 'chat', - serializers.serialize(object.chat, specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Chat)), + serializers.serialize(object.chat, specifiedType: const FullType(SpreedPublicCapabilities0_Spreed_Config_Chat)), 'conversations', serializers.serialize(object.conversations, - specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Conversations)), + specifiedType: const FullType(SpreedPublicCapabilities0_Spreed_Config_Conversations)), 'previews', serializers.serialize(object.previews, - specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Previews)), + specifiedType: const FullType(SpreedPublicCapabilities0_Spreed_Config_Previews)), 'signaling', serializers.serialize(object.signaling, - specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Signaling)), + specifiedType: const FullType(SpreedPublicCapabilities0_Spreed_Config_Signaling)), ]; return result; } @override - SpreedPublicCapabilities_Spreed_Config deserialize(Serializers serializers, Iterable serialized, + SpreedPublicCapabilities0_Spreed_Config deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = SpreedPublicCapabilities_Spreed_ConfigBuilder(); + final result = SpreedPublicCapabilities0_Spreed_ConfigBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5133,33 +5137,33 @@ class _$SpreedPublicCapabilities_Spreed_ConfigSerializer switch (key) { case 'attachments': result.attachments.replace(serializers.deserialize(value, - specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Attachments))! - as SpreedPublicCapabilities_Spreed_Config_Attachments); + specifiedType: const FullType(SpreedPublicCapabilities0_Spreed_Config_Attachments))! + as SpreedPublicCapabilities0_Spreed_Config_Attachments); break; case 'call': result.call.replace(serializers.deserialize(value, - specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Call))! - as SpreedPublicCapabilities_Spreed_Config_Call); + specifiedType: const FullType(SpreedPublicCapabilities0_Spreed_Config_Call))! + as SpreedPublicCapabilities0_Spreed_Config_Call); break; case 'chat': result.chat.replace(serializers.deserialize(value, - specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Chat))! - as SpreedPublicCapabilities_Spreed_Config_Chat); + specifiedType: const FullType(SpreedPublicCapabilities0_Spreed_Config_Chat))! + as SpreedPublicCapabilities0_Spreed_Config_Chat); break; case 'conversations': result.conversations.replace(serializers.deserialize(value, - specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Conversations))! - as SpreedPublicCapabilities_Spreed_Config_Conversations); + specifiedType: const FullType(SpreedPublicCapabilities0_Spreed_Config_Conversations))! + as SpreedPublicCapabilities0_Spreed_Config_Conversations); break; case 'previews': result.previews.replace(serializers.deserialize(value, - specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Previews))! - as SpreedPublicCapabilities_Spreed_Config_Previews); + specifiedType: const FullType(SpreedPublicCapabilities0_Spreed_Config_Previews))! + as SpreedPublicCapabilities0_Spreed_Config_Previews); break; case 'signaling': result.signaling.replace(serializers.deserialize(value, - specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Signaling))! - as SpreedPublicCapabilities_Spreed_Config_Signaling); + specifiedType: const FullType(SpreedPublicCapabilities0_Spreed_Config_Signaling))! + as SpreedPublicCapabilities0_Spreed_Config_Signaling); break; } } @@ -5168,20 +5172,20 @@ class _$SpreedPublicCapabilities_Spreed_ConfigSerializer } } -class _$SpreedPublicCapabilities_SpreedSerializer implements StructuredSerializer { +class _$SpreedPublicCapabilities0_SpreedSerializer implements StructuredSerializer { @override - final Iterable types = const [SpreedPublicCapabilities_Spreed, _$SpreedPublicCapabilities_Spreed]; + final Iterable types = const [SpreedPublicCapabilities0_Spreed, _$SpreedPublicCapabilities0_Spreed]; @override - final String wireName = 'SpreedPublicCapabilities_Spreed'; + final String wireName = 'SpreedPublicCapabilities0_Spreed'; @override - Iterable serialize(Serializers serializers, SpreedPublicCapabilities_Spreed object, + Iterable serialize(Serializers serializers, SpreedPublicCapabilities0_Spreed object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'features', serializers.serialize(object.features, specifiedType: const FullType(BuiltList, [FullType(String)])), 'config', - serializers.serialize(object.config, specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config)), + serializers.serialize(object.config, specifiedType: const FullType(SpreedPublicCapabilities0_Spreed_Config)), 'version', serializers.serialize(object.version, specifiedType: const FullType(String)), ]; @@ -5190,9 +5194,9 @@ class _$SpreedPublicCapabilities_SpreedSerializer implements StructuredSerialize } @override - SpreedPublicCapabilities_Spreed deserialize(Serializers serializers, Iterable serialized, + SpreedPublicCapabilities0_Spreed deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = SpreedPublicCapabilities_SpreedBuilder(); + final result = SpreedPublicCapabilities0_SpreedBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5206,8 +5210,8 @@ class _$SpreedPublicCapabilities_SpreedSerializer implements StructuredSerialize break; case 'config': result.config.replace( - serializers.deserialize(value, specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config))! - as SpreedPublicCapabilities_Spreed_Config); + serializers.deserialize(value, specifiedType: const FullType(SpreedPublicCapabilities0_Spreed_Config))! + as SpreedPublicCapabilities0_Spreed_Config); break; case 'version': result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; @@ -5219,27 +5223,27 @@ class _$SpreedPublicCapabilities_SpreedSerializer implements StructuredSerialize } } -class _$SpreedPublicCapabilitiesSerializer implements StructuredSerializer { +class _$SpreedPublicCapabilities0Serializer implements StructuredSerializer { @override - final Iterable types = const [SpreedPublicCapabilities, _$SpreedPublicCapabilities]; + final Iterable types = const [SpreedPublicCapabilities0, _$SpreedPublicCapabilities0]; @override - final String wireName = 'SpreedPublicCapabilities'; + final String wireName = 'SpreedPublicCapabilities0'; @override - Iterable serialize(Serializers serializers, SpreedPublicCapabilities object, + Iterable serialize(Serializers serializers, SpreedPublicCapabilities0 object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'spreed', - serializers.serialize(object.spreed, specifiedType: const FullType(SpreedPublicCapabilities_Spreed)), + serializers.serialize(object.spreed, specifiedType: const FullType(SpreedPublicCapabilities0_Spreed)), ]; return result; } @override - SpreedPublicCapabilities deserialize(Serializers serializers, Iterable serialized, + SpreedPublicCapabilities0 deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = SpreedPublicCapabilitiesBuilder(); + final result = SpreedPublicCapabilities0Builder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5249,7 +5253,7 @@ class _$SpreedPublicCapabilitiesSerializer implements StructuredSerializer - (SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities0_Spreed_Config_Attachments( + [void Function(SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder)? updates]) => + (SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder()..update(updates))._build(); - _$SpreedPublicCapabilities_Spreed_Config_Attachments._({required this.allowed, this.folder}) : super._() { - BuiltValueNullFieldError.checkNotNull(allowed, r'SpreedPublicCapabilities_Spreed_Config_Attachments', 'allowed'); + _$SpreedPublicCapabilities0_Spreed_Config_Attachments._({required this.allowed, this.folder}) : super._() { + BuiltValueNullFieldError.checkNotNull(allowed, r'SpreedPublicCapabilities0_Spreed_Config_Attachments', 'allowed'); } @override - SpreedPublicCapabilities_Spreed_Config_Attachments rebuild( - void Function(SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder) updates) => + SpreedPublicCapabilities0_Spreed_Config_Attachments rebuild( + void Function(SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder toBuilder() => - SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder()..replace(this); + SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder toBuilder() => + SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SpreedPublicCapabilities_Spreed_Config_Attachments && + return other is SpreedPublicCapabilities0_Spreed_Config_Attachments && allowed == other.allowed && folder == other.folder; } @@ -19657,19 +19662,19 @@ class _$SpreedPublicCapabilities_Spreed_Config_Attachments extends SpreedPublicC @override String toString() { - return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities_Spreed_Config_Attachments') + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config_Attachments') ..add('allowed', allowed) ..add('folder', folder)) .toString(); } } -class SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder +class SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder implements - Builder, - SpreedPublicCapabilities_Spreed_Config_AttachmentsInterfaceBuilder { - _$SpreedPublicCapabilities_Spreed_Config_Attachments? _$v; + Builder, + SpreedPublicCapabilities0_Spreed_Config_AttachmentsInterfaceBuilder { + _$SpreedPublicCapabilities0_Spreed_Config_Attachments? _$v; bool? _allowed; bool? get allowed => _$this._allowed; @@ -19679,9 +19684,9 @@ class SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder String? get folder => _$this._folder; set folder(covariant String? folder) => _$this._folder = folder; - SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder(); + SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder(); - SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder get _$this { + SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder get _$this { final $v = _$v; if ($v != null) { _allowed = $v.allowed; @@ -19692,33 +19697,33 @@ class SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder } @override - void replace(covariant SpreedPublicCapabilities_Spreed_Config_Attachments other) { + void replace(covariant SpreedPublicCapabilities0_Spreed_Config_Attachments other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SpreedPublicCapabilities_Spreed_Config_Attachments; + _$v = other as _$SpreedPublicCapabilities0_Spreed_Config_Attachments; } @override - void update(void Function(SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder)? updates) { if (updates != null) updates(this); } @override - SpreedPublicCapabilities_Spreed_Config_Attachments build() => _build(); + SpreedPublicCapabilities0_Spreed_Config_Attachments build() => _build(); - _$SpreedPublicCapabilities_Spreed_Config_Attachments _build() { + _$SpreedPublicCapabilities0_Spreed_Config_Attachments _build() { final _$result = _$v ?? - _$SpreedPublicCapabilities_Spreed_Config_Attachments._( + _$SpreedPublicCapabilities0_Spreed_Config_Attachments._( allowed: BuiltValueNullFieldError.checkNotNull( - allowed, r'SpreedPublicCapabilities_Spreed_Config_Attachments', 'allowed'), + allowed, r'SpreedPublicCapabilities0_Spreed_Config_Attachments', 'allowed'), folder: folder); replace(_$result); return _$result; } } -abstract mixin class SpreedPublicCapabilities_Spreed_Config_CallInterfaceBuilder { - void replace(SpreedPublicCapabilities_Spreed_Config_CallInterface other); - void update(void Function(SpreedPublicCapabilities_Spreed_Config_CallInterfaceBuilder) updates); +abstract mixin class SpreedPublicCapabilities0_Spreed_Config_CallInterfaceBuilder { + void replace(SpreedPublicCapabilities0_Spreed_Config_CallInterface other); + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_CallInterfaceBuilder) updates); bool? get enabled; set enabled(bool? enabled); @@ -19750,7 +19755,7 @@ abstract mixin class SpreedPublicCapabilities_Spreed_Config_CallInterfaceBuilder set canEnableSip(bool? canEnableSip); } -class _$SpreedPublicCapabilities_Spreed_Config_Call extends SpreedPublicCapabilities_Spreed_Config_Call { +class _$SpreedPublicCapabilities0_Spreed_Config_Call extends SpreedPublicCapabilities0_Spreed_Config_Call { @override final bool enabled; @override @@ -19772,11 +19777,11 @@ class _$SpreedPublicCapabilities_Spreed_Config_Call extends SpreedPublicCapabili @override final bool? canEnableSip; - factory _$SpreedPublicCapabilities_Spreed_Config_Call( - [void Function(SpreedPublicCapabilities_Spreed_Config_CallBuilder)? updates]) => - (SpreedPublicCapabilities_Spreed_Config_CallBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities0_Spreed_Config_Call( + [void Function(SpreedPublicCapabilities0_Spreed_Config_CallBuilder)? updates]) => + (SpreedPublicCapabilities0_Spreed_Config_CallBuilder()..update(updates))._build(); - _$SpreedPublicCapabilities_Spreed_Config_Call._( + _$SpreedPublicCapabilities0_Spreed_Config_Call._( {required this.enabled, required this.breakoutRooms, required this.recording, @@ -19788,31 +19793,31 @@ class _$SpreedPublicCapabilities_Spreed_Config_Call extends SpreedPublicCapabili this.sipDialoutEnabled, this.canEnableSip}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'SpreedPublicCapabilities_Spreed_Config_Call', 'enabled'); + BuiltValueNullFieldError.checkNotNull(enabled, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'enabled'); BuiltValueNullFieldError.checkNotNull( - breakoutRooms, r'SpreedPublicCapabilities_Spreed_Config_Call', 'breakoutRooms'); - BuiltValueNullFieldError.checkNotNull(recording, r'SpreedPublicCapabilities_Spreed_Config_Call', 'recording'); + breakoutRooms, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'breakoutRooms'); + BuiltValueNullFieldError.checkNotNull(recording, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'recording'); BuiltValueNullFieldError.checkNotNull( - supportedReactions, r'SpreedPublicCapabilities_Spreed_Config_Call', 'supportedReactions'); + supportedReactions, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'supportedReactions'); BuiltValueNullFieldError.checkNotNull( - predefinedBackgrounds, r'SpreedPublicCapabilities_Spreed_Config_Call', 'predefinedBackgrounds'); + predefinedBackgrounds, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'predefinedBackgrounds'); BuiltValueNullFieldError.checkNotNull( - canUploadBackground, r'SpreedPublicCapabilities_Spreed_Config_Call', 'canUploadBackground'); + canUploadBackground, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'canUploadBackground'); } @override - SpreedPublicCapabilities_Spreed_Config_Call rebuild( - void Function(SpreedPublicCapabilities_Spreed_Config_CallBuilder) updates) => + SpreedPublicCapabilities0_Spreed_Config_Call rebuild( + void Function(SpreedPublicCapabilities0_Spreed_Config_CallBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SpreedPublicCapabilities_Spreed_Config_CallBuilder toBuilder() => - SpreedPublicCapabilities_Spreed_Config_CallBuilder()..replace(this); + SpreedPublicCapabilities0_Spreed_Config_CallBuilder toBuilder() => + SpreedPublicCapabilities0_Spreed_Config_CallBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SpreedPublicCapabilities_Spreed_Config_Call && + return other is SpreedPublicCapabilities0_Spreed_Config_Call && enabled == other.enabled && breakoutRooms == other.breakoutRooms && recording == other.recording && @@ -19844,7 +19849,7 @@ class _$SpreedPublicCapabilities_Spreed_Config_Call extends SpreedPublicCapabili @override String toString() { - return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities_Spreed_Config_Call') + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config_Call') ..add('enabled', enabled) ..add('breakoutRooms', breakoutRooms) ..add('recording', recording) @@ -19859,11 +19864,11 @@ class _$SpreedPublicCapabilities_Spreed_Config_Call extends SpreedPublicCapabili } } -class SpreedPublicCapabilities_Spreed_Config_CallBuilder +class SpreedPublicCapabilities0_Spreed_Config_CallBuilder implements - Builder, - SpreedPublicCapabilities_Spreed_Config_CallInterfaceBuilder { - _$SpreedPublicCapabilities_Spreed_Config_Call? _$v; + Builder, + SpreedPublicCapabilities0_Spreed_Config_CallInterfaceBuilder { + _$SpreedPublicCapabilities0_Spreed_Config_Call? _$v; bool? _enabled; bool? get enabled => _$this._enabled; @@ -19907,9 +19912,9 @@ class SpreedPublicCapabilities_Spreed_Config_CallBuilder bool? get canEnableSip => _$this._canEnableSip; set canEnableSip(covariant bool? canEnableSip) => _$this._canEnableSip = canEnableSip; - SpreedPublicCapabilities_Spreed_Config_CallBuilder(); + SpreedPublicCapabilities0_Spreed_Config_CallBuilder(); - SpreedPublicCapabilities_Spreed_Config_CallBuilder get _$this { + SpreedPublicCapabilities0_Spreed_Config_CallBuilder get _$this { final $v = _$v; if ($v != null) { _enabled = $v.enabled; @@ -19928,35 +19933,35 @@ class SpreedPublicCapabilities_Spreed_Config_CallBuilder } @override - void replace(covariant SpreedPublicCapabilities_Spreed_Config_Call other) { + void replace(covariant SpreedPublicCapabilities0_Spreed_Config_Call other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SpreedPublicCapabilities_Spreed_Config_Call; + _$v = other as _$SpreedPublicCapabilities0_Spreed_Config_Call; } @override - void update(void Function(SpreedPublicCapabilities_Spreed_Config_CallBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_CallBuilder)? updates) { if (updates != null) updates(this); } @override - SpreedPublicCapabilities_Spreed_Config_Call build() => _build(); + SpreedPublicCapabilities0_Spreed_Config_Call build() => _build(); - _$SpreedPublicCapabilities_Spreed_Config_Call _build() { - _$SpreedPublicCapabilities_Spreed_Config_Call _$result; + _$SpreedPublicCapabilities0_Spreed_Config_Call _build() { + _$SpreedPublicCapabilities0_Spreed_Config_Call _$result; try { _$result = _$v ?? - _$SpreedPublicCapabilities_Spreed_Config_Call._( + _$SpreedPublicCapabilities0_Spreed_Config_Call._( enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'SpreedPublicCapabilities_Spreed_Config_Call', 'enabled'), + enabled, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'enabled'), breakoutRooms: BuiltValueNullFieldError.checkNotNull( - breakoutRooms, r'SpreedPublicCapabilities_Spreed_Config_Call', 'breakoutRooms'), + breakoutRooms, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'breakoutRooms'), recording: BuiltValueNullFieldError.checkNotNull( - recording, r'SpreedPublicCapabilities_Spreed_Config_Call', 'recording'), + recording, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'recording'), recordingConsent: recordingConsent, supportedReactions: supportedReactions.build(), predefinedBackgrounds: predefinedBackgrounds.build(), canUploadBackground: BuiltValueNullFieldError.checkNotNull( - canUploadBackground, r'SpreedPublicCapabilities_Spreed_Config_Call', 'canUploadBackground'), + canUploadBackground, r'SpreedPublicCapabilities0_Spreed_Config_Call', 'canUploadBackground'), sipEnabled: sipEnabled, sipDialoutEnabled: sipDialoutEnabled, canEnableSip: canEnableSip); @@ -19968,7 +19973,7 @@ class SpreedPublicCapabilities_Spreed_Config_CallBuilder _$failedField = 'predefinedBackgrounds'; predefinedBackgrounds.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities_Spreed_Config_Call', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities0_Spreed_Config_Call', _$failedField, e.toString()); } rethrow; } @@ -19977,9 +19982,9 @@ class SpreedPublicCapabilities_Spreed_Config_CallBuilder } } -abstract mixin class SpreedPublicCapabilities_Spreed_Config_ChatInterfaceBuilder { - void replace(SpreedPublicCapabilities_Spreed_Config_ChatInterface other); - void update(void Function(SpreedPublicCapabilities_Spreed_Config_ChatInterfaceBuilder) updates); +abstract mixin class SpreedPublicCapabilities0_Spreed_Config_ChatInterfaceBuilder { + void replace(SpreedPublicCapabilities0_Spreed_Config_ChatInterface other); + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_ChatInterfaceBuilder) updates); int? get maxLength; set maxLength(int? maxLength); @@ -19996,7 +20001,7 @@ abstract mixin class SpreedPublicCapabilities_Spreed_Config_ChatInterfaceBuilder set translations(ListBuilder? translations); } -class _$SpreedPublicCapabilities_Spreed_Config_Chat extends SpreedPublicCapabilities_Spreed_Config_Chat { +class _$SpreedPublicCapabilities0_Spreed_Config_Chat extends SpreedPublicCapabilities0_Spreed_Config_Chat { @override final int maxLength; @override @@ -20008,36 +20013,36 @@ class _$SpreedPublicCapabilities_Spreed_Config_Chat extends SpreedPublicCapabili @override final BuiltList? translations; - factory _$SpreedPublicCapabilities_Spreed_Config_Chat( - [void Function(SpreedPublicCapabilities_Spreed_Config_ChatBuilder)? updates]) => - (SpreedPublicCapabilities_Spreed_Config_ChatBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities0_Spreed_Config_Chat( + [void Function(SpreedPublicCapabilities0_Spreed_Config_ChatBuilder)? updates]) => + (SpreedPublicCapabilities0_Spreed_Config_ChatBuilder()..update(updates))._build(); - _$SpreedPublicCapabilities_Spreed_Config_Chat._( + _$SpreedPublicCapabilities0_Spreed_Config_Chat._( {required this.maxLength, required this.readPrivacy, this.hasTranslationProviders, required this.typingPrivacy, this.translations}) : super._() { - BuiltValueNullFieldError.checkNotNull(maxLength, r'SpreedPublicCapabilities_Spreed_Config_Chat', 'maxLength'); - BuiltValueNullFieldError.checkNotNull(readPrivacy, r'SpreedPublicCapabilities_Spreed_Config_Chat', 'readPrivacy'); + BuiltValueNullFieldError.checkNotNull(maxLength, r'SpreedPublicCapabilities0_Spreed_Config_Chat', 'maxLength'); + BuiltValueNullFieldError.checkNotNull(readPrivacy, r'SpreedPublicCapabilities0_Spreed_Config_Chat', 'readPrivacy'); BuiltValueNullFieldError.checkNotNull( - typingPrivacy, r'SpreedPublicCapabilities_Spreed_Config_Chat', 'typingPrivacy'); + typingPrivacy, r'SpreedPublicCapabilities0_Spreed_Config_Chat', 'typingPrivacy'); } @override - SpreedPublicCapabilities_Spreed_Config_Chat rebuild( - void Function(SpreedPublicCapabilities_Spreed_Config_ChatBuilder) updates) => + SpreedPublicCapabilities0_Spreed_Config_Chat rebuild( + void Function(SpreedPublicCapabilities0_Spreed_Config_ChatBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SpreedPublicCapabilities_Spreed_Config_ChatBuilder toBuilder() => - SpreedPublicCapabilities_Spreed_Config_ChatBuilder()..replace(this); + SpreedPublicCapabilities0_Spreed_Config_ChatBuilder toBuilder() => + SpreedPublicCapabilities0_Spreed_Config_ChatBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SpreedPublicCapabilities_Spreed_Config_Chat && + return other is SpreedPublicCapabilities0_Spreed_Config_Chat && maxLength == other.maxLength && readPrivacy == other.readPrivacy && hasTranslationProviders == other.hasTranslationProviders && @@ -20059,7 +20064,7 @@ class _$SpreedPublicCapabilities_Spreed_Config_Chat extends SpreedPublicCapabili @override String toString() { - return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities_Spreed_Config_Chat') + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config_Chat') ..add('maxLength', maxLength) ..add('readPrivacy', readPrivacy) ..add('hasTranslationProviders', hasTranslationProviders) @@ -20069,11 +20074,11 @@ class _$SpreedPublicCapabilities_Spreed_Config_Chat extends SpreedPublicCapabili } } -class SpreedPublicCapabilities_Spreed_Config_ChatBuilder +class SpreedPublicCapabilities0_Spreed_Config_ChatBuilder implements - Builder, - SpreedPublicCapabilities_Spreed_Config_ChatInterfaceBuilder { - _$SpreedPublicCapabilities_Spreed_Config_Chat? _$v; + Builder, + SpreedPublicCapabilities0_Spreed_Config_ChatInterfaceBuilder { + _$SpreedPublicCapabilities0_Spreed_Config_Chat? _$v; int? _maxLength; int? get maxLength => _$this._maxLength; @@ -20096,9 +20101,9 @@ class SpreedPublicCapabilities_Spreed_Config_ChatBuilder ListBuilder get translations => _$this._translations ??= ListBuilder(); set translations(covariant ListBuilder? translations) => _$this._translations = translations; - SpreedPublicCapabilities_Spreed_Config_ChatBuilder(); + SpreedPublicCapabilities0_Spreed_Config_ChatBuilder(); - SpreedPublicCapabilities_Spreed_Config_ChatBuilder get _$this { + SpreedPublicCapabilities0_Spreed_Config_ChatBuilder get _$this { final $v = _$v; if ($v != null) { _maxLength = $v.maxLength; @@ -20112,31 +20117,31 @@ class SpreedPublicCapabilities_Spreed_Config_ChatBuilder } @override - void replace(covariant SpreedPublicCapabilities_Spreed_Config_Chat other) { + void replace(covariant SpreedPublicCapabilities0_Spreed_Config_Chat other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SpreedPublicCapabilities_Spreed_Config_Chat; + _$v = other as _$SpreedPublicCapabilities0_Spreed_Config_Chat; } @override - void update(void Function(SpreedPublicCapabilities_Spreed_Config_ChatBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_ChatBuilder)? updates) { if (updates != null) updates(this); } @override - SpreedPublicCapabilities_Spreed_Config_Chat build() => _build(); + SpreedPublicCapabilities0_Spreed_Config_Chat build() => _build(); - _$SpreedPublicCapabilities_Spreed_Config_Chat _build() { - _$SpreedPublicCapabilities_Spreed_Config_Chat _$result; + _$SpreedPublicCapabilities0_Spreed_Config_Chat _build() { + _$SpreedPublicCapabilities0_Spreed_Config_Chat _$result; try { _$result = _$v ?? - _$SpreedPublicCapabilities_Spreed_Config_Chat._( + _$SpreedPublicCapabilities0_Spreed_Config_Chat._( maxLength: BuiltValueNullFieldError.checkNotNull( - maxLength, r'SpreedPublicCapabilities_Spreed_Config_Chat', 'maxLength'), + maxLength, r'SpreedPublicCapabilities0_Spreed_Config_Chat', 'maxLength'), readPrivacy: BuiltValueNullFieldError.checkNotNull( - readPrivacy, r'SpreedPublicCapabilities_Spreed_Config_Chat', 'readPrivacy'), + readPrivacy, r'SpreedPublicCapabilities0_Spreed_Config_Chat', 'readPrivacy'), hasTranslationProviders: hasTranslationProviders, typingPrivacy: BuiltValueNullFieldError.checkNotNull( - typingPrivacy, r'SpreedPublicCapabilities_Spreed_Config_Chat', 'typingPrivacy'), + typingPrivacy, r'SpreedPublicCapabilities0_Spreed_Config_Chat', 'typingPrivacy'), translations: _translations?.build()); } catch (_) { late String _$failedField; @@ -20144,7 +20149,7 @@ class SpreedPublicCapabilities_Spreed_Config_ChatBuilder _$failedField = 'translations'; _translations?.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities_Spreed_Config_Chat', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities0_Spreed_Config_Chat', _$failedField, e.toString()); } rethrow; } @@ -20153,40 +20158,40 @@ class SpreedPublicCapabilities_Spreed_Config_ChatBuilder } } -abstract mixin class SpreedPublicCapabilities_Spreed_Config_ConversationsInterfaceBuilder { - void replace(SpreedPublicCapabilities_Spreed_Config_ConversationsInterface other); - void update(void Function(SpreedPublicCapabilities_Spreed_Config_ConversationsInterfaceBuilder) updates); +abstract mixin class SpreedPublicCapabilities0_Spreed_Config_ConversationsInterfaceBuilder { + void replace(SpreedPublicCapabilities0_Spreed_Config_ConversationsInterface other); + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_ConversationsInterfaceBuilder) updates); bool? get canCreate; set canCreate(bool? canCreate); } -class _$SpreedPublicCapabilities_Spreed_Config_Conversations - extends SpreedPublicCapabilities_Spreed_Config_Conversations { +class _$SpreedPublicCapabilities0_Spreed_Config_Conversations + extends SpreedPublicCapabilities0_Spreed_Config_Conversations { @override final bool canCreate; - factory _$SpreedPublicCapabilities_Spreed_Config_Conversations( - [void Function(SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder)? updates]) => - (SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities0_Spreed_Config_Conversations( + [void Function(SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder)? updates]) => + (SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder()..update(updates))._build(); - _$SpreedPublicCapabilities_Spreed_Config_Conversations._({required this.canCreate}) : super._() { + _$SpreedPublicCapabilities0_Spreed_Config_Conversations._({required this.canCreate}) : super._() { BuiltValueNullFieldError.checkNotNull( - canCreate, r'SpreedPublicCapabilities_Spreed_Config_Conversations', 'canCreate'); + canCreate, r'SpreedPublicCapabilities0_Spreed_Config_Conversations', 'canCreate'); } @override - SpreedPublicCapabilities_Spreed_Config_Conversations rebuild( - void Function(SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder) updates) => + SpreedPublicCapabilities0_Spreed_Config_Conversations rebuild( + void Function(SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder toBuilder() => - SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder()..replace(this); + SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder toBuilder() => + SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SpreedPublicCapabilities_Spreed_Config_Conversations && canCreate == other.canCreate; + return other is SpreedPublicCapabilities0_Spreed_Config_Conversations && canCreate == other.canCreate; } @override @@ -20199,26 +20204,26 @@ class _$SpreedPublicCapabilities_Spreed_Config_Conversations @override String toString() { - return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities_Spreed_Config_Conversations') + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config_Conversations') ..add('canCreate', canCreate)) .toString(); } } -class SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder +class SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder implements - Builder, - SpreedPublicCapabilities_Spreed_Config_ConversationsInterfaceBuilder { - _$SpreedPublicCapabilities_Spreed_Config_Conversations? _$v; + Builder, + SpreedPublicCapabilities0_Spreed_Config_ConversationsInterfaceBuilder { + _$SpreedPublicCapabilities0_Spreed_Config_Conversations? _$v; bool? _canCreate; bool? get canCreate => _$this._canCreate; set canCreate(covariant bool? canCreate) => _$this._canCreate = canCreate; - SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder(); + SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder(); - SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder get _$this { + SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder get _$this { final $v = _$v; if ($v != null) { _canCreate = $v.canCreate; @@ -20228,61 +20233,62 @@ class SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder } @override - void replace(covariant SpreedPublicCapabilities_Spreed_Config_Conversations other) { + void replace(covariant SpreedPublicCapabilities0_Spreed_Config_Conversations other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SpreedPublicCapabilities_Spreed_Config_Conversations; + _$v = other as _$SpreedPublicCapabilities0_Spreed_Config_Conversations; } @override - void update(void Function(SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder)? updates) { if (updates != null) updates(this); } @override - SpreedPublicCapabilities_Spreed_Config_Conversations build() => _build(); + SpreedPublicCapabilities0_Spreed_Config_Conversations build() => _build(); - _$SpreedPublicCapabilities_Spreed_Config_Conversations _build() { + _$SpreedPublicCapabilities0_Spreed_Config_Conversations _build() { final _$result = _$v ?? - _$SpreedPublicCapabilities_Spreed_Config_Conversations._( + _$SpreedPublicCapabilities0_Spreed_Config_Conversations._( canCreate: BuiltValueNullFieldError.checkNotNull( - canCreate, r'SpreedPublicCapabilities_Spreed_Config_Conversations', 'canCreate')); + canCreate, r'SpreedPublicCapabilities0_Spreed_Config_Conversations', 'canCreate')); replace(_$result); return _$result; } } -abstract mixin class SpreedPublicCapabilities_Spreed_Config_PreviewsInterfaceBuilder { - void replace(SpreedPublicCapabilities_Spreed_Config_PreviewsInterface other); - void update(void Function(SpreedPublicCapabilities_Spreed_Config_PreviewsInterfaceBuilder) updates); +abstract mixin class SpreedPublicCapabilities0_Spreed_Config_PreviewsInterfaceBuilder { + void replace(SpreedPublicCapabilities0_Spreed_Config_PreviewsInterface other); + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_PreviewsInterfaceBuilder) updates); int? get maxGifSize; set maxGifSize(int? maxGifSize); } -class _$SpreedPublicCapabilities_Spreed_Config_Previews extends SpreedPublicCapabilities_Spreed_Config_Previews { +class _$SpreedPublicCapabilities0_Spreed_Config_Previews extends SpreedPublicCapabilities0_Spreed_Config_Previews { @override final int maxGifSize; - factory _$SpreedPublicCapabilities_Spreed_Config_Previews( - [void Function(SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder)? updates]) => - (SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities0_Spreed_Config_Previews( + [void Function(SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder)? updates]) => + (SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder()..update(updates))._build(); - _$SpreedPublicCapabilities_Spreed_Config_Previews._({required this.maxGifSize}) : super._() { - BuiltValueNullFieldError.checkNotNull(maxGifSize, r'SpreedPublicCapabilities_Spreed_Config_Previews', 'maxGifSize'); + _$SpreedPublicCapabilities0_Spreed_Config_Previews._({required this.maxGifSize}) : super._() { + BuiltValueNullFieldError.checkNotNull( + maxGifSize, r'SpreedPublicCapabilities0_Spreed_Config_Previews', 'maxGifSize'); } @override - SpreedPublicCapabilities_Spreed_Config_Previews rebuild( - void Function(SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder) updates) => + SpreedPublicCapabilities0_Spreed_Config_Previews rebuild( + void Function(SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder toBuilder() => - SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder()..replace(this); + SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder toBuilder() => + SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SpreedPublicCapabilities_Spreed_Config_Previews && maxGifSize == other.maxGifSize; + return other is SpreedPublicCapabilities0_Spreed_Config_Previews && maxGifSize == other.maxGifSize; } @override @@ -20295,26 +20301,26 @@ class _$SpreedPublicCapabilities_Spreed_Config_Previews extends SpreedPublicCapa @override String toString() { - return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities_Spreed_Config_Previews') + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config_Previews') ..add('maxGifSize', maxGifSize)) .toString(); } } -class SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder +class SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder implements - Builder, - SpreedPublicCapabilities_Spreed_Config_PreviewsInterfaceBuilder { - _$SpreedPublicCapabilities_Spreed_Config_Previews? _$v; + Builder, + SpreedPublicCapabilities0_Spreed_Config_PreviewsInterfaceBuilder { + _$SpreedPublicCapabilities0_Spreed_Config_Previews? _$v; int? _maxGifSize; int? get maxGifSize => _$this._maxGifSize; set maxGifSize(covariant int? maxGifSize) => _$this._maxGifSize = maxGifSize; - SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder(); + SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder(); - SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder get _$this { + SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder get _$this { final $v = _$v; if ($v != null) { _maxGifSize = $v.maxGifSize; @@ -20324,32 +20330,32 @@ class SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder } @override - void replace(covariant SpreedPublicCapabilities_Spreed_Config_Previews other) { + void replace(covariant SpreedPublicCapabilities0_Spreed_Config_Previews other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SpreedPublicCapabilities_Spreed_Config_Previews; + _$v = other as _$SpreedPublicCapabilities0_Spreed_Config_Previews; } @override - void update(void Function(SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder)? updates) { if (updates != null) updates(this); } @override - SpreedPublicCapabilities_Spreed_Config_Previews build() => _build(); + SpreedPublicCapabilities0_Spreed_Config_Previews build() => _build(); - _$SpreedPublicCapabilities_Spreed_Config_Previews _build() { + _$SpreedPublicCapabilities0_Spreed_Config_Previews _build() { final _$result = _$v ?? - _$SpreedPublicCapabilities_Spreed_Config_Previews._( + _$SpreedPublicCapabilities0_Spreed_Config_Previews._( maxGifSize: BuiltValueNullFieldError.checkNotNull( - maxGifSize, r'SpreedPublicCapabilities_Spreed_Config_Previews', 'maxGifSize')); + maxGifSize, r'SpreedPublicCapabilities0_Spreed_Config_Previews', 'maxGifSize')); replace(_$result); return _$result; } } -abstract mixin class SpreedPublicCapabilities_Spreed_Config_SignalingInterfaceBuilder { - void replace(SpreedPublicCapabilities_Spreed_Config_SignalingInterface other); - void update(void Function(SpreedPublicCapabilities_Spreed_Config_SignalingInterfaceBuilder) updates); +abstract mixin class SpreedPublicCapabilities0_Spreed_Config_SignalingInterfaceBuilder { + void replace(SpreedPublicCapabilities0_Spreed_Config_SignalingInterface other); + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_SignalingInterfaceBuilder) updates); int? get sessionPingLimit; set sessionPingLimit(int? sessionPingLimit); @@ -20357,35 +20363,35 @@ abstract mixin class SpreedPublicCapabilities_Spreed_Config_SignalingInterfaceBu set helloV2TokenKey(String? helloV2TokenKey); } -class _$SpreedPublicCapabilities_Spreed_Config_Signaling extends SpreedPublicCapabilities_Spreed_Config_Signaling { +class _$SpreedPublicCapabilities0_Spreed_Config_Signaling extends SpreedPublicCapabilities0_Spreed_Config_Signaling { @override final int sessionPingLimit; @override final String? helloV2TokenKey; - factory _$SpreedPublicCapabilities_Spreed_Config_Signaling( - [void Function(SpreedPublicCapabilities_Spreed_Config_SignalingBuilder)? updates]) => - (SpreedPublicCapabilities_Spreed_Config_SignalingBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities0_Spreed_Config_Signaling( + [void Function(SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder)? updates]) => + (SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder()..update(updates))._build(); - _$SpreedPublicCapabilities_Spreed_Config_Signaling._({required this.sessionPingLimit, this.helloV2TokenKey}) + _$SpreedPublicCapabilities0_Spreed_Config_Signaling._({required this.sessionPingLimit, this.helloV2TokenKey}) : super._() { BuiltValueNullFieldError.checkNotNull( - sessionPingLimit, r'SpreedPublicCapabilities_Spreed_Config_Signaling', 'sessionPingLimit'); + sessionPingLimit, r'SpreedPublicCapabilities0_Spreed_Config_Signaling', 'sessionPingLimit'); } @override - SpreedPublicCapabilities_Spreed_Config_Signaling rebuild( - void Function(SpreedPublicCapabilities_Spreed_Config_SignalingBuilder) updates) => + SpreedPublicCapabilities0_Spreed_Config_Signaling rebuild( + void Function(SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SpreedPublicCapabilities_Spreed_Config_SignalingBuilder toBuilder() => - SpreedPublicCapabilities_Spreed_Config_SignalingBuilder()..replace(this); + SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder toBuilder() => + SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SpreedPublicCapabilities_Spreed_Config_Signaling && + return other is SpreedPublicCapabilities0_Spreed_Config_Signaling && sessionPingLimit == other.sessionPingLimit && helloV2TokenKey == other.helloV2TokenKey; } @@ -20401,19 +20407,19 @@ class _$SpreedPublicCapabilities_Spreed_Config_Signaling extends SpreedPublicCap @override String toString() { - return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities_Spreed_Config_Signaling') + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config_Signaling') ..add('sessionPingLimit', sessionPingLimit) ..add('helloV2TokenKey', helloV2TokenKey)) .toString(); } } -class SpreedPublicCapabilities_Spreed_Config_SignalingBuilder +class SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder implements - Builder, - SpreedPublicCapabilities_Spreed_Config_SignalingInterfaceBuilder { - _$SpreedPublicCapabilities_Spreed_Config_Signaling? _$v; + Builder, + SpreedPublicCapabilities0_Spreed_Config_SignalingInterfaceBuilder { + _$SpreedPublicCapabilities0_Spreed_Config_Signaling? _$v; int? _sessionPingLimit; int? get sessionPingLimit => _$this._sessionPingLimit; @@ -20423,9 +20429,9 @@ class SpreedPublicCapabilities_Spreed_Config_SignalingBuilder String? get helloV2TokenKey => _$this._helloV2TokenKey; set helloV2TokenKey(covariant String? helloV2TokenKey) => _$this._helloV2TokenKey = helloV2TokenKey; - SpreedPublicCapabilities_Spreed_Config_SignalingBuilder(); + SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder(); - SpreedPublicCapabilities_Spreed_Config_SignalingBuilder get _$this { + SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder get _$this { final $v = _$v; if ($v != null) { _sessionPingLimit = $v.sessionPingLimit; @@ -20436,71 +20442,71 @@ class SpreedPublicCapabilities_Spreed_Config_SignalingBuilder } @override - void replace(covariant SpreedPublicCapabilities_Spreed_Config_Signaling other) { + void replace(covariant SpreedPublicCapabilities0_Spreed_Config_Signaling other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SpreedPublicCapabilities_Spreed_Config_Signaling; + _$v = other as _$SpreedPublicCapabilities0_Spreed_Config_Signaling; } @override - void update(void Function(SpreedPublicCapabilities_Spreed_Config_SignalingBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder)? updates) { if (updates != null) updates(this); } @override - SpreedPublicCapabilities_Spreed_Config_Signaling build() => _build(); + SpreedPublicCapabilities0_Spreed_Config_Signaling build() => _build(); - _$SpreedPublicCapabilities_Spreed_Config_Signaling _build() { + _$SpreedPublicCapabilities0_Spreed_Config_Signaling _build() { final _$result = _$v ?? - _$SpreedPublicCapabilities_Spreed_Config_Signaling._( + _$SpreedPublicCapabilities0_Spreed_Config_Signaling._( sessionPingLimit: BuiltValueNullFieldError.checkNotNull( - sessionPingLimit, r'SpreedPublicCapabilities_Spreed_Config_Signaling', 'sessionPingLimit'), + sessionPingLimit, r'SpreedPublicCapabilities0_Spreed_Config_Signaling', 'sessionPingLimit'), helloV2TokenKey: helloV2TokenKey); replace(_$result); return _$result; } } -abstract mixin class SpreedPublicCapabilities_Spreed_ConfigInterfaceBuilder { - void replace(SpreedPublicCapabilities_Spreed_ConfigInterface other); - void update(void Function(SpreedPublicCapabilities_Spreed_ConfigInterfaceBuilder) updates); - SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder get attachments; - set attachments(SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder? attachments); +abstract mixin class SpreedPublicCapabilities0_Spreed_ConfigInterfaceBuilder { + void replace(SpreedPublicCapabilities0_Spreed_ConfigInterface other); + void update(void Function(SpreedPublicCapabilities0_Spreed_ConfigInterfaceBuilder) updates); + SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder get attachments; + set attachments(SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder? attachments); - SpreedPublicCapabilities_Spreed_Config_CallBuilder get call; - set call(SpreedPublicCapabilities_Spreed_Config_CallBuilder? call); + SpreedPublicCapabilities0_Spreed_Config_CallBuilder get call; + set call(SpreedPublicCapabilities0_Spreed_Config_CallBuilder? call); - SpreedPublicCapabilities_Spreed_Config_ChatBuilder get chat; - set chat(SpreedPublicCapabilities_Spreed_Config_ChatBuilder? chat); + SpreedPublicCapabilities0_Spreed_Config_ChatBuilder get chat; + set chat(SpreedPublicCapabilities0_Spreed_Config_ChatBuilder? chat); - SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder get conversations; - set conversations(SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder? conversations); + SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder get conversations; + set conversations(SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder? conversations); - SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder get previews; - set previews(SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder? previews); + SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder get previews; + set previews(SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder? previews); - SpreedPublicCapabilities_Spreed_Config_SignalingBuilder get signaling; - set signaling(SpreedPublicCapabilities_Spreed_Config_SignalingBuilder? signaling); + SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder get signaling; + set signaling(SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder? signaling); } -class _$SpreedPublicCapabilities_Spreed_Config extends SpreedPublicCapabilities_Spreed_Config { +class _$SpreedPublicCapabilities0_Spreed_Config extends SpreedPublicCapabilities0_Spreed_Config { @override - final SpreedPublicCapabilities_Spreed_Config_Attachments attachments; + final SpreedPublicCapabilities0_Spreed_Config_Attachments attachments; @override - final SpreedPublicCapabilities_Spreed_Config_Call call; + final SpreedPublicCapabilities0_Spreed_Config_Call call; @override - final SpreedPublicCapabilities_Spreed_Config_Chat chat; + final SpreedPublicCapabilities0_Spreed_Config_Chat chat; @override - final SpreedPublicCapabilities_Spreed_Config_Conversations conversations; + final SpreedPublicCapabilities0_Spreed_Config_Conversations conversations; @override - final SpreedPublicCapabilities_Spreed_Config_Previews previews; + final SpreedPublicCapabilities0_Spreed_Config_Previews previews; @override - final SpreedPublicCapabilities_Spreed_Config_Signaling signaling; + final SpreedPublicCapabilities0_Spreed_Config_Signaling signaling; - factory _$SpreedPublicCapabilities_Spreed_Config( - [void Function(SpreedPublicCapabilities_Spreed_ConfigBuilder)? updates]) => - (SpreedPublicCapabilities_Spreed_ConfigBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities0_Spreed_Config( + [void Function(SpreedPublicCapabilities0_Spreed_ConfigBuilder)? updates]) => + (SpreedPublicCapabilities0_Spreed_ConfigBuilder()..update(updates))._build(); - _$SpreedPublicCapabilities_Spreed_Config._( + _$SpreedPublicCapabilities0_Spreed_Config._( {required this.attachments, required this.call, required this.chat, @@ -20508,27 +20514,27 @@ class _$SpreedPublicCapabilities_Spreed_Config extends SpreedPublicCapabilities_ required this.previews, required this.signaling}) : super._() { - BuiltValueNullFieldError.checkNotNull(attachments, r'SpreedPublicCapabilities_Spreed_Config', 'attachments'); - BuiltValueNullFieldError.checkNotNull(call, r'SpreedPublicCapabilities_Spreed_Config', 'call'); - BuiltValueNullFieldError.checkNotNull(chat, r'SpreedPublicCapabilities_Spreed_Config', 'chat'); - BuiltValueNullFieldError.checkNotNull(conversations, r'SpreedPublicCapabilities_Spreed_Config', 'conversations'); - BuiltValueNullFieldError.checkNotNull(previews, r'SpreedPublicCapabilities_Spreed_Config', 'previews'); - BuiltValueNullFieldError.checkNotNull(signaling, r'SpreedPublicCapabilities_Spreed_Config', 'signaling'); + BuiltValueNullFieldError.checkNotNull(attachments, r'SpreedPublicCapabilities0_Spreed_Config', 'attachments'); + BuiltValueNullFieldError.checkNotNull(call, r'SpreedPublicCapabilities0_Spreed_Config', 'call'); + BuiltValueNullFieldError.checkNotNull(chat, r'SpreedPublicCapabilities0_Spreed_Config', 'chat'); + BuiltValueNullFieldError.checkNotNull(conversations, r'SpreedPublicCapabilities0_Spreed_Config', 'conversations'); + BuiltValueNullFieldError.checkNotNull(previews, r'SpreedPublicCapabilities0_Spreed_Config', 'previews'); + BuiltValueNullFieldError.checkNotNull(signaling, r'SpreedPublicCapabilities0_Spreed_Config', 'signaling'); } @override - SpreedPublicCapabilities_Spreed_Config rebuild( - void Function(SpreedPublicCapabilities_Spreed_ConfigBuilder) updates) => + SpreedPublicCapabilities0_Spreed_Config rebuild( + void Function(SpreedPublicCapabilities0_Spreed_ConfigBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SpreedPublicCapabilities_Spreed_ConfigBuilder toBuilder() => - SpreedPublicCapabilities_Spreed_ConfigBuilder()..replace(this); + SpreedPublicCapabilities0_Spreed_ConfigBuilder toBuilder() => + SpreedPublicCapabilities0_Spreed_ConfigBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SpreedPublicCapabilities_Spreed_Config && + return other is SpreedPublicCapabilities0_Spreed_Config && attachments == other.attachments && call == other.call && chat == other.chat && @@ -20552,7 +20558,7 @@ class _$SpreedPublicCapabilities_Spreed_Config extends SpreedPublicCapabilities_ @override String toString() { - return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities_Spreed_Config') + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed_Config') ..add('attachments', attachments) ..add('call', call) ..add('chat', chat) @@ -20563,49 +20569,49 @@ class _$SpreedPublicCapabilities_Spreed_Config extends SpreedPublicCapabilities_ } } -class SpreedPublicCapabilities_Spreed_ConfigBuilder +class SpreedPublicCapabilities0_Spreed_ConfigBuilder implements - Builder, - SpreedPublicCapabilities_Spreed_ConfigInterfaceBuilder { - _$SpreedPublicCapabilities_Spreed_Config? _$v; - - SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder? _attachments; - SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder get attachments => - _$this._attachments ??= SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder(); - set attachments(covariant SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder? attachments) => + Builder, + SpreedPublicCapabilities0_Spreed_ConfigInterfaceBuilder { + _$SpreedPublicCapabilities0_Spreed_Config? _$v; + + SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder? _attachments; + SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder get attachments => + _$this._attachments ??= SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder(); + set attachments(covariant SpreedPublicCapabilities0_Spreed_Config_AttachmentsBuilder? attachments) => _$this._attachments = attachments; - SpreedPublicCapabilities_Spreed_Config_CallBuilder? _call; - SpreedPublicCapabilities_Spreed_Config_CallBuilder get call => - _$this._call ??= SpreedPublicCapabilities_Spreed_Config_CallBuilder(); - set call(covariant SpreedPublicCapabilities_Spreed_Config_CallBuilder? call) => _$this._call = call; + SpreedPublicCapabilities0_Spreed_Config_CallBuilder? _call; + SpreedPublicCapabilities0_Spreed_Config_CallBuilder get call => + _$this._call ??= SpreedPublicCapabilities0_Spreed_Config_CallBuilder(); + set call(covariant SpreedPublicCapabilities0_Spreed_Config_CallBuilder? call) => _$this._call = call; - SpreedPublicCapabilities_Spreed_Config_ChatBuilder? _chat; - SpreedPublicCapabilities_Spreed_Config_ChatBuilder get chat => - _$this._chat ??= SpreedPublicCapabilities_Spreed_Config_ChatBuilder(); - set chat(covariant SpreedPublicCapabilities_Spreed_Config_ChatBuilder? chat) => _$this._chat = chat; + SpreedPublicCapabilities0_Spreed_Config_ChatBuilder? _chat; + SpreedPublicCapabilities0_Spreed_Config_ChatBuilder get chat => + _$this._chat ??= SpreedPublicCapabilities0_Spreed_Config_ChatBuilder(); + set chat(covariant SpreedPublicCapabilities0_Spreed_Config_ChatBuilder? chat) => _$this._chat = chat; - SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder? _conversations; - SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder get conversations => - _$this._conversations ??= SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder(); - set conversations(covariant SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder? conversations) => + SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder? _conversations; + SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder get conversations => + _$this._conversations ??= SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder(); + set conversations(covariant SpreedPublicCapabilities0_Spreed_Config_ConversationsBuilder? conversations) => _$this._conversations = conversations; - SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder? _previews; - SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder get previews => - _$this._previews ??= SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder(); - set previews(covariant SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder? previews) => + SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder? _previews; + SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder get previews => + _$this._previews ??= SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder(); + set previews(covariant SpreedPublicCapabilities0_Spreed_Config_PreviewsBuilder? previews) => _$this._previews = previews; - SpreedPublicCapabilities_Spreed_Config_SignalingBuilder? _signaling; - SpreedPublicCapabilities_Spreed_Config_SignalingBuilder get signaling => - _$this._signaling ??= SpreedPublicCapabilities_Spreed_Config_SignalingBuilder(); - set signaling(covariant SpreedPublicCapabilities_Spreed_Config_SignalingBuilder? signaling) => + SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder? _signaling; + SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder get signaling => + _$this._signaling ??= SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder(); + set signaling(covariant SpreedPublicCapabilities0_Spreed_Config_SignalingBuilder? signaling) => _$this._signaling = signaling; - SpreedPublicCapabilities_Spreed_ConfigBuilder(); + SpreedPublicCapabilities0_Spreed_ConfigBuilder(); - SpreedPublicCapabilities_Spreed_ConfigBuilder get _$this { + SpreedPublicCapabilities0_Spreed_ConfigBuilder get _$this { final $v = _$v; if ($v != null) { _attachments = $v.attachments.toBuilder(); @@ -20620,24 +20626,24 @@ class SpreedPublicCapabilities_Spreed_ConfigBuilder } @override - void replace(covariant SpreedPublicCapabilities_Spreed_Config other) { + void replace(covariant SpreedPublicCapabilities0_Spreed_Config other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SpreedPublicCapabilities_Spreed_Config; + _$v = other as _$SpreedPublicCapabilities0_Spreed_Config; } @override - void update(void Function(SpreedPublicCapabilities_Spreed_ConfigBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities0_Spreed_ConfigBuilder)? updates) { if (updates != null) updates(this); } @override - SpreedPublicCapabilities_Spreed_Config build() => _build(); + SpreedPublicCapabilities0_Spreed_Config build() => _build(); - _$SpreedPublicCapabilities_Spreed_Config _build() { - _$SpreedPublicCapabilities_Spreed_Config _$result; + _$SpreedPublicCapabilities0_Spreed_Config _build() { + _$SpreedPublicCapabilities0_Spreed_Config _$result; try { _$result = _$v ?? - _$SpreedPublicCapabilities_Spreed_Config._( + _$SpreedPublicCapabilities0_Spreed_Config._( attachments: attachments.build(), call: call.build(), chat: chat.build(), @@ -20660,7 +20666,7 @@ class SpreedPublicCapabilities_Spreed_ConfigBuilder _$failedField = 'signaling'; signaling.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities_Spreed_Config', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities0_Spreed_Config', _$failedField, e.toString()); } rethrow; } @@ -20669,48 +20675,48 @@ class SpreedPublicCapabilities_Spreed_ConfigBuilder } } -abstract mixin class SpreedPublicCapabilities_SpreedInterfaceBuilder { - void replace(SpreedPublicCapabilities_SpreedInterface other); - void update(void Function(SpreedPublicCapabilities_SpreedInterfaceBuilder) updates); +abstract mixin class SpreedPublicCapabilities0_SpreedInterfaceBuilder { + void replace(SpreedPublicCapabilities0_SpreedInterface other); + void update(void Function(SpreedPublicCapabilities0_SpreedInterfaceBuilder) updates); ListBuilder get features; set features(ListBuilder? features); - SpreedPublicCapabilities_Spreed_ConfigBuilder get config; - set config(SpreedPublicCapabilities_Spreed_ConfigBuilder? config); + SpreedPublicCapabilities0_Spreed_ConfigBuilder get config; + set config(SpreedPublicCapabilities0_Spreed_ConfigBuilder? config); String? get version; set version(String? version); } -class _$SpreedPublicCapabilities_Spreed extends SpreedPublicCapabilities_Spreed { +class _$SpreedPublicCapabilities0_Spreed extends SpreedPublicCapabilities0_Spreed { @override final BuiltList features; @override - final SpreedPublicCapabilities_Spreed_Config config; + final SpreedPublicCapabilities0_Spreed_Config config; @override final String version; - factory _$SpreedPublicCapabilities_Spreed([void Function(SpreedPublicCapabilities_SpreedBuilder)? updates]) => - (SpreedPublicCapabilities_SpreedBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities0_Spreed([void Function(SpreedPublicCapabilities0_SpreedBuilder)? updates]) => + (SpreedPublicCapabilities0_SpreedBuilder()..update(updates))._build(); - _$SpreedPublicCapabilities_Spreed._({required this.features, required this.config, required this.version}) + _$SpreedPublicCapabilities0_Spreed._({required this.features, required this.config, required this.version}) : super._() { - BuiltValueNullFieldError.checkNotNull(features, r'SpreedPublicCapabilities_Spreed', 'features'); - BuiltValueNullFieldError.checkNotNull(config, r'SpreedPublicCapabilities_Spreed', 'config'); - BuiltValueNullFieldError.checkNotNull(version, r'SpreedPublicCapabilities_Spreed', 'version'); + BuiltValueNullFieldError.checkNotNull(features, r'SpreedPublicCapabilities0_Spreed', 'features'); + BuiltValueNullFieldError.checkNotNull(config, r'SpreedPublicCapabilities0_Spreed', 'config'); + BuiltValueNullFieldError.checkNotNull(version, r'SpreedPublicCapabilities0_Spreed', 'version'); } @override - SpreedPublicCapabilities_Spreed rebuild(void Function(SpreedPublicCapabilities_SpreedBuilder) updates) => + SpreedPublicCapabilities0_Spreed rebuild(void Function(SpreedPublicCapabilities0_SpreedBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SpreedPublicCapabilities_SpreedBuilder toBuilder() => SpreedPublicCapabilities_SpreedBuilder()..replace(this); + SpreedPublicCapabilities0_SpreedBuilder toBuilder() => SpreedPublicCapabilities0_SpreedBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SpreedPublicCapabilities_Spreed && + return other is SpreedPublicCapabilities0_Spreed && features == other.features && config == other.config && version == other.version; @@ -20728,7 +20734,7 @@ class _$SpreedPublicCapabilities_Spreed extends SpreedPublicCapabilities_Spreed @override String toString() { - return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities_Spreed') + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0_Spreed') ..add('features', features) ..add('config', config) ..add('version', version)) @@ -20736,28 +20742,28 @@ class _$SpreedPublicCapabilities_Spreed extends SpreedPublicCapabilities_Spreed } } -class SpreedPublicCapabilities_SpreedBuilder +class SpreedPublicCapabilities0_SpreedBuilder implements - Builder, - SpreedPublicCapabilities_SpreedInterfaceBuilder { - _$SpreedPublicCapabilities_Spreed? _$v; + Builder, + SpreedPublicCapabilities0_SpreedInterfaceBuilder { + _$SpreedPublicCapabilities0_Spreed? _$v; ListBuilder? _features; ListBuilder get features => _$this._features ??= ListBuilder(); set features(covariant ListBuilder? features) => _$this._features = features; - SpreedPublicCapabilities_Spreed_ConfigBuilder? _config; - SpreedPublicCapabilities_Spreed_ConfigBuilder get config => - _$this._config ??= SpreedPublicCapabilities_Spreed_ConfigBuilder(); - set config(covariant SpreedPublicCapabilities_Spreed_ConfigBuilder? config) => _$this._config = config; + SpreedPublicCapabilities0_Spreed_ConfigBuilder? _config; + SpreedPublicCapabilities0_Spreed_ConfigBuilder get config => + _$this._config ??= SpreedPublicCapabilities0_Spreed_ConfigBuilder(); + set config(covariant SpreedPublicCapabilities0_Spreed_ConfigBuilder? config) => _$this._config = config; String? _version; String? get version => _$this._version; set version(covariant String? version) => _$this._version = version; - SpreedPublicCapabilities_SpreedBuilder(); + SpreedPublicCapabilities0_SpreedBuilder(); - SpreedPublicCapabilities_SpreedBuilder get _$this { + SpreedPublicCapabilities0_SpreedBuilder get _$this { final $v = _$v; if ($v != null) { _features = $v.features.toBuilder(); @@ -20769,27 +20775,27 @@ class SpreedPublicCapabilities_SpreedBuilder } @override - void replace(covariant SpreedPublicCapabilities_Spreed other) { + void replace(covariant SpreedPublicCapabilities0_Spreed other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SpreedPublicCapabilities_Spreed; + _$v = other as _$SpreedPublicCapabilities0_Spreed; } @override - void update(void Function(SpreedPublicCapabilities_SpreedBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities0_SpreedBuilder)? updates) { if (updates != null) updates(this); } @override - SpreedPublicCapabilities_Spreed build() => _build(); + SpreedPublicCapabilities0_Spreed build() => _build(); - _$SpreedPublicCapabilities_Spreed _build() { - _$SpreedPublicCapabilities_Spreed _$result; + _$SpreedPublicCapabilities0_Spreed _build() { + _$SpreedPublicCapabilities0_Spreed _$result; try { _$result = _$v ?? - _$SpreedPublicCapabilities_Spreed._( + _$SpreedPublicCapabilities0_Spreed._( features: features.build(), config: config.build(), - version: BuiltValueNullFieldError.checkNotNull(version, r'SpreedPublicCapabilities_Spreed', 'version')); + version: BuiltValueNullFieldError.checkNotNull(version, r'SpreedPublicCapabilities0_Spreed', 'version')); } catch (_) { late String _$failedField; try { @@ -20798,7 +20804,106 @@ class SpreedPublicCapabilities_SpreedBuilder _$failedField = 'config'; config.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities_Spreed', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities0_Spreed', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class SpreedPublicCapabilities0InterfaceBuilder { + void replace(SpreedPublicCapabilities0Interface other); + void update(void Function(SpreedPublicCapabilities0InterfaceBuilder) updates); + SpreedPublicCapabilities0_SpreedBuilder get spreed; + set spreed(SpreedPublicCapabilities0_SpreedBuilder? spreed); +} + +class _$SpreedPublicCapabilities0 extends SpreedPublicCapabilities0 { + @override + final SpreedPublicCapabilities0_Spreed spreed; + + factory _$SpreedPublicCapabilities0([void Function(SpreedPublicCapabilities0Builder)? updates]) => + (SpreedPublicCapabilities0Builder()..update(updates))._build(); + + _$SpreedPublicCapabilities0._({required this.spreed}) : super._() { + BuiltValueNullFieldError.checkNotNull(spreed, r'SpreedPublicCapabilities0', 'spreed'); + } + + @override + SpreedPublicCapabilities0 rebuild(void Function(SpreedPublicCapabilities0Builder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SpreedPublicCapabilities0Builder toBuilder() => SpreedPublicCapabilities0Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SpreedPublicCapabilities0 && spreed == other.spreed; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, spreed.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities0')..add('spreed', spreed)).toString(); + } +} + +class SpreedPublicCapabilities0Builder + implements + Builder, + SpreedPublicCapabilities0InterfaceBuilder { + _$SpreedPublicCapabilities0? _$v; + + SpreedPublicCapabilities0_SpreedBuilder? _spreed; + SpreedPublicCapabilities0_SpreedBuilder get spreed => _$this._spreed ??= SpreedPublicCapabilities0_SpreedBuilder(); + set spreed(covariant SpreedPublicCapabilities0_SpreedBuilder? spreed) => _$this._spreed = spreed; + + SpreedPublicCapabilities0Builder(); + + SpreedPublicCapabilities0Builder get _$this { + final $v = _$v; + if ($v != null) { + _spreed = $v.spreed.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant SpreedPublicCapabilities0 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SpreedPublicCapabilities0; + } + + @override + void update(void Function(SpreedPublicCapabilities0Builder)? updates) { + if (updates != null) updates(this); + } + + @override + SpreedPublicCapabilities0 build() => _build(); + + _$SpreedPublicCapabilities0 _build() { + _$SpreedPublicCapabilities0 _$result; + try { + _$result = _$v ?? _$SpreedPublicCapabilities0._(spreed: spreed.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'spreed'; + spreed.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities0', _$failedField, e.toString()); } rethrow; } @@ -20810,19 +20915,27 @@ class SpreedPublicCapabilities_SpreedBuilder abstract mixin class SpreedPublicCapabilitiesInterfaceBuilder { void replace(SpreedPublicCapabilitiesInterface other); void update(void Function(SpreedPublicCapabilitiesInterfaceBuilder) updates); - SpreedPublicCapabilities_SpreedBuilder get spreed; - set spreed(SpreedPublicCapabilities_SpreedBuilder? spreed); + SpreedPublicCapabilities0Builder get spreedPublicCapabilities0; + set spreedPublicCapabilities0(SpreedPublicCapabilities0Builder? spreedPublicCapabilities0); + + ListBuilder get builtListJsonObject; + set builtListJsonObject(ListBuilder? builtListJsonObject); } class _$SpreedPublicCapabilities extends SpreedPublicCapabilities { @override - final SpreedPublicCapabilities_Spreed spreed; + final JsonObject data; + @override + final SpreedPublicCapabilities0? spreedPublicCapabilities0; + @override + final BuiltList? builtListJsonObject; factory _$SpreedPublicCapabilities([void Function(SpreedPublicCapabilitiesBuilder)? updates]) => (SpreedPublicCapabilitiesBuilder()..update(updates))._build(); - _$SpreedPublicCapabilities._({required this.spreed}) : super._() { - BuiltValueNullFieldError.checkNotNull(spreed, r'SpreedPublicCapabilities', 'spreed'); + _$SpreedPublicCapabilities._({required this.data, this.spreedPublicCapabilities0, this.builtListJsonObject}) + : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'SpreedPublicCapabilities', 'data'); } @override @@ -20835,20 +20948,29 @@ class _$SpreedPublicCapabilities extends SpreedPublicCapabilities { @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SpreedPublicCapabilities && spreed == other.spreed; + return other is SpreedPublicCapabilities && + data == other.data && + spreedPublicCapabilities0 == other.spreedPublicCapabilities0 && + builtListJsonObject == other.builtListJsonObject; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, spreed.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, spreedPublicCapabilities0.hashCode); + _$hash = $jc(_$hash, builtListJsonObject.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities')..add('spreed', spreed)).toString(); + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities') + ..add('data', data) + ..add('spreedPublicCapabilities0', spreedPublicCapabilities0) + ..add('builtListJsonObject', builtListJsonObject)) + .toString(); } } @@ -20858,16 +20980,29 @@ class SpreedPublicCapabilitiesBuilder SpreedPublicCapabilitiesInterfaceBuilder { _$SpreedPublicCapabilities? _$v; - SpreedPublicCapabilities_SpreedBuilder? _spreed; - SpreedPublicCapabilities_SpreedBuilder get spreed => _$this._spreed ??= SpreedPublicCapabilities_SpreedBuilder(); - set spreed(covariant SpreedPublicCapabilities_SpreedBuilder? spreed) => _$this._spreed = spreed; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + SpreedPublicCapabilities0Builder? _spreedPublicCapabilities0; + SpreedPublicCapabilities0Builder get spreedPublicCapabilities0 => + _$this._spreedPublicCapabilities0 ??= SpreedPublicCapabilities0Builder(); + set spreedPublicCapabilities0(covariant SpreedPublicCapabilities0Builder? spreedPublicCapabilities0) => + _$this._spreedPublicCapabilities0 = spreedPublicCapabilities0; + + ListBuilder? _builtListJsonObject; + ListBuilder get builtListJsonObject => _$this._builtListJsonObject ??= ListBuilder(); + set builtListJsonObject(covariant ListBuilder? builtListJsonObject) => + _$this._builtListJsonObject = builtListJsonObject; SpreedPublicCapabilitiesBuilder(); SpreedPublicCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _spreed = $v.spreed.toBuilder(); + _data = $v.data; + _spreedPublicCapabilities0 = $v.spreedPublicCapabilities0?.toBuilder(); + _builtListJsonObject = $v.builtListJsonObject?.toBuilder(); _$v = null; } return this; @@ -20888,14 +21023,21 @@ class SpreedPublicCapabilitiesBuilder SpreedPublicCapabilities build() => _build(); _$SpreedPublicCapabilities _build() { + SpreedPublicCapabilities._validate(this); _$SpreedPublicCapabilities _$result; try { - _$result = _$v ?? _$SpreedPublicCapabilities._(spreed: spreed.build()); + _$result = _$v ?? + _$SpreedPublicCapabilities._( + data: BuiltValueNullFieldError.checkNotNull(data, r'SpreedPublicCapabilities', 'data'), + spreedPublicCapabilities0: _spreedPublicCapabilities0?.build(), + builtListJsonObject: _builtListJsonObject?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'spreed'; - spreed.build(); + _$failedField = 'spreedPublicCapabilities0'; + _spreedPublicCapabilities0?.build(); + _$failedField = 'builtListJsonObject'; + _builtListJsonObject?.build(); } catch (e) { throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities', _$failedField, e.toString()); } diff --git a/packages/nextcloud/lib/src/api/core.openapi.json b/packages/nextcloud/lib/src/api/core.openapi.json index 80cf58d67e6..f4b6d6cb1f0 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.json +++ b/packages/nextcloud/lib/src/api/core.openapi.json @@ -1067,177 +1067,185 @@ } }, "SpreedPublicCapabilities": { - "type": "object", - "required": [ - "spreed" - ], - "properties": { - "spreed": { + "oneOf": [ + { "type": "object", "required": [ - "features", - "config", - "version" + "spreed" ], "properties": { - "features": { - "type": "array", - "items": { - "type": "string" - } - }, - "config": { + "spreed": { "type": "object", "required": [ - "attachments", - "call", - "chat", - "conversations", - "previews", - "signaling" + "features", + "config", + "version" ], "properties": { - "attachments": { - "type": "object", - "required": [ - "allowed" - ], - "properties": { - "allowed": { - "type": "boolean" - }, - "folder": { - "type": "string" - } + "features": { + "type": "array", + "items": { + "type": "string" } }, - "call": { + "config": { "type": "object", "required": [ - "enabled", - "breakout-rooms", - "recording", - "supported-reactions", - "predefined-backgrounds", - "can-upload-background" + "attachments", + "call", + "chat", + "conversations", + "previews", + "signaling" ], "properties": { - "enabled": { - "type": "boolean" - }, - "breakout-rooms": { - "type": "boolean" - }, - "recording": { - "type": "boolean" - }, - "recording-consent": { - "type": "integer", - "format": "int64" - }, - "supported-reactions": { - "type": "array", - "items": { - "type": "string" + "attachments": { + "type": "object", + "required": [ + "allowed" + ], + "properties": { + "allowed": { + "type": "boolean" + }, + "folder": { + "type": "string" + } } }, - "predefined-backgrounds": { - "type": "array", - "items": { - "type": "string" + "call": { + "type": "object", + "required": [ + "enabled", + "breakout-rooms", + "recording", + "supported-reactions", + "predefined-backgrounds", + "can-upload-background" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "breakout-rooms": { + "type": "boolean" + }, + "recording": { + "type": "boolean" + }, + "recording-consent": { + "type": "integer", + "format": "int64" + }, + "supported-reactions": { + "type": "array", + "items": { + "type": "string" + } + }, + "predefined-backgrounds": { + "type": "array", + "items": { + "type": "string" + } + }, + "can-upload-background": { + "type": "boolean" + }, + "sip-enabled": { + "type": "boolean" + }, + "sip-dialout-enabled": { + "type": "boolean" + }, + "can-enable-sip": { + "type": "boolean" + } } }, - "can-upload-background": { - "type": "boolean" - }, - "sip-enabled": { - "type": "boolean" - }, - "sip-dialout-enabled": { - "type": "boolean" - }, - "can-enable-sip": { - "type": "boolean" - } - } - }, - "chat": { - "type": "object", - "required": [ - "max-length", - "read-privacy", - "typing-privacy" - ], - "properties": { - "max-length": { - "type": "integer", - "format": "int64" - }, - "read-privacy": { - "type": "integer", - "format": "int64" + "chat": { + "type": "object", + "required": [ + "max-length", + "read-privacy", + "typing-privacy" + ], + "properties": { + "max-length": { + "type": "integer", + "format": "int64" + }, + "read-privacy": { + "type": "integer", + "format": "int64" + }, + "has-translation-providers": { + "type": "boolean" + }, + "typing-privacy": { + "type": "integer", + "format": "int64" + }, + "translations": { + "type": "array", + "items": { + "type": "string" + } + } + } }, - "has-translation-providers": { - "type": "boolean" + "conversations": { + "type": "object", + "required": [ + "can-create" + ], + "properties": { + "can-create": { + "type": "boolean" + } + } }, - "typing-privacy": { - "type": "integer", - "format": "int64" + "previews": { + "type": "object", + "required": [ + "max-gif-size" + ], + "properties": { + "max-gif-size": { + "type": "integer", + "format": "int64" + } + } }, - "translations": { - "type": "array", - "items": { - "type": "string" + "signaling": { + "type": "object", + "required": [ + "session-ping-limit" + ], + "properties": { + "session-ping-limit": { + "type": "integer", + "format": "int64" + }, + "hello-v2-token-key": { + "type": "string" + } } } } }, - "conversations": { - "type": "object", - "required": [ - "can-create" - ], - "properties": { - "can-create": { - "type": "boolean" - } - } - }, - "previews": { - "type": "object", - "required": [ - "max-gif-size" - ], - "properties": { - "max-gif-size": { - "type": "integer", - "format": "int64" - } - } - }, - "signaling": { - "type": "object", - "required": [ - "session-ping-limit" - ], - "properties": { - "session-ping-limit": { - "type": "integer", - "format": "int64" - }, - "hello-v2-token-key": { - "type": "string" - } - } + "version": { + "type": "string" } } - }, - "version": { - "type": "string" } } + }, + { + "type": "array", + "maxLength": 0 } - } + ] }, "ThemingPublicCapabilities": { "type": "object", diff --git a/packages/nextcloud/lib/src/api/spreed.openapi.dart b/packages/nextcloud/lib/src/api/spreed.openapi.dart index 5a38d006437..81132dcc675 100644 --- a/packages/nextcloud/lib/src/api/spreed.openapi.dart +++ b/packages/nextcloud/lib/src/api/spreed.openapi.dart @@ -11983,7 +11983,7 @@ class SignalingClient { uri, headers, body, - const {200}, + const {200, 404, 409}, ), bodyType: const FullType(SignalingPullMessagesResponseApplicationJson), headersType: null, @@ -12366,7 +12366,7 @@ abstract class ChatMessage implements ChatMessageInterface, Built? get builtListJsonObject; } abstract class Room_LastMessage implements Room_LastMessageInterface, Built { @@ -12396,9 +12396,9 @@ abstract class Room_LastMessage implements Room_LastMessageInterface, Built x != null); + final match = [b._chatMessage, b._builtListJsonObject].singleWhereOrNull((final x) => x != null); if (match == null) { - throw StateError("Need exactly one of 'chatMessage', 'jsonObject' for ${b._data}"); + throw StateError("Need exactly one of 'chatMessage', 'builtListJsonObject' for ${b._data}"); } } } @@ -12430,8 +12430,11 @@ class _$Room_LastMessageSerializer implements PrimitiveSerializer; + result.builtListJsonObject.replace(value); } catch (_) {} return result.build(); } @@ -20510,7 +20513,7 @@ abstract class RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0 abstract interface class RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataInterface { RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0? get roomAddParticipantToRoomResponseApplicationJsonOcsData0; - JsonObject? get jsonObject; + BuiltList? get builtListJsonObject; } abstract class RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data @@ -20547,11 +20550,11 @@ abstract class RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data return; } - final match = [b._roomAddParticipantToRoomResponseApplicationJsonOcsData0, b._jsonObject] + final match = [b._roomAddParticipantToRoomResponseApplicationJsonOcsData0, b._builtListJsonObject] .singleWhereOrNull((final x) => x != null); if (match == null) { throw StateError( - "Need exactly one of 'roomAddParticipantToRoomResponseApplicationJsonOcsData0', 'jsonObject' for ${b._data}", + "Need exactly one of 'roomAddParticipantToRoomResponseApplicationJsonOcsData0', 'builtListJsonObject' for ${b._data}", ); } } @@ -20591,8 +20594,11 @@ class _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataSerializer result.roomAddParticipantToRoomResponseApplicationJsonOcsData0.replace(value); } catch (_) {} try { - final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(JsonObject))! as JsonObject; - result.jsonObject = value; + final value = _jsonSerializers.deserialize( + data, + specifiedType: const FullType(BuiltList, [FullType(JsonObject)]), + )! as BuiltList; + result.builtListJsonObject.replace(value); } catch (_) {} return result.build(); } @@ -23214,25 +23220,25 @@ abstract class BotWithDetailsAndSecret } @BuiltValue(instantiable: false) -abstract interface class PublicCapabilities_Spreed_Config_AttachmentsInterface { +abstract interface class PublicCapabilities0_Spreed_Config_AttachmentsInterface { bool get allowed; String? get folder; } -abstract class PublicCapabilities_Spreed_Config_Attachments +abstract class PublicCapabilities0_Spreed_Config_Attachments implements - PublicCapabilities_Spreed_Config_AttachmentsInterface, - Built { - factory PublicCapabilities_Spreed_Config_Attachments([ - final void Function(PublicCapabilities_Spreed_Config_AttachmentsBuilder)? b, - ]) = _$PublicCapabilities_Spreed_Config_Attachments; + PublicCapabilities0_Spreed_Config_AttachmentsInterface, + Built { + factory PublicCapabilities0_Spreed_Config_Attachments([ + final void Function(PublicCapabilities0_Spreed_Config_AttachmentsBuilder)? b, + ]) = _$PublicCapabilities0_Spreed_Config_Attachments; // coverage:ignore-start - const PublicCapabilities_Spreed_Config_Attachments._(); + const PublicCapabilities0_Spreed_Config_Attachments._(); // coverage:ignore-end // coverage:ignore-start - factory PublicCapabilities_Spreed_Config_Attachments.fromJson(final Map json) => + factory PublicCapabilities0_Spreed_Config_Attachments.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -23240,12 +23246,12 @@ abstract class PublicCapabilities_Spreed_Config_Attachments Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$publicCapabilitiesSpreedConfigAttachmentsSerializer; + static Serializer get serializer => + _$publicCapabilities0SpreedConfigAttachmentsSerializer; } @BuiltValue(instantiable: false) -abstract interface class PublicCapabilities_Spreed_Config_CallInterface { +abstract interface class PublicCapabilities0_Spreed_Config_CallInterface { bool get enabled; @BuiltValueField(wireName: 'breakout-rooms') bool get breakoutRooms; @@ -23266,20 +23272,20 @@ abstract interface class PublicCapabilities_Spreed_Config_CallInterface { bool? get canEnableSip; } -abstract class PublicCapabilities_Spreed_Config_Call +abstract class PublicCapabilities0_Spreed_Config_Call implements - PublicCapabilities_Spreed_Config_CallInterface, - Built { - factory PublicCapabilities_Spreed_Config_Call([ - final void Function(PublicCapabilities_Spreed_Config_CallBuilder)? b, - ]) = _$PublicCapabilities_Spreed_Config_Call; + PublicCapabilities0_Spreed_Config_CallInterface, + Built { + factory PublicCapabilities0_Spreed_Config_Call([ + final void Function(PublicCapabilities0_Spreed_Config_CallBuilder)? b, + ]) = _$PublicCapabilities0_Spreed_Config_Call; // coverage:ignore-start - const PublicCapabilities_Spreed_Config_Call._(); + const PublicCapabilities0_Spreed_Config_Call._(); // coverage:ignore-end // coverage:ignore-start - factory PublicCapabilities_Spreed_Config_Call.fromJson(final Map json) => + factory PublicCapabilities0_Spreed_Config_Call.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -23287,12 +23293,12 @@ abstract class PublicCapabilities_Spreed_Config_Call Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$publicCapabilitiesSpreedConfigCallSerializer; + static Serializer get serializer => + _$publicCapabilities0SpreedConfigCallSerializer; } @BuiltValue(instantiable: false) -abstract interface class PublicCapabilities_Spreed_Config_ChatInterface { +abstract interface class PublicCapabilities0_Spreed_Config_ChatInterface { @BuiltValueField(wireName: 'max-length') int get maxLength; @BuiltValueField(wireName: 'read-privacy') @@ -23304,20 +23310,20 @@ abstract interface class PublicCapabilities_Spreed_Config_ChatInterface { BuiltList? get translations; } -abstract class PublicCapabilities_Spreed_Config_Chat +abstract class PublicCapabilities0_Spreed_Config_Chat implements - PublicCapabilities_Spreed_Config_ChatInterface, - Built { - factory PublicCapabilities_Spreed_Config_Chat([ - final void Function(PublicCapabilities_Spreed_Config_ChatBuilder)? b, - ]) = _$PublicCapabilities_Spreed_Config_Chat; + PublicCapabilities0_Spreed_Config_ChatInterface, + Built { + factory PublicCapabilities0_Spreed_Config_Chat([ + final void Function(PublicCapabilities0_Spreed_Config_ChatBuilder)? b, + ]) = _$PublicCapabilities0_Spreed_Config_Chat; // coverage:ignore-start - const PublicCapabilities_Spreed_Config_Chat._(); + const PublicCapabilities0_Spreed_Config_Chat._(); // coverage:ignore-end // coverage:ignore-start - factory PublicCapabilities_Spreed_Config_Chat.fromJson(final Map json) => + factory PublicCapabilities0_Spreed_Config_Chat.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -23325,30 +23331,30 @@ abstract class PublicCapabilities_Spreed_Config_Chat Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$publicCapabilitiesSpreedConfigChatSerializer; + static Serializer get serializer => + _$publicCapabilities0SpreedConfigChatSerializer; } @BuiltValue(instantiable: false) -abstract interface class PublicCapabilities_Spreed_Config_ConversationsInterface { +abstract interface class PublicCapabilities0_Spreed_Config_ConversationsInterface { @BuiltValueField(wireName: 'can-create') bool get canCreate; } -abstract class PublicCapabilities_Spreed_Config_Conversations +abstract class PublicCapabilities0_Spreed_Config_Conversations implements - PublicCapabilities_Spreed_Config_ConversationsInterface, - Built { - factory PublicCapabilities_Spreed_Config_Conversations([ - final void Function(PublicCapabilities_Spreed_Config_ConversationsBuilder)? b, - ]) = _$PublicCapabilities_Spreed_Config_Conversations; + PublicCapabilities0_Spreed_Config_ConversationsInterface, + Built { + factory PublicCapabilities0_Spreed_Config_Conversations([ + final void Function(PublicCapabilities0_Spreed_Config_ConversationsBuilder)? b, + ]) = _$PublicCapabilities0_Spreed_Config_Conversations; // coverage:ignore-start - const PublicCapabilities_Spreed_Config_Conversations._(); + const PublicCapabilities0_Spreed_Config_Conversations._(); // coverage:ignore-end // coverage:ignore-start - factory PublicCapabilities_Spreed_Config_Conversations.fromJson(final Map json) => + factory PublicCapabilities0_Spreed_Config_Conversations.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -23356,30 +23362,30 @@ abstract class PublicCapabilities_Spreed_Config_Conversations Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$publicCapabilitiesSpreedConfigConversationsSerializer; + static Serializer get serializer => + _$publicCapabilities0SpreedConfigConversationsSerializer; } @BuiltValue(instantiable: false) -abstract interface class PublicCapabilities_Spreed_Config_PreviewsInterface { +abstract interface class PublicCapabilities0_Spreed_Config_PreviewsInterface { @BuiltValueField(wireName: 'max-gif-size') int get maxGifSize; } -abstract class PublicCapabilities_Spreed_Config_Previews +abstract class PublicCapabilities0_Spreed_Config_Previews implements - PublicCapabilities_Spreed_Config_PreviewsInterface, - Built { - factory PublicCapabilities_Spreed_Config_Previews([ - final void Function(PublicCapabilities_Spreed_Config_PreviewsBuilder)? b, - ]) = _$PublicCapabilities_Spreed_Config_Previews; + PublicCapabilities0_Spreed_Config_PreviewsInterface, + Built { + factory PublicCapabilities0_Spreed_Config_Previews([ + final void Function(PublicCapabilities0_Spreed_Config_PreviewsBuilder)? b, + ]) = _$PublicCapabilities0_Spreed_Config_Previews; // coverage:ignore-start - const PublicCapabilities_Spreed_Config_Previews._(); + const PublicCapabilities0_Spreed_Config_Previews._(); // coverage:ignore-end // coverage:ignore-start - factory PublicCapabilities_Spreed_Config_Previews.fromJson(final Map json) => + factory PublicCapabilities0_Spreed_Config_Previews.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -23387,32 +23393,32 @@ abstract class PublicCapabilities_Spreed_Config_Previews Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$publicCapabilitiesSpreedConfigPreviewsSerializer; + static Serializer get serializer => + _$publicCapabilities0SpreedConfigPreviewsSerializer; } @BuiltValue(instantiable: false) -abstract interface class PublicCapabilities_Spreed_Config_SignalingInterface { +abstract interface class PublicCapabilities0_Spreed_Config_SignalingInterface { @BuiltValueField(wireName: 'session-ping-limit') int get sessionPingLimit; @BuiltValueField(wireName: 'hello-v2-token-key') String? get helloV2TokenKey; } -abstract class PublicCapabilities_Spreed_Config_Signaling +abstract class PublicCapabilities0_Spreed_Config_Signaling implements - PublicCapabilities_Spreed_Config_SignalingInterface, - Built { - factory PublicCapabilities_Spreed_Config_Signaling([ - final void Function(PublicCapabilities_Spreed_Config_SignalingBuilder)? b, - ]) = _$PublicCapabilities_Spreed_Config_Signaling; + PublicCapabilities0_Spreed_Config_SignalingInterface, + Built { + factory PublicCapabilities0_Spreed_Config_Signaling([ + final void Function(PublicCapabilities0_Spreed_Config_SignalingBuilder)? b, + ]) = _$PublicCapabilities0_Spreed_Config_Signaling; // coverage:ignore-start - const PublicCapabilities_Spreed_Config_Signaling._(); + const PublicCapabilities0_Spreed_Config_Signaling._(); // coverage:ignore-end // coverage:ignore-start - factory PublicCapabilities_Spreed_Config_Signaling.fromJson(final Map json) => + factory PublicCapabilities0_Spreed_Config_Signaling.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -23420,33 +23426,33 @@ abstract class PublicCapabilities_Spreed_Config_Signaling Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$publicCapabilitiesSpreedConfigSignalingSerializer; + static Serializer get serializer => + _$publicCapabilities0SpreedConfigSignalingSerializer; } @BuiltValue(instantiable: false) -abstract interface class PublicCapabilities_Spreed_ConfigInterface { - PublicCapabilities_Spreed_Config_Attachments get attachments; - PublicCapabilities_Spreed_Config_Call get call; - PublicCapabilities_Spreed_Config_Chat get chat; - PublicCapabilities_Spreed_Config_Conversations get conversations; - PublicCapabilities_Spreed_Config_Previews get previews; - PublicCapabilities_Spreed_Config_Signaling get signaling; +abstract interface class PublicCapabilities0_Spreed_ConfigInterface { + PublicCapabilities0_Spreed_Config_Attachments get attachments; + PublicCapabilities0_Spreed_Config_Call get call; + PublicCapabilities0_Spreed_Config_Chat get chat; + PublicCapabilities0_Spreed_Config_Conversations get conversations; + PublicCapabilities0_Spreed_Config_Previews get previews; + PublicCapabilities0_Spreed_Config_Signaling get signaling; } -abstract class PublicCapabilities_Spreed_Config +abstract class PublicCapabilities0_Spreed_Config implements - PublicCapabilities_Spreed_ConfigInterface, - Built { - factory PublicCapabilities_Spreed_Config([final void Function(PublicCapabilities_Spreed_ConfigBuilder)? b]) = - _$PublicCapabilities_Spreed_Config; + PublicCapabilities0_Spreed_ConfigInterface, + Built { + factory PublicCapabilities0_Spreed_Config([final void Function(PublicCapabilities0_Spreed_ConfigBuilder)? b]) = + _$PublicCapabilities0_Spreed_Config; // coverage:ignore-start - const PublicCapabilities_Spreed_Config._(); + const PublicCapabilities0_Spreed_Config._(); // coverage:ignore-end // coverage:ignore-start - factory PublicCapabilities_Spreed_Config.fromJson(final Map json) => + factory PublicCapabilities0_Spreed_Config.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -23454,27 +23460,29 @@ abstract class PublicCapabilities_Spreed_Config Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$publicCapabilitiesSpreedConfigSerializer; + static Serializer get serializer => _$publicCapabilities0SpreedConfigSerializer; } @BuiltValue(instantiable: false) -abstract interface class PublicCapabilities_SpreedInterface { +abstract interface class PublicCapabilities0_SpreedInterface { BuiltList get features; - PublicCapabilities_Spreed_Config get config; + PublicCapabilities0_Spreed_Config get config; String get version; } -abstract class PublicCapabilities_Spreed - implements PublicCapabilities_SpreedInterface, Built { - factory PublicCapabilities_Spreed([final void Function(PublicCapabilities_SpreedBuilder)? b]) = - _$PublicCapabilities_Spreed; +abstract class PublicCapabilities0_Spreed + implements + PublicCapabilities0_SpreedInterface, + Built { + factory PublicCapabilities0_Spreed([final void Function(PublicCapabilities0_SpreedBuilder)? b]) = + _$PublicCapabilities0_Spreed; // coverage:ignore-start - const PublicCapabilities_Spreed._(); + const PublicCapabilities0_Spreed._(); // coverage:ignore-end // coverage:ignore-start - factory PublicCapabilities_Spreed.fromJson(final Map json) => + factory PublicCapabilities0_Spreed.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -23482,12 +23490,38 @@ abstract class PublicCapabilities_Spreed Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$publicCapabilitiesSpreedSerializer; + static Serializer get serializer => _$publicCapabilities0SpreedSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PublicCapabilities0Interface { + PublicCapabilities0_Spreed get spreed; +} + +abstract class PublicCapabilities0 + implements PublicCapabilities0Interface, Built { + factory PublicCapabilities0([final void Function(PublicCapabilities0Builder)? b]) = _$PublicCapabilities0; + + // coverage:ignore-start + const PublicCapabilities0._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PublicCapabilities0.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$publicCapabilities0Serializer; } @BuiltValue(instantiable: false) abstract interface class PublicCapabilitiesInterface { - PublicCapabilities_Spreed get spreed; + PublicCapabilities0? get publicCapabilities0; + BuiltList? get builtListJsonObject; } abstract class PublicCapabilities @@ -23507,7 +23541,60 @@ abstract class PublicCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$publicCapabilitiesSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$PublicCapabilitiesSerializer(); + + JsonObject get data; + @BuiltValueHook(finalizeBuilder: true) + static void _validate(final PublicCapabilitiesBuilder b) { + // When this is rebuild from another builder + if (b._data == null) { + return; + } + + final match = [b._publicCapabilities0, b._builtListJsonObject].singleWhereOrNull((final x) => x != null); + if (match == null) { + throw StateError("Need exactly one of 'publicCapabilities0', 'builtListJsonObject' for ${b._data}"); + } + } +} + +class _$PublicCapabilitiesSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [PublicCapabilities, _$PublicCapabilities]; + + @override + final String wireName = 'PublicCapabilities'; + + @override + Object serialize( + final Serializers serializers, + final PublicCapabilities object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + PublicCapabilities deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = PublicCapabilitiesBuilder()..data = JsonObject(data); + try { + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(PublicCapabilities0))! + as PublicCapabilities0; + result.publicCapabilities0.replace(value); + } catch (_) {} + try { + final value = _jsonSerializers.deserialize( + data, + specifiedType: const FullType(BuiltList, [FullType(JsonObject)]), + )! as BuiltList; + result.builtListJsonObject.replace(value); + } catch (_) {} + return result.build(); + } } // coverage:ignore-start @@ -23544,6 +23631,7 @@ final Serializers _serializers = (Serializers().toBuilder() MapBuilder.new, ) ..addBuilderFactory(const FullType(BuiltMap, [FullType(String), FullType(int)]), MapBuilder.new) + ..addBuilderFactory(const FullType(BuiltList, [FullType(JsonObject)]), ListBuilder.new) ..add(AvatarDeleteAvatarApiVersion.serializer) ..addBuilderFactory( const FullType(AvatarDeleteAvatarResponseApplicationJson), @@ -24937,40 +25025,42 @@ final Serializers _serializers = (Serializers().toBuilder() ..add(BotWithDetailsAndSecret.serializer) ..addBuilderFactory(const FullType(PublicCapabilities), PublicCapabilities.new) ..add(PublicCapabilities.serializer) - ..addBuilderFactory(const FullType(PublicCapabilities_Spreed), PublicCapabilities_Spreed.new) - ..add(PublicCapabilities_Spreed.serializer) - ..addBuilderFactory(const FullType(PublicCapabilities_Spreed_Config), PublicCapabilities_Spreed_Config.new) - ..add(PublicCapabilities_Spreed_Config.serializer) + ..addBuilderFactory(const FullType(PublicCapabilities0), PublicCapabilities0.new) + ..add(PublicCapabilities0.serializer) + ..addBuilderFactory(const FullType(PublicCapabilities0_Spreed), PublicCapabilities0_Spreed.new) + ..add(PublicCapabilities0_Spreed.serializer) + ..addBuilderFactory(const FullType(PublicCapabilities0_Spreed_Config), PublicCapabilities0_Spreed_Config.new) + ..add(PublicCapabilities0_Spreed_Config.serializer) ..addBuilderFactory( - const FullType(PublicCapabilities_Spreed_Config_Attachments), - PublicCapabilities_Spreed_Config_Attachments.new, + const FullType(PublicCapabilities0_Spreed_Config_Attachments), + PublicCapabilities0_Spreed_Config_Attachments.new, ) - ..add(PublicCapabilities_Spreed_Config_Attachments.serializer) + ..add(PublicCapabilities0_Spreed_Config_Attachments.serializer) ..addBuilderFactory( - const FullType(PublicCapabilities_Spreed_Config_Call), - PublicCapabilities_Spreed_Config_Call.new, + const FullType(PublicCapabilities0_Spreed_Config_Call), + PublicCapabilities0_Spreed_Config_Call.new, ) - ..add(PublicCapabilities_Spreed_Config_Call.serializer) + ..add(PublicCapabilities0_Spreed_Config_Call.serializer) ..addBuilderFactory( - const FullType(PublicCapabilities_Spreed_Config_Chat), - PublicCapabilities_Spreed_Config_Chat.new, + const FullType(PublicCapabilities0_Spreed_Config_Chat), + PublicCapabilities0_Spreed_Config_Chat.new, ) - ..add(PublicCapabilities_Spreed_Config_Chat.serializer) + ..add(PublicCapabilities0_Spreed_Config_Chat.serializer) ..addBuilderFactory( - const FullType(PublicCapabilities_Spreed_Config_Conversations), - PublicCapabilities_Spreed_Config_Conversations.new, + const FullType(PublicCapabilities0_Spreed_Config_Conversations), + PublicCapabilities0_Spreed_Config_Conversations.new, ) - ..add(PublicCapabilities_Spreed_Config_Conversations.serializer) + ..add(PublicCapabilities0_Spreed_Config_Conversations.serializer) ..addBuilderFactory( - const FullType(PublicCapabilities_Spreed_Config_Previews), - PublicCapabilities_Spreed_Config_Previews.new, + const FullType(PublicCapabilities0_Spreed_Config_Previews), + PublicCapabilities0_Spreed_Config_Previews.new, ) - ..add(PublicCapabilities_Spreed_Config_Previews.serializer) + ..add(PublicCapabilities0_Spreed_Config_Previews.serializer) ..addBuilderFactory( - const FullType(PublicCapabilities_Spreed_Config_Signaling), - PublicCapabilities_Spreed_Config_Signaling.new, + const FullType(PublicCapabilities0_Spreed_Config_Signaling), + PublicCapabilities0_Spreed_Config_Signaling.new, ) - ..add(PublicCapabilities_Spreed_Config_Signaling.serializer)) + ..add(PublicCapabilities0_Spreed_Config_Signaling.serializer)) .build(); final Serializers _jsonSerializers = (_serializers.toBuilder() diff --git a/packages/nextcloud/lib/src/api/spreed.openapi.g.dart b/packages/nextcloud/lib/src/api/spreed.openapi.g.dart index 471ece15b4c..418e0f0ff0c 100644 --- a/packages/nextcloud/lib/src/api/spreed.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/spreed.openapi.g.dart @@ -2614,22 +2614,22 @@ Serializer Serializer _$tempAvatarDeleteAvatarResponseApplicationJsonSerializer = _$TempAvatarDeleteAvatarResponseApplicationJsonSerializer(); Serializer _$botWithDetailsAndSecretSerializer = _$BotWithDetailsAndSecretSerializer(); -Serializer _$publicCapabilitiesSpreedConfigAttachmentsSerializer = - _$PublicCapabilities_Spreed_Config_AttachmentsSerializer(); -Serializer _$publicCapabilitiesSpreedConfigCallSerializer = - _$PublicCapabilities_Spreed_Config_CallSerializer(); -Serializer _$publicCapabilitiesSpreedConfigChatSerializer = - _$PublicCapabilities_Spreed_Config_ChatSerializer(); -Serializer _$publicCapabilitiesSpreedConfigConversationsSerializer = - _$PublicCapabilities_Spreed_Config_ConversationsSerializer(); -Serializer _$publicCapabilitiesSpreedConfigPreviewsSerializer = - _$PublicCapabilities_Spreed_Config_PreviewsSerializer(); -Serializer _$publicCapabilitiesSpreedConfigSignalingSerializer = - _$PublicCapabilities_Spreed_Config_SignalingSerializer(); -Serializer _$publicCapabilitiesSpreedConfigSerializer = - _$PublicCapabilities_Spreed_ConfigSerializer(); -Serializer _$publicCapabilitiesSpreedSerializer = _$PublicCapabilities_SpreedSerializer(); -Serializer _$publicCapabilitiesSerializer = _$PublicCapabilitiesSerializer(); +Serializer _$publicCapabilities0SpreedConfigAttachmentsSerializer = + _$PublicCapabilities0_Spreed_Config_AttachmentsSerializer(); +Serializer _$publicCapabilities0SpreedConfigCallSerializer = + _$PublicCapabilities0_Spreed_Config_CallSerializer(); +Serializer _$publicCapabilities0SpreedConfigChatSerializer = + _$PublicCapabilities0_Spreed_Config_ChatSerializer(); +Serializer _$publicCapabilities0SpreedConfigConversationsSerializer = + _$PublicCapabilities0_Spreed_Config_ConversationsSerializer(); +Serializer _$publicCapabilities0SpreedConfigPreviewsSerializer = + _$PublicCapabilities0_Spreed_Config_PreviewsSerializer(); +Serializer _$publicCapabilities0SpreedConfigSignalingSerializer = + _$PublicCapabilities0_Spreed_Config_SignalingSerializer(); +Serializer _$publicCapabilities0SpreedConfigSerializer = + _$PublicCapabilities0_Spreed_ConfigSerializer(); +Serializer _$publicCapabilities0SpreedSerializer = _$PublicCapabilities0_SpreedSerializer(); +Serializer _$publicCapabilities0Serializer = _$PublicCapabilities0Serializer(); class _$AvatarGetAvatarApiVersionSerializer implements PrimitiveSerializer { @override @@ -17327,18 +17327,18 @@ class _$BotWithDetailsAndSecretSerializer implements StructuredSerializer { +class _$PublicCapabilities0_Spreed_Config_AttachmentsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - PublicCapabilities_Spreed_Config_Attachments, - _$PublicCapabilities_Spreed_Config_Attachments + PublicCapabilities0_Spreed_Config_Attachments, + _$PublicCapabilities0_Spreed_Config_Attachments ]; @override - final String wireName = 'PublicCapabilities_Spreed_Config_Attachments'; + final String wireName = 'PublicCapabilities0_Spreed_Config_Attachments'; @override - Iterable serialize(Serializers serializers, PublicCapabilities_Spreed_Config_Attachments object, + Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config_Attachments object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'allowed', @@ -17355,9 +17355,9 @@ class _$PublicCapabilities_Spreed_Config_AttachmentsSerializer } @override - PublicCapabilities_Spreed_Config_Attachments deserialize(Serializers serializers, Iterable serialized, + PublicCapabilities0_Spreed_Config_Attachments deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PublicCapabilities_Spreed_Config_AttachmentsBuilder(); + final result = PublicCapabilities0_Spreed_Config_AttachmentsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17378,15 +17378,15 @@ class _$PublicCapabilities_Spreed_Config_AttachmentsSerializer } } -class _$PublicCapabilities_Spreed_Config_CallSerializer - implements StructuredSerializer { +class _$PublicCapabilities0_Spreed_Config_CallSerializer + implements StructuredSerializer { @override - final Iterable types = const [PublicCapabilities_Spreed_Config_Call, _$PublicCapabilities_Spreed_Config_Call]; + final Iterable types = const [PublicCapabilities0_Spreed_Config_Call, _$PublicCapabilities0_Spreed_Config_Call]; @override - final String wireName = 'PublicCapabilities_Spreed_Config_Call'; + final String wireName = 'PublicCapabilities0_Spreed_Config_Call'; @override - Iterable serialize(Serializers serializers, PublicCapabilities_Spreed_Config_Call object, + Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config_Call object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', @@ -17431,9 +17431,9 @@ class _$PublicCapabilities_Spreed_Config_CallSerializer } @override - PublicCapabilities_Spreed_Config_Call deserialize(Serializers serializers, Iterable serialized, + PublicCapabilities0_Spreed_Config_Call deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PublicCapabilities_Spreed_Config_CallBuilder(); + final result = PublicCapabilities0_Spreed_Config_CallBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17480,15 +17480,15 @@ class _$PublicCapabilities_Spreed_Config_CallSerializer } } -class _$PublicCapabilities_Spreed_Config_ChatSerializer - implements StructuredSerializer { +class _$PublicCapabilities0_Spreed_Config_ChatSerializer + implements StructuredSerializer { @override - final Iterable types = const [PublicCapabilities_Spreed_Config_Chat, _$PublicCapabilities_Spreed_Config_Chat]; + final Iterable types = const [PublicCapabilities0_Spreed_Config_Chat, _$PublicCapabilities0_Spreed_Config_Chat]; @override - final String wireName = 'PublicCapabilities_Spreed_Config_Chat'; + final String wireName = 'PublicCapabilities0_Spreed_Config_Chat'; @override - Iterable serialize(Serializers serializers, PublicCapabilities_Spreed_Config_Chat object, + Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config_Chat object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'max-length', @@ -17515,9 +17515,9 @@ class _$PublicCapabilities_Spreed_Config_ChatSerializer } @override - PublicCapabilities_Spreed_Config_Chat deserialize(Serializers serializers, Iterable serialized, + PublicCapabilities0_Spreed_Config_Chat deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PublicCapabilities_Spreed_Config_ChatBuilder(); + final result = PublicCapabilities0_Spreed_Config_ChatBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17548,18 +17548,18 @@ class _$PublicCapabilities_Spreed_Config_ChatSerializer } } -class _$PublicCapabilities_Spreed_Config_ConversationsSerializer - implements StructuredSerializer { +class _$PublicCapabilities0_Spreed_Config_ConversationsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - PublicCapabilities_Spreed_Config_Conversations, - _$PublicCapabilities_Spreed_Config_Conversations + PublicCapabilities0_Spreed_Config_Conversations, + _$PublicCapabilities0_Spreed_Config_Conversations ]; @override - final String wireName = 'PublicCapabilities_Spreed_Config_Conversations'; + final String wireName = 'PublicCapabilities0_Spreed_Config_Conversations'; @override - Iterable serialize(Serializers serializers, PublicCapabilities_Spreed_Config_Conversations object, + Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config_Conversations object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'can-create', @@ -17570,9 +17570,9 @@ class _$PublicCapabilities_Spreed_Config_ConversationsSerializer } @override - PublicCapabilities_Spreed_Config_Conversations deserialize(Serializers serializers, Iterable serialized, + PublicCapabilities0_Spreed_Config_Conversations deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PublicCapabilities_Spreed_Config_ConversationsBuilder(); + final result = PublicCapabilities0_Spreed_Config_ConversationsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17590,18 +17590,18 @@ class _$PublicCapabilities_Spreed_Config_ConversationsSerializer } } -class _$PublicCapabilities_Spreed_Config_PreviewsSerializer - implements StructuredSerializer { +class _$PublicCapabilities0_Spreed_Config_PreviewsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - PublicCapabilities_Spreed_Config_Previews, - _$PublicCapabilities_Spreed_Config_Previews + PublicCapabilities0_Spreed_Config_Previews, + _$PublicCapabilities0_Spreed_Config_Previews ]; @override - final String wireName = 'PublicCapabilities_Spreed_Config_Previews'; + final String wireName = 'PublicCapabilities0_Spreed_Config_Previews'; @override - Iterable serialize(Serializers serializers, PublicCapabilities_Spreed_Config_Previews object, + Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config_Previews object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'max-gif-size', @@ -17612,9 +17612,9 @@ class _$PublicCapabilities_Spreed_Config_PreviewsSerializer } @override - PublicCapabilities_Spreed_Config_Previews deserialize(Serializers serializers, Iterable serialized, + PublicCapabilities0_Spreed_Config_Previews deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PublicCapabilities_Spreed_Config_PreviewsBuilder(); + final result = PublicCapabilities0_Spreed_Config_PreviewsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17632,18 +17632,18 @@ class _$PublicCapabilities_Spreed_Config_PreviewsSerializer } } -class _$PublicCapabilities_Spreed_Config_SignalingSerializer - implements StructuredSerializer { +class _$PublicCapabilities0_Spreed_Config_SignalingSerializer + implements StructuredSerializer { @override final Iterable types = const [ - PublicCapabilities_Spreed_Config_Signaling, - _$PublicCapabilities_Spreed_Config_Signaling + PublicCapabilities0_Spreed_Config_Signaling, + _$PublicCapabilities0_Spreed_Config_Signaling ]; @override - final String wireName = 'PublicCapabilities_Spreed_Config_Signaling'; + final String wireName = 'PublicCapabilities0_Spreed_Config_Signaling'; @override - Iterable serialize(Serializers serializers, PublicCapabilities_Spreed_Config_Signaling object, + Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config_Signaling object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'session-ping-limit', @@ -17660,9 +17660,9 @@ class _$PublicCapabilities_Spreed_Config_SignalingSerializer } @override - PublicCapabilities_Spreed_Config_Signaling deserialize(Serializers serializers, Iterable serialized, + PublicCapabilities0_Spreed_Config_Signaling deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PublicCapabilities_Spreed_Config_SignalingBuilder(); + final result = PublicCapabilities0_Spreed_Config_SignalingBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17683,40 +17683,40 @@ class _$PublicCapabilities_Spreed_Config_SignalingSerializer } } -class _$PublicCapabilities_Spreed_ConfigSerializer implements StructuredSerializer { +class _$PublicCapabilities0_Spreed_ConfigSerializer implements StructuredSerializer { @override - final Iterable types = const [PublicCapabilities_Spreed_Config, _$PublicCapabilities_Spreed_Config]; + final Iterable types = const [PublicCapabilities0_Spreed_Config, _$PublicCapabilities0_Spreed_Config]; @override - final String wireName = 'PublicCapabilities_Spreed_Config'; + final String wireName = 'PublicCapabilities0_Spreed_Config'; @override - Iterable serialize(Serializers serializers, PublicCapabilities_Spreed_Config object, + Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'attachments', serializers.serialize(object.attachments, - specifiedType: const FullType(PublicCapabilities_Spreed_Config_Attachments)), + specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Attachments)), 'call', - serializers.serialize(object.call, specifiedType: const FullType(PublicCapabilities_Spreed_Config_Call)), + serializers.serialize(object.call, specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Call)), 'chat', - serializers.serialize(object.chat, specifiedType: const FullType(PublicCapabilities_Spreed_Config_Chat)), + serializers.serialize(object.chat, specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Chat)), 'conversations', serializers.serialize(object.conversations, - specifiedType: const FullType(PublicCapabilities_Spreed_Config_Conversations)), + specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Conversations)), 'previews', - serializers.serialize(object.previews, specifiedType: const FullType(PublicCapabilities_Spreed_Config_Previews)), + serializers.serialize(object.previews, specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Previews)), 'signaling', serializers.serialize(object.signaling, - specifiedType: const FullType(PublicCapabilities_Spreed_Config_Signaling)), + specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Signaling)), ]; return result; } @override - PublicCapabilities_Spreed_Config deserialize(Serializers serializers, Iterable serialized, + PublicCapabilities0_Spreed_Config deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PublicCapabilities_Spreed_ConfigBuilder(); + final result = PublicCapabilities0_Spreed_ConfigBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17726,33 +17726,33 @@ class _$PublicCapabilities_Spreed_ConfigSerializer implements StructuredSerializ switch (key) { case 'attachments': result.attachments.replace(serializers.deserialize(value, - specifiedType: const FullType(PublicCapabilities_Spreed_Config_Attachments))! - as PublicCapabilities_Spreed_Config_Attachments); + specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Attachments))! + as PublicCapabilities0_Spreed_Config_Attachments); break; case 'call': result.call.replace( - serializers.deserialize(value, specifiedType: const FullType(PublicCapabilities_Spreed_Config_Call))! - as PublicCapabilities_Spreed_Config_Call); + serializers.deserialize(value, specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Call))! + as PublicCapabilities0_Spreed_Config_Call); break; case 'chat': result.chat.replace( - serializers.deserialize(value, specifiedType: const FullType(PublicCapabilities_Spreed_Config_Chat))! - as PublicCapabilities_Spreed_Config_Chat); + serializers.deserialize(value, specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Chat))! + as PublicCapabilities0_Spreed_Config_Chat); break; case 'conversations': result.conversations.replace(serializers.deserialize(value, - specifiedType: const FullType(PublicCapabilities_Spreed_Config_Conversations))! - as PublicCapabilities_Spreed_Config_Conversations); + specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Conversations))! + as PublicCapabilities0_Spreed_Config_Conversations); break; case 'previews': result.previews.replace( - serializers.deserialize(value, specifiedType: const FullType(PublicCapabilities_Spreed_Config_Previews))! - as PublicCapabilities_Spreed_Config_Previews); + serializers.deserialize(value, specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Previews))! + as PublicCapabilities0_Spreed_Config_Previews); break; case 'signaling': - result.signaling.replace( - serializers.deserialize(value, specifiedType: const FullType(PublicCapabilities_Spreed_Config_Signaling))! - as PublicCapabilities_Spreed_Config_Signaling); + result.signaling.replace(serializers.deserialize(value, + specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Signaling))! + as PublicCapabilities0_Spreed_Config_Signaling); break; } } @@ -17761,20 +17761,20 @@ class _$PublicCapabilities_Spreed_ConfigSerializer implements StructuredSerializ } } -class _$PublicCapabilities_SpreedSerializer implements StructuredSerializer { +class _$PublicCapabilities0_SpreedSerializer implements StructuredSerializer { @override - final Iterable types = const [PublicCapabilities_Spreed, _$PublicCapabilities_Spreed]; + final Iterable types = const [PublicCapabilities0_Spreed, _$PublicCapabilities0_Spreed]; @override - final String wireName = 'PublicCapabilities_Spreed'; + final String wireName = 'PublicCapabilities0_Spreed'; @override - Iterable serialize(Serializers serializers, PublicCapabilities_Spreed object, + Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'features', serializers.serialize(object.features, specifiedType: const FullType(BuiltList, [FullType(String)])), 'config', - serializers.serialize(object.config, specifiedType: const FullType(PublicCapabilities_Spreed_Config)), + serializers.serialize(object.config, specifiedType: const FullType(PublicCapabilities0_Spreed_Config)), 'version', serializers.serialize(object.version, specifiedType: const FullType(String)), ]; @@ -17783,9 +17783,9 @@ class _$PublicCapabilities_SpreedSerializer implements StructuredSerializer serialized, + PublicCapabilities0_Spreed deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PublicCapabilities_SpreedBuilder(); + final result = PublicCapabilities0_SpreedBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17799,7 +17799,7 @@ class _$PublicCapabilities_SpreedSerializer implements StructuredSerializer { +class _$PublicCapabilities0Serializer implements StructuredSerializer { @override - final Iterable types = const [PublicCapabilities, _$PublicCapabilities]; + final Iterable types = const [PublicCapabilities0, _$PublicCapabilities0]; @override - final String wireName = 'PublicCapabilities'; + final String wireName = 'PublicCapabilities0'; @override - Iterable serialize(Serializers serializers, PublicCapabilities object, + Iterable serialize(Serializers serializers, PublicCapabilities0 object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'spreed', - serializers.serialize(object.spreed, specifiedType: const FullType(PublicCapabilities_Spreed)), + serializers.serialize(object.spreed, specifiedType: const FullType(PublicCapabilities0_Spreed)), ]; return result; } @override - PublicCapabilities deserialize(Serializers serializers, Iterable serialized, + PublicCapabilities0 deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PublicCapabilitiesBuilder(); + final result = PublicCapabilities0Builder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17841,7 +17841,7 @@ class _$PublicCapabilitiesSerializer implements StructuredSerializer get builtListJsonObject; + set builtListJsonObject(ListBuilder? builtListJsonObject); } class _$Room_LastMessage extends Room_LastMessage { @@ -18359,12 +18359,12 @@ class _$Room_LastMessage extends Room_LastMessage { @override final ChatMessage? chatMessage; @override - final JsonObject? jsonObject; + final BuiltList? builtListJsonObject; factory _$Room_LastMessage([void Function(Room_LastMessageBuilder)? updates]) => (Room_LastMessageBuilder()..update(updates))._build(); - _$Room_LastMessage._({required this.data, this.chatMessage, this.jsonObject}) : super._() { + _$Room_LastMessage._({required this.data, this.chatMessage, this.builtListJsonObject}) : super._() { BuiltValueNullFieldError.checkNotNull(data, r'Room_LastMessage', 'data'); } @@ -18380,7 +18380,7 @@ class _$Room_LastMessage extends Room_LastMessage { return other is Room_LastMessage && data == other.data && chatMessage == other.chatMessage && - jsonObject == other.jsonObject; + builtListJsonObject == other.builtListJsonObject; } @override @@ -18388,7 +18388,7 @@ class _$Room_LastMessage extends Room_LastMessage { var _$hash = 0; _$hash = $jc(_$hash, data.hashCode); _$hash = $jc(_$hash, chatMessage.hashCode); - _$hash = $jc(_$hash, jsonObject.hashCode); + _$hash = $jc(_$hash, builtListJsonObject.hashCode); _$hash = $jf(_$hash); return _$hash; } @@ -18398,7 +18398,7 @@ class _$Room_LastMessage extends Room_LastMessage { return (newBuiltValueToStringHelper(r'Room_LastMessage') ..add('data', data) ..add('chatMessage', chatMessage) - ..add('jsonObject', jsonObject)) + ..add('builtListJsonObject', builtListJsonObject)) .toString(); } } @@ -18415,9 +18415,10 @@ class Room_LastMessageBuilder ChatMessageBuilder get chatMessage => _$this._chatMessage ??= ChatMessageBuilder(); set chatMessage(covariant ChatMessageBuilder? chatMessage) => _$this._chatMessage = chatMessage; - JsonObject? _jsonObject; - JsonObject? get jsonObject => _$this._jsonObject; - set jsonObject(covariant JsonObject? jsonObject) => _$this._jsonObject = jsonObject; + ListBuilder? _builtListJsonObject; + ListBuilder get builtListJsonObject => _$this._builtListJsonObject ??= ListBuilder(); + set builtListJsonObject(covariant ListBuilder? builtListJsonObject) => + _$this._builtListJsonObject = builtListJsonObject; Room_LastMessageBuilder(); @@ -18426,7 +18427,7 @@ class Room_LastMessageBuilder if ($v != null) { _data = $v.data; _chatMessage = $v.chatMessage?.toBuilder(); - _jsonObject = $v.jsonObject; + _builtListJsonObject = $v.builtListJsonObject?.toBuilder(); _$v = null; } return this; @@ -18454,12 +18455,14 @@ class Room_LastMessageBuilder _$Room_LastMessage._( data: BuiltValueNullFieldError.checkNotNull(data, r'Room_LastMessage', 'data'), chatMessage: _chatMessage?.build(), - jsonObject: jsonObject); + builtListJsonObject: _builtListJsonObject?.build()); } catch (_) { late String _$failedField; try { _$failedField = 'chatMessage'; _chatMessage?.build(); + _$failedField = 'builtListJsonObject'; + _builtListJsonObject?.build(); } catch (e) { throw BuiltValueNestedFieldError(r'Room_LastMessage', _$failedField, e.toString()); } @@ -43092,8 +43095,8 @@ abstract mixin class RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataInt RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder? roomAddParticipantToRoomResponseApplicationJsonOcsData0); - JsonObject? get jsonObject; - set jsonObject(JsonObject? jsonObject); + ListBuilder get builtListJsonObject; + set builtListJsonObject(ListBuilder? builtListJsonObject); } class _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data @@ -43104,14 +43107,14 @@ class _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data final RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0? roomAddParticipantToRoomResponseApplicationJsonOcsData0; @override - final JsonObject? jsonObject; + final BuiltList? builtListJsonObject; factory _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data( [void Function(RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder)? updates]) => (RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data._( - {required this.data, this.roomAddParticipantToRoomResponseApplicationJsonOcsData0, this.jsonObject}) + {required this.data, this.roomAddParticipantToRoomResponseApplicationJsonOcsData0, this.builtListJsonObject}) : super._() { BuiltValueNullFieldError.checkNotNull(data, r'RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data', 'data'); } @@ -43132,7 +43135,7 @@ class _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data data == other.data && roomAddParticipantToRoomResponseApplicationJsonOcsData0 == other.roomAddParticipantToRoomResponseApplicationJsonOcsData0 && - jsonObject == other.jsonObject; + builtListJsonObject == other.builtListJsonObject; } @override @@ -43140,7 +43143,7 @@ class _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data var _$hash = 0; _$hash = $jc(_$hash, data.hashCode); _$hash = $jc(_$hash, roomAddParticipantToRoomResponseApplicationJsonOcsData0.hashCode); - _$hash = $jc(_$hash, jsonObject.hashCode); + _$hash = $jc(_$hash, builtListJsonObject.hashCode); _$hash = $jf(_$hash); return _$hash; } @@ -43151,7 +43154,7 @@ class _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data ..add('data', data) ..add('roomAddParticipantToRoomResponseApplicationJsonOcsData0', roomAddParticipantToRoomResponseApplicationJsonOcsData0) - ..add('jsonObject', jsonObject)) + ..add('builtListJsonObject', builtListJsonObject)) .toString(); } } @@ -43179,9 +43182,10 @@ class RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder _$this._roomAddParticipantToRoomResponseApplicationJsonOcsData0 = roomAddParticipantToRoomResponseApplicationJsonOcsData0; - JsonObject? _jsonObject; - JsonObject? get jsonObject => _$this._jsonObject; - set jsonObject(covariant JsonObject? jsonObject) => _$this._jsonObject = jsonObject; + ListBuilder? _builtListJsonObject; + ListBuilder get builtListJsonObject => _$this._builtListJsonObject ??= ListBuilder(); + set builtListJsonObject(covariant ListBuilder? builtListJsonObject) => + _$this._builtListJsonObject = builtListJsonObject; RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder(); @@ -43191,7 +43195,7 @@ class RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder _data = $v.data; _roomAddParticipantToRoomResponseApplicationJsonOcsData0 = $v.roomAddParticipantToRoomResponseApplicationJsonOcsData0?.toBuilder(); - _jsonObject = $v.jsonObject; + _builtListJsonObject = $v.builtListJsonObject?.toBuilder(); _$v = null; } return this; @@ -43221,12 +43225,14 @@ class RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder data, r'RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data', 'data'), roomAddParticipantToRoomResponseApplicationJsonOcsData0: _roomAddParticipantToRoomResponseApplicationJsonOcsData0?.build(), - jsonObject: jsonObject); + builtListJsonObject: _builtListJsonObject?.build()); } catch (_) { late String _$failedField; try { _$failedField = 'roomAddParticipantToRoomResponseApplicationJsonOcsData0'; _roomAddParticipantToRoomResponseApplicationJsonOcsData0?.build(); + _$failedField = 'builtListJsonObject'; + _builtListJsonObject?.build(); } catch (e) { throw BuiltValueNestedFieldError( r'RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); @@ -51277,9 +51283,9 @@ class BotWithDetailsAndSecretBuilder } } -abstract mixin class PublicCapabilities_Spreed_Config_AttachmentsInterfaceBuilder { - void replace(PublicCapabilities_Spreed_Config_AttachmentsInterface other); - void update(void Function(PublicCapabilities_Spreed_Config_AttachmentsInterfaceBuilder) updates); +abstract mixin class PublicCapabilities0_Spreed_Config_AttachmentsInterfaceBuilder { + void replace(PublicCapabilities0_Spreed_Config_AttachmentsInterface other); + void update(void Function(PublicCapabilities0_Spreed_Config_AttachmentsInterfaceBuilder) updates); bool? get allowed; set allowed(bool? allowed); @@ -51287,33 +51293,33 @@ abstract mixin class PublicCapabilities_Spreed_Config_AttachmentsInterfaceBuilde set folder(String? folder); } -class _$PublicCapabilities_Spreed_Config_Attachments extends PublicCapabilities_Spreed_Config_Attachments { +class _$PublicCapabilities0_Spreed_Config_Attachments extends PublicCapabilities0_Spreed_Config_Attachments { @override final bool allowed; @override final String? folder; - factory _$PublicCapabilities_Spreed_Config_Attachments( - [void Function(PublicCapabilities_Spreed_Config_AttachmentsBuilder)? updates]) => - (PublicCapabilities_Spreed_Config_AttachmentsBuilder()..update(updates))._build(); + factory _$PublicCapabilities0_Spreed_Config_Attachments( + [void Function(PublicCapabilities0_Spreed_Config_AttachmentsBuilder)? updates]) => + (PublicCapabilities0_Spreed_Config_AttachmentsBuilder()..update(updates))._build(); - _$PublicCapabilities_Spreed_Config_Attachments._({required this.allowed, this.folder}) : super._() { - BuiltValueNullFieldError.checkNotNull(allowed, r'PublicCapabilities_Spreed_Config_Attachments', 'allowed'); + _$PublicCapabilities0_Spreed_Config_Attachments._({required this.allowed, this.folder}) : super._() { + BuiltValueNullFieldError.checkNotNull(allowed, r'PublicCapabilities0_Spreed_Config_Attachments', 'allowed'); } @override - PublicCapabilities_Spreed_Config_Attachments rebuild( - void Function(PublicCapabilities_Spreed_Config_AttachmentsBuilder) updates) => + PublicCapabilities0_Spreed_Config_Attachments rebuild( + void Function(PublicCapabilities0_Spreed_Config_AttachmentsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - PublicCapabilities_Spreed_Config_AttachmentsBuilder toBuilder() => - PublicCapabilities_Spreed_Config_AttachmentsBuilder()..replace(this); + PublicCapabilities0_Spreed_Config_AttachmentsBuilder toBuilder() => + PublicCapabilities0_Spreed_Config_AttachmentsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is PublicCapabilities_Spreed_Config_Attachments && allowed == other.allowed && folder == other.folder; + return other is PublicCapabilities0_Spreed_Config_Attachments && allowed == other.allowed && folder == other.folder; } @override @@ -51327,18 +51333,18 @@ class _$PublicCapabilities_Spreed_Config_Attachments extends PublicCapabilities_ @override String toString() { - return (newBuiltValueToStringHelper(r'PublicCapabilities_Spreed_Config_Attachments') + return (newBuiltValueToStringHelper(r'PublicCapabilities0_Spreed_Config_Attachments') ..add('allowed', allowed) ..add('folder', folder)) .toString(); } } -class PublicCapabilities_Spreed_Config_AttachmentsBuilder +class PublicCapabilities0_Spreed_Config_AttachmentsBuilder implements - Builder, - PublicCapabilities_Spreed_Config_AttachmentsInterfaceBuilder { - _$PublicCapabilities_Spreed_Config_Attachments? _$v; + Builder, + PublicCapabilities0_Spreed_Config_AttachmentsInterfaceBuilder { + _$PublicCapabilities0_Spreed_Config_Attachments? _$v; bool? _allowed; bool? get allowed => _$this._allowed; @@ -51348,9 +51354,9 @@ class PublicCapabilities_Spreed_Config_AttachmentsBuilder String? get folder => _$this._folder; set folder(covariant String? folder) => _$this._folder = folder; - PublicCapabilities_Spreed_Config_AttachmentsBuilder(); + PublicCapabilities0_Spreed_Config_AttachmentsBuilder(); - PublicCapabilities_Spreed_Config_AttachmentsBuilder get _$this { + PublicCapabilities0_Spreed_Config_AttachmentsBuilder get _$this { final $v = _$v; if ($v != null) { _allowed = $v.allowed; @@ -51361,33 +51367,33 @@ class PublicCapabilities_Spreed_Config_AttachmentsBuilder } @override - void replace(covariant PublicCapabilities_Spreed_Config_Attachments other) { + void replace(covariant PublicCapabilities0_Spreed_Config_Attachments other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$PublicCapabilities_Spreed_Config_Attachments; + _$v = other as _$PublicCapabilities0_Spreed_Config_Attachments; } @override - void update(void Function(PublicCapabilities_Spreed_Config_AttachmentsBuilder)? updates) { + void update(void Function(PublicCapabilities0_Spreed_Config_AttachmentsBuilder)? updates) { if (updates != null) updates(this); } @override - PublicCapabilities_Spreed_Config_Attachments build() => _build(); + PublicCapabilities0_Spreed_Config_Attachments build() => _build(); - _$PublicCapabilities_Spreed_Config_Attachments _build() { + _$PublicCapabilities0_Spreed_Config_Attachments _build() { final _$result = _$v ?? - _$PublicCapabilities_Spreed_Config_Attachments._( + _$PublicCapabilities0_Spreed_Config_Attachments._( allowed: BuiltValueNullFieldError.checkNotNull( - allowed, r'PublicCapabilities_Spreed_Config_Attachments', 'allowed'), + allowed, r'PublicCapabilities0_Spreed_Config_Attachments', 'allowed'), folder: folder); replace(_$result); return _$result; } } -abstract mixin class PublicCapabilities_Spreed_Config_CallInterfaceBuilder { - void replace(PublicCapabilities_Spreed_Config_CallInterface other); - void update(void Function(PublicCapabilities_Spreed_Config_CallInterfaceBuilder) updates); +abstract mixin class PublicCapabilities0_Spreed_Config_CallInterfaceBuilder { + void replace(PublicCapabilities0_Spreed_Config_CallInterface other); + void update(void Function(PublicCapabilities0_Spreed_Config_CallInterfaceBuilder) updates); bool? get enabled; set enabled(bool? enabled); @@ -51419,7 +51425,7 @@ abstract mixin class PublicCapabilities_Spreed_Config_CallInterfaceBuilder { set canEnableSip(bool? canEnableSip); } -class _$PublicCapabilities_Spreed_Config_Call extends PublicCapabilities_Spreed_Config_Call { +class _$PublicCapabilities0_Spreed_Config_Call extends PublicCapabilities0_Spreed_Config_Call { @override final bool enabled; @override @@ -51441,11 +51447,11 @@ class _$PublicCapabilities_Spreed_Config_Call extends PublicCapabilities_Spreed_ @override final bool? canEnableSip; - factory _$PublicCapabilities_Spreed_Config_Call( - [void Function(PublicCapabilities_Spreed_Config_CallBuilder)? updates]) => - (PublicCapabilities_Spreed_Config_CallBuilder()..update(updates))._build(); + factory _$PublicCapabilities0_Spreed_Config_Call( + [void Function(PublicCapabilities0_Spreed_Config_CallBuilder)? updates]) => + (PublicCapabilities0_Spreed_Config_CallBuilder()..update(updates))._build(); - _$PublicCapabilities_Spreed_Config_Call._( + _$PublicCapabilities0_Spreed_Config_Call._( {required this.enabled, required this.breakoutRooms, required this.recording, @@ -51457,29 +51463,30 @@ class _$PublicCapabilities_Spreed_Config_Call extends PublicCapabilities_Spreed_ this.sipDialoutEnabled, this.canEnableSip}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'PublicCapabilities_Spreed_Config_Call', 'enabled'); - BuiltValueNullFieldError.checkNotNull(breakoutRooms, r'PublicCapabilities_Spreed_Config_Call', 'breakoutRooms'); - BuiltValueNullFieldError.checkNotNull(recording, r'PublicCapabilities_Spreed_Config_Call', 'recording'); + BuiltValueNullFieldError.checkNotNull(enabled, r'PublicCapabilities0_Spreed_Config_Call', 'enabled'); + BuiltValueNullFieldError.checkNotNull(breakoutRooms, r'PublicCapabilities0_Spreed_Config_Call', 'breakoutRooms'); + BuiltValueNullFieldError.checkNotNull(recording, r'PublicCapabilities0_Spreed_Config_Call', 'recording'); BuiltValueNullFieldError.checkNotNull( - supportedReactions, r'PublicCapabilities_Spreed_Config_Call', 'supportedReactions'); + supportedReactions, r'PublicCapabilities0_Spreed_Config_Call', 'supportedReactions'); BuiltValueNullFieldError.checkNotNull( - predefinedBackgrounds, r'PublicCapabilities_Spreed_Config_Call', 'predefinedBackgrounds'); + predefinedBackgrounds, r'PublicCapabilities0_Spreed_Config_Call', 'predefinedBackgrounds'); BuiltValueNullFieldError.checkNotNull( - canUploadBackground, r'PublicCapabilities_Spreed_Config_Call', 'canUploadBackground'); + canUploadBackground, r'PublicCapabilities0_Spreed_Config_Call', 'canUploadBackground'); } @override - PublicCapabilities_Spreed_Config_Call rebuild(void Function(PublicCapabilities_Spreed_Config_CallBuilder) updates) => + PublicCapabilities0_Spreed_Config_Call rebuild( + void Function(PublicCapabilities0_Spreed_Config_CallBuilder) updates) => (toBuilder()..update(updates)).build(); @override - PublicCapabilities_Spreed_Config_CallBuilder toBuilder() => - PublicCapabilities_Spreed_Config_CallBuilder()..replace(this); + PublicCapabilities0_Spreed_Config_CallBuilder toBuilder() => + PublicCapabilities0_Spreed_Config_CallBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is PublicCapabilities_Spreed_Config_Call && + return other is PublicCapabilities0_Spreed_Config_Call && enabled == other.enabled && breakoutRooms == other.breakoutRooms && recording == other.recording && @@ -51511,7 +51518,7 @@ class _$PublicCapabilities_Spreed_Config_Call extends PublicCapabilities_Spreed_ @override String toString() { - return (newBuiltValueToStringHelper(r'PublicCapabilities_Spreed_Config_Call') + return (newBuiltValueToStringHelper(r'PublicCapabilities0_Spreed_Config_Call') ..add('enabled', enabled) ..add('breakoutRooms', breakoutRooms) ..add('recording', recording) @@ -51526,11 +51533,11 @@ class _$PublicCapabilities_Spreed_Config_Call extends PublicCapabilities_Spreed_ } } -class PublicCapabilities_Spreed_Config_CallBuilder +class PublicCapabilities0_Spreed_Config_CallBuilder implements - Builder, - PublicCapabilities_Spreed_Config_CallInterfaceBuilder { - _$PublicCapabilities_Spreed_Config_Call? _$v; + Builder, + PublicCapabilities0_Spreed_Config_CallInterfaceBuilder { + _$PublicCapabilities0_Spreed_Config_Call? _$v; bool? _enabled; bool? get enabled => _$this._enabled; @@ -51574,9 +51581,9 @@ class PublicCapabilities_Spreed_Config_CallBuilder bool? get canEnableSip => _$this._canEnableSip; set canEnableSip(covariant bool? canEnableSip) => _$this._canEnableSip = canEnableSip; - PublicCapabilities_Spreed_Config_CallBuilder(); + PublicCapabilities0_Spreed_Config_CallBuilder(); - PublicCapabilities_Spreed_Config_CallBuilder get _$this { + PublicCapabilities0_Spreed_Config_CallBuilder get _$this { final $v = _$v; if ($v != null) { _enabled = $v.enabled; @@ -51595,35 +51602,35 @@ class PublicCapabilities_Spreed_Config_CallBuilder } @override - void replace(covariant PublicCapabilities_Spreed_Config_Call other) { + void replace(covariant PublicCapabilities0_Spreed_Config_Call other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$PublicCapabilities_Spreed_Config_Call; + _$v = other as _$PublicCapabilities0_Spreed_Config_Call; } @override - void update(void Function(PublicCapabilities_Spreed_Config_CallBuilder)? updates) { + void update(void Function(PublicCapabilities0_Spreed_Config_CallBuilder)? updates) { if (updates != null) updates(this); } @override - PublicCapabilities_Spreed_Config_Call build() => _build(); + PublicCapabilities0_Spreed_Config_Call build() => _build(); - _$PublicCapabilities_Spreed_Config_Call _build() { - _$PublicCapabilities_Spreed_Config_Call _$result; + _$PublicCapabilities0_Spreed_Config_Call _build() { + _$PublicCapabilities0_Spreed_Config_Call _$result; try { _$result = _$v ?? - _$PublicCapabilities_Spreed_Config_Call._( + _$PublicCapabilities0_Spreed_Config_Call._( enabled: - BuiltValueNullFieldError.checkNotNull(enabled, r'PublicCapabilities_Spreed_Config_Call', 'enabled'), + BuiltValueNullFieldError.checkNotNull(enabled, r'PublicCapabilities0_Spreed_Config_Call', 'enabled'), breakoutRooms: BuiltValueNullFieldError.checkNotNull( - breakoutRooms, r'PublicCapabilities_Spreed_Config_Call', 'breakoutRooms'), + breakoutRooms, r'PublicCapabilities0_Spreed_Config_Call', 'breakoutRooms'), recording: BuiltValueNullFieldError.checkNotNull( - recording, r'PublicCapabilities_Spreed_Config_Call', 'recording'), + recording, r'PublicCapabilities0_Spreed_Config_Call', 'recording'), recordingConsent: recordingConsent, supportedReactions: supportedReactions.build(), predefinedBackgrounds: predefinedBackgrounds.build(), canUploadBackground: BuiltValueNullFieldError.checkNotNull( - canUploadBackground, r'PublicCapabilities_Spreed_Config_Call', 'canUploadBackground'), + canUploadBackground, r'PublicCapabilities0_Spreed_Config_Call', 'canUploadBackground'), sipEnabled: sipEnabled, sipDialoutEnabled: sipDialoutEnabled, canEnableSip: canEnableSip); @@ -51635,7 +51642,7 @@ class PublicCapabilities_Spreed_Config_CallBuilder _$failedField = 'predefinedBackgrounds'; predefinedBackgrounds.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'PublicCapabilities_Spreed_Config_Call', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'PublicCapabilities0_Spreed_Config_Call', _$failedField, e.toString()); } rethrow; } @@ -51644,9 +51651,9 @@ class PublicCapabilities_Spreed_Config_CallBuilder } } -abstract mixin class PublicCapabilities_Spreed_Config_ChatInterfaceBuilder { - void replace(PublicCapabilities_Spreed_Config_ChatInterface other); - void update(void Function(PublicCapabilities_Spreed_Config_ChatInterfaceBuilder) updates); +abstract mixin class PublicCapabilities0_Spreed_Config_ChatInterfaceBuilder { + void replace(PublicCapabilities0_Spreed_Config_ChatInterface other); + void update(void Function(PublicCapabilities0_Spreed_Config_ChatInterfaceBuilder) updates); int? get maxLength; set maxLength(int? maxLength); @@ -51663,7 +51670,7 @@ abstract mixin class PublicCapabilities_Spreed_Config_ChatInterfaceBuilder { set translations(ListBuilder? translations); } -class _$PublicCapabilities_Spreed_Config_Chat extends PublicCapabilities_Spreed_Config_Chat { +class _$PublicCapabilities0_Spreed_Config_Chat extends PublicCapabilities0_Spreed_Config_Chat { @override final int maxLength; @override @@ -51675,34 +51682,35 @@ class _$PublicCapabilities_Spreed_Config_Chat extends PublicCapabilities_Spreed_ @override final BuiltList? translations; - factory _$PublicCapabilities_Spreed_Config_Chat( - [void Function(PublicCapabilities_Spreed_Config_ChatBuilder)? updates]) => - (PublicCapabilities_Spreed_Config_ChatBuilder()..update(updates))._build(); + factory _$PublicCapabilities0_Spreed_Config_Chat( + [void Function(PublicCapabilities0_Spreed_Config_ChatBuilder)? updates]) => + (PublicCapabilities0_Spreed_Config_ChatBuilder()..update(updates))._build(); - _$PublicCapabilities_Spreed_Config_Chat._( + _$PublicCapabilities0_Spreed_Config_Chat._( {required this.maxLength, required this.readPrivacy, this.hasTranslationProviders, required this.typingPrivacy, this.translations}) : super._() { - BuiltValueNullFieldError.checkNotNull(maxLength, r'PublicCapabilities_Spreed_Config_Chat', 'maxLength'); - BuiltValueNullFieldError.checkNotNull(readPrivacy, r'PublicCapabilities_Spreed_Config_Chat', 'readPrivacy'); - BuiltValueNullFieldError.checkNotNull(typingPrivacy, r'PublicCapabilities_Spreed_Config_Chat', 'typingPrivacy'); + BuiltValueNullFieldError.checkNotNull(maxLength, r'PublicCapabilities0_Spreed_Config_Chat', 'maxLength'); + BuiltValueNullFieldError.checkNotNull(readPrivacy, r'PublicCapabilities0_Spreed_Config_Chat', 'readPrivacy'); + BuiltValueNullFieldError.checkNotNull(typingPrivacy, r'PublicCapabilities0_Spreed_Config_Chat', 'typingPrivacy'); } @override - PublicCapabilities_Spreed_Config_Chat rebuild(void Function(PublicCapabilities_Spreed_Config_ChatBuilder) updates) => + PublicCapabilities0_Spreed_Config_Chat rebuild( + void Function(PublicCapabilities0_Spreed_Config_ChatBuilder) updates) => (toBuilder()..update(updates)).build(); @override - PublicCapabilities_Spreed_Config_ChatBuilder toBuilder() => - PublicCapabilities_Spreed_Config_ChatBuilder()..replace(this); + PublicCapabilities0_Spreed_Config_ChatBuilder toBuilder() => + PublicCapabilities0_Spreed_Config_ChatBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is PublicCapabilities_Spreed_Config_Chat && + return other is PublicCapabilities0_Spreed_Config_Chat && maxLength == other.maxLength && readPrivacy == other.readPrivacy && hasTranslationProviders == other.hasTranslationProviders && @@ -51724,7 +51732,7 @@ class _$PublicCapabilities_Spreed_Config_Chat extends PublicCapabilities_Spreed_ @override String toString() { - return (newBuiltValueToStringHelper(r'PublicCapabilities_Spreed_Config_Chat') + return (newBuiltValueToStringHelper(r'PublicCapabilities0_Spreed_Config_Chat') ..add('maxLength', maxLength) ..add('readPrivacy', readPrivacy) ..add('hasTranslationProviders', hasTranslationProviders) @@ -51734,11 +51742,11 @@ class _$PublicCapabilities_Spreed_Config_Chat extends PublicCapabilities_Spreed_ } } -class PublicCapabilities_Spreed_Config_ChatBuilder +class PublicCapabilities0_Spreed_Config_ChatBuilder implements - Builder, - PublicCapabilities_Spreed_Config_ChatInterfaceBuilder { - _$PublicCapabilities_Spreed_Config_Chat? _$v; + Builder, + PublicCapabilities0_Spreed_Config_ChatInterfaceBuilder { + _$PublicCapabilities0_Spreed_Config_Chat? _$v; int? _maxLength; int? get maxLength => _$this._maxLength; @@ -51761,9 +51769,9 @@ class PublicCapabilities_Spreed_Config_ChatBuilder ListBuilder get translations => _$this._translations ??= ListBuilder(); set translations(covariant ListBuilder? translations) => _$this._translations = translations; - PublicCapabilities_Spreed_Config_ChatBuilder(); + PublicCapabilities0_Spreed_Config_ChatBuilder(); - PublicCapabilities_Spreed_Config_ChatBuilder get _$this { + PublicCapabilities0_Spreed_Config_ChatBuilder get _$this { final $v = _$v; if ($v != null) { _maxLength = $v.maxLength; @@ -51777,31 +51785,31 @@ class PublicCapabilities_Spreed_Config_ChatBuilder } @override - void replace(covariant PublicCapabilities_Spreed_Config_Chat other) { + void replace(covariant PublicCapabilities0_Spreed_Config_Chat other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$PublicCapabilities_Spreed_Config_Chat; + _$v = other as _$PublicCapabilities0_Spreed_Config_Chat; } @override - void update(void Function(PublicCapabilities_Spreed_Config_ChatBuilder)? updates) { + void update(void Function(PublicCapabilities0_Spreed_Config_ChatBuilder)? updates) { if (updates != null) updates(this); } @override - PublicCapabilities_Spreed_Config_Chat build() => _build(); + PublicCapabilities0_Spreed_Config_Chat build() => _build(); - _$PublicCapabilities_Spreed_Config_Chat _build() { - _$PublicCapabilities_Spreed_Config_Chat _$result; + _$PublicCapabilities0_Spreed_Config_Chat _build() { + _$PublicCapabilities0_Spreed_Config_Chat _$result; try { _$result = _$v ?? - _$PublicCapabilities_Spreed_Config_Chat._( + _$PublicCapabilities0_Spreed_Config_Chat._( maxLength: BuiltValueNullFieldError.checkNotNull( - maxLength, r'PublicCapabilities_Spreed_Config_Chat', 'maxLength'), + maxLength, r'PublicCapabilities0_Spreed_Config_Chat', 'maxLength'), readPrivacy: BuiltValueNullFieldError.checkNotNull( - readPrivacy, r'PublicCapabilities_Spreed_Config_Chat', 'readPrivacy'), + readPrivacy, r'PublicCapabilities0_Spreed_Config_Chat', 'readPrivacy'), hasTranslationProviders: hasTranslationProviders, typingPrivacy: BuiltValueNullFieldError.checkNotNull( - typingPrivacy, r'PublicCapabilities_Spreed_Config_Chat', 'typingPrivacy'), + typingPrivacy, r'PublicCapabilities0_Spreed_Config_Chat', 'typingPrivacy'), translations: _translations?.build()); } catch (_) { late String _$failedField; @@ -51809,7 +51817,7 @@ class PublicCapabilities_Spreed_Config_ChatBuilder _$failedField = 'translations'; _translations?.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'PublicCapabilities_Spreed_Config_Chat', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'PublicCapabilities0_Spreed_Config_Chat', _$failedField, e.toString()); } rethrow; } @@ -51818,38 +51826,38 @@ class PublicCapabilities_Spreed_Config_ChatBuilder } } -abstract mixin class PublicCapabilities_Spreed_Config_ConversationsInterfaceBuilder { - void replace(PublicCapabilities_Spreed_Config_ConversationsInterface other); - void update(void Function(PublicCapabilities_Spreed_Config_ConversationsInterfaceBuilder) updates); +abstract mixin class PublicCapabilities0_Spreed_Config_ConversationsInterfaceBuilder { + void replace(PublicCapabilities0_Spreed_Config_ConversationsInterface other); + void update(void Function(PublicCapabilities0_Spreed_Config_ConversationsInterfaceBuilder) updates); bool? get canCreate; set canCreate(bool? canCreate); } -class _$PublicCapabilities_Spreed_Config_Conversations extends PublicCapabilities_Spreed_Config_Conversations { +class _$PublicCapabilities0_Spreed_Config_Conversations extends PublicCapabilities0_Spreed_Config_Conversations { @override final bool canCreate; - factory _$PublicCapabilities_Spreed_Config_Conversations( - [void Function(PublicCapabilities_Spreed_Config_ConversationsBuilder)? updates]) => - (PublicCapabilities_Spreed_Config_ConversationsBuilder()..update(updates))._build(); + factory _$PublicCapabilities0_Spreed_Config_Conversations( + [void Function(PublicCapabilities0_Spreed_Config_ConversationsBuilder)? updates]) => + (PublicCapabilities0_Spreed_Config_ConversationsBuilder()..update(updates))._build(); - _$PublicCapabilities_Spreed_Config_Conversations._({required this.canCreate}) : super._() { - BuiltValueNullFieldError.checkNotNull(canCreate, r'PublicCapabilities_Spreed_Config_Conversations', 'canCreate'); + _$PublicCapabilities0_Spreed_Config_Conversations._({required this.canCreate}) : super._() { + BuiltValueNullFieldError.checkNotNull(canCreate, r'PublicCapabilities0_Spreed_Config_Conversations', 'canCreate'); } @override - PublicCapabilities_Spreed_Config_Conversations rebuild( - void Function(PublicCapabilities_Spreed_Config_ConversationsBuilder) updates) => + PublicCapabilities0_Spreed_Config_Conversations rebuild( + void Function(PublicCapabilities0_Spreed_Config_ConversationsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - PublicCapabilities_Spreed_Config_ConversationsBuilder toBuilder() => - PublicCapabilities_Spreed_Config_ConversationsBuilder()..replace(this); + PublicCapabilities0_Spreed_Config_ConversationsBuilder toBuilder() => + PublicCapabilities0_Spreed_Config_ConversationsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is PublicCapabilities_Spreed_Config_Conversations && canCreate == other.canCreate; + return other is PublicCapabilities0_Spreed_Config_Conversations && canCreate == other.canCreate; } @override @@ -51862,24 +51870,26 @@ class _$PublicCapabilities_Spreed_Config_Conversations extends PublicCapabilitie @override String toString() { - return (newBuiltValueToStringHelper(r'PublicCapabilities_Spreed_Config_Conversations')..add('canCreate', canCreate)) + return (newBuiltValueToStringHelper(r'PublicCapabilities0_Spreed_Config_Conversations') + ..add('canCreate', canCreate)) .toString(); } } -class PublicCapabilities_Spreed_Config_ConversationsBuilder +class PublicCapabilities0_Spreed_Config_ConversationsBuilder implements - Builder, - PublicCapabilities_Spreed_Config_ConversationsInterfaceBuilder { - _$PublicCapabilities_Spreed_Config_Conversations? _$v; + Builder, + PublicCapabilities0_Spreed_Config_ConversationsInterfaceBuilder { + _$PublicCapabilities0_Spreed_Config_Conversations? _$v; bool? _canCreate; bool? get canCreate => _$this._canCreate; set canCreate(covariant bool? canCreate) => _$this._canCreate = canCreate; - PublicCapabilities_Spreed_Config_ConversationsBuilder(); + PublicCapabilities0_Spreed_Config_ConversationsBuilder(); - PublicCapabilities_Spreed_Config_ConversationsBuilder get _$this { + PublicCapabilities0_Spreed_Config_ConversationsBuilder get _$this { final $v = _$v; if ($v != null) { _canCreate = $v.canCreate; @@ -51889,61 +51899,61 @@ class PublicCapabilities_Spreed_Config_ConversationsBuilder } @override - void replace(covariant PublicCapabilities_Spreed_Config_Conversations other) { + void replace(covariant PublicCapabilities0_Spreed_Config_Conversations other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$PublicCapabilities_Spreed_Config_Conversations; + _$v = other as _$PublicCapabilities0_Spreed_Config_Conversations; } @override - void update(void Function(PublicCapabilities_Spreed_Config_ConversationsBuilder)? updates) { + void update(void Function(PublicCapabilities0_Spreed_Config_ConversationsBuilder)? updates) { if (updates != null) updates(this); } @override - PublicCapabilities_Spreed_Config_Conversations build() => _build(); + PublicCapabilities0_Spreed_Config_Conversations build() => _build(); - _$PublicCapabilities_Spreed_Config_Conversations _build() { + _$PublicCapabilities0_Spreed_Config_Conversations _build() { final _$result = _$v ?? - _$PublicCapabilities_Spreed_Config_Conversations._( + _$PublicCapabilities0_Spreed_Config_Conversations._( canCreate: BuiltValueNullFieldError.checkNotNull( - canCreate, r'PublicCapabilities_Spreed_Config_Conversations', 'canCreate')); + canCreate, r'PublicCapabilities0_Spreed_Config_Conversations', 'canCreate')); replace(_$result); return _$result; } } -abstract mixin class PublicCapabilities_Spreed_Config_PreviewsInterfaceBuilder { - void replace(PublicCapabilities_Spreed_Config_PreviewsInterface other); - void update(void Function(PublicCapabilities_Spreed_Config_PreviewsInterfaceBuilder) updates); +abstract mixin class PublicCapabilities0_Spreed_Config_PreviewsInterfaceBuilder { + void replace(PublicCapabilities0_Spreed_Config_PreviewsInterface other); + void update(void Function(PublicCapabilities0_Spreed_Config_PreviewsInterfaceBuilder) updates); int? get maxGifSize; set maxGifSize(int? maxGifSize); } -class _$PublicCapabilities_Spreed_Config_Previews extends PublicCapabilities_Spreed_Config_Previews { +class _$PublicCapabilities0_Spreed_Config_Previews extends PublicCapabilities0_Spreed_Config_Previews { @override final int maxGifSize; - factory _$PublicCapabilities_Spreed_Config_Previews( - [void Function(PublicCapabilities_Spreed_Config_PreviewsBuilder)? updates]) => - (PublicCapabilities_Spreed_Config_PreviewsBuilder()..update(updates))._build(); + factory _$PublicCapabilities0_Spreed_Config_Previews( + [void Function(PublicCapabilities0_Spreed_Config_PreviewsBuilder)? updates]) => + (PublicCapabilities0_Spreed_Config_PreviewsBuilder()..update(updates))._build(); - _$PublicCapabilities_Spreed_Config_Previews._({required this.maxGifSize}) : super._() { - BuiltValueNullFieldError.checkNotNull(maxGifSize, r'PublicCapabilities_Spreed_Config_Previews', 'maxGifSize'); + _$PublicCapabilities0_Spreed_Config_Previews._({required this.maxGifSize}) : super._() { + BuiltValueNullFieldError.checkNotNull(maxGifSize, r'PublicCapabilities0_Spreed_Config_Previews', 'maxGifSize'); } @override - PublicCapabilities_Spreed_Config_Previews rebuild( - void Function(PublicCapabilities_Spreed_Config_PreviewsBuilder) updates) => + PublicCapabilities0_Spreed_Config_Previews rebuild( + void Function(PublicCapabilities0_Spreed_Config_PreviewsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - PublicCapabilities_Spreed_Config_PreviewsBuilder toBuilder() => - PublicCapabilities_Spreed_Config_PreviewsBuilder()..replace(this); + PublicCapabilities0_Spreed_Config_PreviewsBuilder toBuilder() => + PublicCapabilities0_Spreed_Config_PreviewsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is PublicCapabilities_Spreed_Config_Previews && maxGifSize == other.maxGifSize; + return other is PublicCapabilities0_Spreed_Config_Previews && maxGifSize == other.maxGifSize; } @override @@ -51956,24 +51966,24 @@ class _$PublicCapabilities_Spreed_Config_Previews extends PublicCapabilities_Spr @override String toString() { - return (newBuiltValueToStringHelper(r'PublicCapabilities_Spreed_Config_Previews')..add('maxGifSize', maxGifSize)) + return (newBuiltValueToStringHelper(r'PublicCapabilities0_Spreed_Config_Previews')..add('maxGifSize', maxGifSize)) .toString(); } } -class PublicCapabilities_Spreed_Config_PreviewsBuilder +class PublicCapabilities0_Spreed_Config_PreviewsBuilder implements - Builder, - PublicCapabilities_Spreed_Config_PreviewsInterfaceBuilder { - _$PublicCapabilities_Spreed_Config_Previews? _$v; + Builder, + PublicCapabilities0_Spreed_Config_PreviewsInterfaceBuilder { + _$PublicCapabilities0_Spreed_Config_Previews? _$v; int? _maxGifSize; int? get maxGifSize => _$this._maxGifSize; set maxGifSize(covariant int? maxGifSize) => _$this._maxGifSize = maxGifSize; - PublicCapabilities_Spreed_Config_PreviewsBuilder(); + PublicCapabilities0_Spreed_Config_PreviewsBuilder(); - PublicCapabilities_Spreed_Config_PreviewsBuilder get _$this { + PublicCapabilities0_Spreed_Config_PreviewsBuilder get _$this { final $v = _$v; if ($v != null) { _maxGifSize = $v.maxGifSize; @@ -51983,32 +51993,32 @@ class PublicCapabilities_Spreed_Config_PreviewsBuilder } @override - void replace(covariant PublicCapabilities_Spreed_Config_Previews other) { + void replace(covariant PublicCapabilities0_Spreed_Config_Previews other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$PublicCapabilities_Spreed_Config_Previews; + _$v = other as _$PublicCapabilities0_Spreed_Config_Previews; } @override - void update(void Function(PublicCapabilities_Spreed_Config_PreviewsBuilder)? updates) { + void update(void Function(PublicCapabilities0_Spreed_Config_PreviewsBuilder)? updates) { if (updates != null) updates(this); } @override - PublicCapabilities_Spreed_Config_Previews build() => _build(); + PublicCapabilities0_Spreed_Config_Previews build() => _build(); - _$PublicCapabilities_Spreed_Config_Previews _build() { + _$PublicCapabilities0_Spreed_Config_Previews _build() { final _$result = _$v ?? - _$PublicCapabilities_Spreed_Config_Previews._( + _$PublicCapabilities0_Spreed_Config_Previews._( maxGifSize: BuiltValueNullFieldError.checkNotNull( - maxGifSize, r'PublicCapabilities_Spreed_Config_Previews', 'maxGifSize')); + maxGifSize, r'PublicCapabilities0_Spreed_Config_Previews', 'maxGifSize')); replace(_$result); return _$result; } } -abstract mixin class PublicCapabilities_Spreed_Config_SignalingInterfaceBuilder { - void replace(PublicCapabilities_Spreed_Config_SignalingInterface other); - void update(void Function(PublicCapabilities_Spreed_Config_SignalingInterfaceBuilder) updates); +abstract mixin class PublicCapabilities0_Spreed_Config_SignalingInterfaceBuilder { + void replace(PublicCapabilities0_Spreed_Config_SignalingInterface other); + void update(void Function(PublicCapabilities0_Spreed_Config_SignalingInterfaceBuilder) updates); int? get sessionPingLimit; set sessionPingLimit(int? sessionPingLimit); @@ -52016,34 +52026,34 @@ abstract mixin class PublicCapabilities_Spreed_Config_SignalingInterfaceBuilder set helloV2TokenKey(String? helloV2TokenKey); } -class _$PublicCapabilities_Spreed_Config_Signaling extends PublicCapabilities_Spreed_Config_Signaling { +class _$PublicCapabilities0_Spreed_Config_Signaling extends PublicCapabilities0_Spreed_Config_Signaling { @override final int sessionPingLimit; @override final String? helloV2TokenKey; - factory _$PublicCapabilities_Spreed_Config_Signaling( - [void Function(PublicCapabilities_Spreed_Config_SignalingBuilder)? updates]) => - (PublicCapabilities_Spreed_Config_SignalingBuilder()..update(updates))._build(); + factory _$PublicCapabilities0_Spreed_Config_Signaling( + [void Function(PublicCapabilities0_Spreed_Config_SignalingBuilder)? updates]) => + (PublicCapabilities0_Spreed_Config_SignalingBuilder()..update(updates))._build(); - _$PublicCapabilities_Spreed_Config_Signaling._({required this.sessionPingLimit, this.helloV2TokenKey}) : super._() { + _$PublicCapabilities0_Spreed_Config_Signaling._({required this.sessionPingLimit, this.helloV2TokenKey}) : super._() { BuiltValueNullFieldError.checkNotNull( - sessionPingLimit, r'PublicCapabilities_Spreed_Config_Signaling', 'sessionPingLimit'); + sessionPingLimit, r'PublicCapabilities0_Spreed_Config_Signaling', 'sessionPingLimit'); } @override - PublicCapabilities_Spreed_Config_Signaling rebuild( - void Function(PublicCapabilities_Spreed_Config_SignalingBuilder) updates) => + PublicCapabilities0_Spreed_Config_Signaling rebuild( + void Function(PublicCapabilities0_Spreed_Config_SignalingBuilder) updates) => (toBuilder()..update(updates)).build(); @override - PublicCapabilities_Spreed_Config_SignalingBuilder toBuilder() => - PublicCapabilities_Spreed_Config_SignalingBuilder()..replace(this); + PublicCapabilities0_Spreed_Config_SignalingBuilder toBuilder() => + PublicCapabilities0_Spreed_Config_SignalingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is PublicCapabilities_Spreed_Config_Signaling && + return other is PublicCapabilities0_Spreed_Config_Signaling && sessionPingLimit == other.sessionPingLimit && helloV2TokenKey == other.helloV2TokenKey; } @@ -52059,18 +52069,18 @@ class _$PublicCapabilities_Spreed_Config_Signaling extends PublicCapabilities_Sp @override String toString() { - return (newBuiltValueToStringHelper(r'PublicCapabilities_Spreed_Config_Signaling') + return (newBuiltValueToStringHelper(r'PublicCapabilities0_Spreed_Config_Signaling') ..add('sessionPingLimit', sessionPingLimit) ..add('helloV2TokenKey', helloV2TokenKey)) .toString(); } } -class PublicCapabilities_Spreed_Config_SignalingBuilder +class PublicCapabilities0_Spreed_Config_SignalingBuilder implements - Builder, - PublicCapabilities_Spreed_Config_SignalingInterfaceBuilder { - _$PublicCapabilities_Spreed_Config_Signaling? _$v; + Builder, + PublicCapabilities0_Spreed_Config_SignalingInterfaceBuilder { + _$PublicCapabilities0_Spreed_Config_Signaling? _$v; int? _sessionPingLimit; int? get sessionPingLimit => _$this._sessionPingLimit; @@ -52080,9 +52090,9 @@ class PublicCapabilities_Spreed_Config_SignalingBuilder String? get helloV2TokenKey => _$this._helloV2TokenKey; set helloV2TokenKey(covariant String? helloV2TokenKey) => _$this._helloV2TokenKey = helloV2TokenKey; - PublicCapabilities_Spreed_Config_SignalingBuilder(); + PublicCapabilities0_Spreed_Config_SignalingBuilder(); - PublicCapabilities_Spreed_Config_SignalingBuilder get _$this { + PublicCapabilities0_Spreed_Config_SignalingBuilder get _$this { final $v = _$v; if ($v != null) { _sessionPingLimit = $v.sessionPingLimit; @@ -52093,70 +52103,70 @@ class PublicCapabilities_Spreed_Config_SignalingBuilder } @override - void replace(covariant PublicCapabilities_Spreed_Config_Signaling other) { + void replace(covariant PublicCapabilities0_Spreed_Config_Signaling other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$PublicCapabilities_Spreed_Config_Signaling; + _$v = other as _$PublicCapabilities0_Spreed_Config_Signaling; } @override - void update(void Function(PublicCapabilities_Spreed_Config_SignalingBuilder)? updates) { + void update(void Function(PublicCapabilities0_Spreed_Config_SignalingBuilder)? updates) { if (updates != null) updates(this); } @override - PublicCapabilities_Spreed_Config_Signaling build() => _build(); + PublicCapabilities0_Spreed_Config_Signaling build() => _build(); - _$PublicCapabilities_Spreed_Config_Signaling _build() { + _$PublicCapabilities0_Spreed_Config_Signaling _build() { final _$result = _$v ?? - _$PublicCapabilities_Spreed_Config_Signaling._( + _$PublicCapabilities0_Spreed_Config_Signaling._( sessionPingLimit: BuiltValueNullFieldError.checkNotNull( - sessionPingLimit, r'PublicCapabilities_Spreed_Config_Signaling', 'sessionPingLimit'), + sessionPingLimit, r'PublicCapabilities0_Spreed_Config_Signaling', 'sessionPingLimit'), helloV2TokenKey: helloV2TokenKey); replace(_$result); return _$result; } } -abstract mixin class PublicCapabilities_Spreed_ConfigInterfaceBuilder { - void replace(PublicCapabilities_Spreed_ConfigInterface other); - void update(void Function(PublicCapabilities_Spreed_ConfigInterfaceBuilder) updates); - PublicCapabilities_Spreed_Config_AttachmentsBuilder get attachments; - set attachments(PublicCapabilities_Spreed_Config_AttachmentsBuilder? attachments); +abstract mixin class PublicCapabilities0_Spreed_ConfigInterfaceBuilder { + void replace(PublicCapabilities0_Spreed_ConfigInterface other); + void update(void Function(PublicCapabilities0_Spreed_ConfigInterfaceBuilder) updates); + PublicCapabilities0_Spreed_Config_AttachmentsBuilder get attachments; + set attachments(PublicCapabilities0_Spreed_Config_AttachmentsBuilder? attachments); - PublicCapabilities_Spreed_Config_CallBuilder get call; - set call(PublicCapabilities_Spreed_Config_CallBuilder? call); + PublicCapabilities0_Spreed_Config_CallBuilder get call; + set call(PublicCapabilities0_Spreed_Config_CallBuilder? call); - PublicCapabilities_Spreed_Config_ChatBuilder get chat; - set chat(PublicCapabilities_Spreed_Config_ChatBuilder? chat); + PublicCapabilities0_Spreed_Config_ChatBuilder get chat; + set chat(PublicCapabilities0_Spreed_Config_ChatBuilder? chat); - PublicCapabilities_Spreed_Config_ConversationsBuilder get conversations; - set conversations(PublicCapabilities_Spreed_Config_ConversationsBuilder? conversations); + PublicCapabilities0_Spreed_Config_ConversationsBuilder get conversations; + set conversations(PublicCapabilities0_Spreed_Config_ConversationsBuilder? conversations); - PublicCapabilities_Spreed_Config_PreviewsBuilder get previews; - set previews(PublicCapabilities_Spreed_Config_PreviewsBuilder? previews); + PublicCapabilities0_Spreed_Config_PreviewsBuilder get previews; + set previews(PublicCapabilities0_Spreed_Config_PreviewsBuilder? previews); - PublicCapabilities_Spreed_Config_SignalingBuilder get signaling; - set signaling(PublicCapabilities_Spreed_Config_SignalingBuilder? signaling); + PublicCapabilities0_Spreed_Config_SignalingBuilder get signaling; + set signaling(PublicCapabilities0_Spreed_Config_SignalingBuilder? signaling); } -class _$PublicCapabilities_Spreed_Config extends PublicCapabilities_Spreed_Config { +class _$PublicCapabilities0_Spreed_Config extends PublicCapabilities0_Spreed_Config { @override - final PublicCapabilities_Spreed_Config_Attachments attachments; + final PublicCapabilities0_Spreed_Config_Attachments attachments; @override - final PublicCapabilities_Spreed_Config_Call call; + final PublicCapabilities0_Spreed_Config_Call call; @override - final PublicCapabilities_Spreed_Config_Chat chat; + final PublicCapabilities0_Spreed_Config_Chat chat; @override - final PublicCapabilities_Spreed_Config_Conversations conversations; + final PublicCapabilities0_Spreed_Config_Conversations conversations; @override - final PublicCapabilities_Spreed_Config_Previews previews; + final PublicCapabilities0_Spreed_Config_Previews previews; @override - final PublicCapabilities_Spreed_Config_Signaling signaling; + final PublicCapabilities0_Spreed_Config_Signaling signaling; - factory _$PublicCapabilities_Spreed_Config([void Function(PublicCapabilities_Spreed_ConfigBuilder)? updates]) => - (PublicCapabilities_Spreed_ConfigBuilder()..update(updates))._build(); + factory _$PublicCapabilities0_Spreed_Config([void Function(PublicCapabilities0_Spreed_ConfigBuilder)? updates]) => + (PublicCapabilities0_Spreed_ConfigBuilder()..update(updates))._build(); - _$PublicCapabilities_Spreed_Config._( + _$PublicCapabilities0_Spreed_Config._( {required this.attachments, required this.call, required this.chat, @@ -52164,25 +52174,25 @@ class _$PublicCapabilities_Spreed_Config extends PublicCapabilities_Spreed_Confi required this.previews, required this.signaling}) : super._() { - BuiltValueNullFieldError.checkNotNull(attachments, r'PublicCapabilities_Spreed_Config', 'attachments'); - BuiltValueNullFieldError.checkNotNull(call, r'PublicCapabilities_Spreed_Config', 'call'); - BuiltValueNullFieldError.checkNotNull(chat, r'PublicCapabilities_Spreed_Config', 'chat'); - BuiltValueNullFieldError.checkNotNull(conversations, r'PublicCapabilities_Spreed_Config', 'conversations'); - BuiltValueNullFieldError.checkNotNull(previews, r'PublicCapabilities_Spreed_Config', 'previews'); - BuiltValueNullFieldError.checkNotNull(signaling, r'PublicCapabilities_Spreed_Config', 'signaling'); + BuiltValueNullFieldError.checkNotNull(attachments, r'PublicCapabilities0_Spreed_Config', 'attachments'); + BuiltValueNullFieldError.checkNotNull(call, r'PublicCapabilities0_Spreed_Config', 'call'); + BuiltValueNullFieldError.checkNotNull(chat, r'PublicCapabilities0_Spreed_Config', 'chat'); + BuiltValueNullFieldError.checkNotNull(conversations, r'PublicCapabilities0_Spreed_Config', 'conversations'); + BuiltValueNullFieldError.checkNotNull(previews, r'PublicCapabilities0_Spreed_Config', 'previews'); + BuiltValueNullFieldError.checkNotNull(signaling, r'PublicCapabilities0_Spreed_Config', 'signaling'); } @override - PublicCapabilities_Spreed_Config rebuild(void Function(PublicCapabilities_Spreed_ConfigBuilder) updates) => + PublicCapabilities0_Spreed_Config rebuild(void Function(PublicCapabilities0_Spreed_ConfigBuilder) updates) => (toBuilder()..update(updates)).build(); @override - PublicCapabilities_Spreed_ConfigBuilder toBuilder() => PublicCapabilities_Spreed_ConfigBuilder()..replace(this); + PublicCapabilities0_Spreed_ConfigBuilder toBuilder() => PublicCapabilities0_Spreed_ConfigBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is PublicCapabilities_Spreed_Config && + return other is PublicCapabilities0_Spreed_Config && attachments == other.attachments && call == other.call && chat == other.chat && @@ -52206,7 +52216,7 @@ class _$PublicCapabilities_Spreed_Config extends PublicCapabilities_Spreed_Confi @override String toString() { - return (newBuiltValueToStringHelper(r'PublicCapabilities_Spreed_Config') + return (newBuiltValueToStringHelper(r'PublicCapabilities0_Spreed_Config') ..add('attachments', attachments) ..add('call', call) ..add('chat', chat) @@ -52217,48 +52227,48 @@ class _$PublicCapabilities_Spreed_Config extends PublicCapabilities_Spreed_Confi } } -class PublicCapabilities_Spreed_ConfigBuilder +class PublicCapabilities0_Spreed_ConfigBuilder implements - Builder, - PublicCapabilities_Spreed_ConfigInterfaceBuilder { - _$PublicCapabilities_Spreed_Config? _$v; + Builder, + PublicCapabilities0_Spreed_ConfigInterfaceBuilder { + _$PublicCapabilities0_Spreed_Config? _$v; - PublicCapabilities_Spreed_Config_AttachmentsBuilder? _attachments; - PublicCapabilities_Spreed_Config_AttachmentsBuilder get attachments => - _$this._attachments ??= PublicCapabilities_Spreed_Config_AttachmentsBuilder(); - set attachments(covariant PublicCapabilities_Spreed_Config_AttachmentsBuilder? attachments) => + PublicCapabilities0_Spreed_Config_AttachmentsBuilder? _attachments; + PublicCapabilities0_Spreed_Config_AttachmentsBuilder get attachments => + _$this._attachments ??= PublicCapabilities0_Spreed_Config_AttachmentsBuilder(); + set attachments(covariant PublicCapabilities0_Spreed_Config_AttachmentsBuilder? attachments) => _$this._attachments = attachments; - PublicCapabilities_Spreed_Config_CallBuilder? _call; - PublicCapabilities_Spreed_Config_CallBuilder get call => - _$this._call ??= PublicCapabilities_Spreed_Config_CallBuilder(); - set call(covariant PublicCapabilities_Spreed_Config_CallBuilder? call) => _$this._call = call; + PublicCapabilities0_Spreed_Config_CallBuilder? _call; + PublicCapabilities0_Spreed_Config_CallBuilder get call => + _$this._call ??= PublicCapabilities0_Spreed_Config_CallBuilder(); + set call(covariant PublicCapabilities0_Spreed_Config_CallBuilder? call) => _$this._call = call; - PublicCapabilities_Spreed_Config_ChatBuilder? _chat; - PublicCapabilities_Spreed_Config_ChatBuilder get chat => - _$this._chat ??= PublicCapabilities_Spreed_Config_ChatBuilder(); - set chat(covariant PublicCapabilities_Spreed_Config_ChatBuilder? chat) => _$this._chat = chat; + PublicCapabilities0_Spreed_Config_ChatBuilder? _chat; + PublicCapabilities0_Spreed_Config_ChatBuilder get chat => + _$this._chat ??= PublicCapabilities0_Spreed_Config_ChatBuilder(); + set chat(covariant PublicCapabilities0_Spreed_Config_ChatBuilder? chat) => _$this._chat = chat; - PublicCapabilities_Spreed_Config_ConversationsBuilder? _conversations; - PublicCapabilities_Spreed_Config_ConversationsBuilder get conversations => - _$this._conversations ??= PublicCapabilities_Spreed_Config_ConversationsBuilder(); - set conversations(covariant PublicCapabilities_Spreed_Config_ConversationsBuilder? conversations) => + PublicCapabilities0_Spreed_Config_ConversationsBuilder? _conversations; + PublicCapabilities0_Spreed_Config_ConversationsBuilder get conversations => + _$this._conversations ??= PublicCapabilities0_Spreed_Config_ConversationsBuilder(); + set conversations(covariant PublicCapabilities0_Spreed_Config_ConversationsBuilder? conversations) => _$this._conversations = conversations; - PublicCapabilities_Spreed_Config_PreviewsBuilder? _previews; - PublicCapabilities_Spreed_Config_PreviewsBuilder get previews => - _$this._previews ??= PublicCapabilities_Spreed_Config_PreviewsBuilder(); - set previews(covariant PublicCapabilities_Spreed_Config_PreviewsBuilder? previews) => _$this._previews = previews; + PublicCapabilities0_Spreed_Config_PreviewsBuilder? _previews; + PublicCapabilities0_Spreed_Config_PreviewsBuilder get previews => + _$this._previews ??= PublicCapabilities0_Spreed_Config_PreviewsBuilder(); + set previews(covariant PublicCapabilities0_Spreed_Config_PreviewsBuilder? previews) => _$this._previews = previews; - PublicCapabilities_Spreed_Config_SignalingBuilder? _signaling; - PublicCapabilities_Spreed_Config_SignalingBuilder get signaling => - _$this._signaling ??= PublicCapabilities_Spreed_Config_SignalingBuilder(); - set signaling(covariant PublicCapabilities_Spreed_Config_SignalingBuilder? signaling) => + PublicCapabilities0_Spreed_Config_SignalingBuilder? _signaling; + PublicCapabilities0_Spreed_Config_SignalingBuilder get signaling => + _$this._signaling ??= PublicCapabilities0_Spreed_Config_SignalingBuilder(); + set signaling(covariant PublicCapabilities0_Spreed_Config_SignalingBuilder? signaling) => _$this._signaling = signaling; - PublicCapabilities_Spreed_ConfigBuilder(); + PublicCapabilities0_Spreed_ConfigBuilder(); - PublicCapabilities_Spreed_ConfigBuilder get _$this { + PublicCapabilities0_Spreed_ConfigBuilder get _$this { final $v = _$v; if ($v != null) { _attachments = $v.attachments.toBuilder(); @@ -52273,24 +52283,24 @@ class PublicCapabilities_Spreed_ConfigBuilder } @override - void replace(covariant PublicCapabilities_Spreed_Config other) { + void replace(covariant PublicCapabilities0_Spreed_Config other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$PublicCapabilities_Spreed_Config; + _$v = other as _$PublicCapabilities0_Spreed_Config; } @override - void update(void Function(PublicCapabilities_Spreed_ConfigBuilder)? updates) { + void update(void Function(PublicCapabilities0_Spreed_ConfigBuilder)? updates) { if (updates != null) updates(this); } @override - PublicCapabilities_Spreed_Config build() => _build(); + PublicCapabilities0_Spreed_Config build() => _build(); - _$PublicCapabilities_Spreed_Config _build() { - _$PublicCapabilities_Spreed_Config _$result; + _$PublicCapabilities0_Spreed_Config _build() { + _$PublicCapabilities0_Spreed_Config _$result; try { _$result = _$v ?? - _$PublicCapabilities_Spreed_Config._( + _$PublicCapabilities0_Spreed_Config._( attachments: attachments.build(), call: call.build(), chat: chat.build(), @@ -52313,7 +52323,7 @@ class PublicCapabilities_Spreed_ConfigBuilder _$failedField = 'signaling'; signaling.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'PublicCapabilities_Spreed_Config', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'PublicCapabilities0_Spreed_Config', _$failedField, e.toString()); } rethrow; } @@ -52322,47 +52332,47 @@ class PublicCapabilities_Spreed_ConfigBuilder } } -abstract mixin class PublicCapabilities_SpreedInterfaceBuilder { - void replace(PublicCapabilities_SpreedInterface other); - void update(void Function(PublicCapabilities_SpreedInterfaceBuilder) updates); +abstract mixin class PublicCapabilities0_SpreedInterfaceBuilder { + void replace(PublicCapabilities0_SpreedInterface other); + void update(void Function(PublicCapabilities0_SpreedInterfaceBuilder) updates); ListBuilder get features; set features(ListBuilder? features); - PublicCapabilities_Spreed_ConfigBuilder get config; - set config(PublicCapabilities_Spreed_ConfigBuilder? config); + PublicCapabilities0_Spreed_ConfigBuilder get config; + set config(PublicCapabilities0_Spreed_ConfigBuilder? config); String? get version; set version(String? version); } -class _$PublicCapabilities_Spreed extends PublicCapabilities_Spreed { +class _$PublicCapabilities0_Spreed extends PublicCapabilities0_Spreed { @override final BuiltList features; @override - final PublicCapabilities_Spreed_Config config; + final PublicCapabilities0_Spreed_Config config; @override final String version; - factory _$PublicCapabilities_Spreed([void Function(PublicCapabilities_SpreedBuilder)? updates]) => - (PublicCapabilities_SpreedBuilder()..update(updates))._build(); + factory _$PublicCapabilities0_Spreed([void Function(PublicCapabilities0_SpreedBuilder)? updates]) => + (PublicCapabilities0_SpreedBuilder()..update(updates))._build(); - _$PublicCapabilities_Spreed._({required this.features, required this.config, required this.version}) : super._() { - BuiltValueNullFieldError.checkNotNull(features, r'PublicCapabilities_Spreed', 'features'); - BuiltValueNullFieldError.checkNotNull(config, r'PublicCapabilities_Spreed', 'config'); - BuiltValueNullFieldError.checkNotNull(version, r'PublicCapabilities_Spreed', 'version'); + _$PublicCapabilities0_Spreed._({required this.features, required this.config, required this.version}) : super._() { + BuiltValueNullFieldError.checkNotNull(features, r'PublicCapabilities0_Spreed', 'features'); + BuiltValueNullFieldError.checkNotNull(config, r'PublicCapabilities0_Spreed', 'config'); + BuiltValueNullFieldError.checkNotNull(version, r'PublicCapabilities0_Spreed', 'version'); } @override - PublicCapabilities_Spreed rebuild(void Function(PublicCapabilities_SpreedBuilder) updates) => + PublicCapabilities0_Spreed rebuild(void Function(PublicCapabilities0_SpreedBuilder) updates) => (toBuilder()..update(updates)).build(); @override - PublicCapabilities_SpreedBuilder toBuilder() => PublicCapabilities_SpreedBuilder()..replace(this); + PublicCapabilities0_SpreedBuilder toBuilder() => PublicCapabilities0_SpreedBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is PublicCapabilities_Spreed && + return other is PublicCapabilities0_Spreed && features == other.features && config == other.config && version == other.version; @@ -52380,7 +52390,7 @@ class _$PublicCapabilities_Spreed extends PublicCapabilities_Spreed { @override String toString() { - return (newBuiltValueToStringHelper(r'PublicCapabilities_Spreed') + return (newBuiltValueToStringHelper(r'PublicCapabilities0_Spreed') ..add('features', features) ..add('config', config) ..add('version', version)) @@ -52388,27 +52398,27 @@ class _$PublicCapabilities_Spreed extends PublicCapabilities_Spreed { } } -class PublicCapabilities_SpreedBuilder +class PublicCapabilities0_SpreedBuilder implements - Builder, - PublicCapabilities_SpreedInterfaceBuilder { - _$PublicCapabilities_Spreed? _$v; + Builder, + PublicCapabilities0_SpreedInterfaceBuilder { + _$PublicCapabilities0_Spreed? _$v; ListBuilder? _features; ListBuilder get features => _$this._features ??= ListBuilder(); set features(covariant ListBuilder? features) => _$this._features = features; - PublicCapabilities_Spreed_ConfigBuilder? _config; - PublicCapabilities_Spreed_ConfigBuilder get config => _$this._config ??= PublicCapabilities_Spreed_ConfigBuilder(); - set config(covariant PublicCapabilities_Spreed_ConfigBuilder? config) => _$this._config = config; + PublicCapabilities0_Spreed_ConfigBuilder? _config; + PublicCapabilities0_Spreed_ConfigBuilder get config => _$this._config ??= PublicCapabilities0_Spreed_ConfigBuilder(); + set config(covariant PublicCapabilities0_Spreed_ConfigBuilder? config) => _$this._config = config; String? _version; String? get version => _$this._version; set version(covariant String? version) => _$this._version = version; - PublicCapabilities_SpreedBuilder(); + PublicCapabilities0_SpreedBuilder(); - PublicCapabilities_SpreedBuilder get _$this { + PublicCapabilities0_SpreedBuilder get _$this { final $v = _$v; if ($v != null) { _features = $v.features.toBuilder(); @@ -52420,27 +52430,27 @@ class PublicCapabilities_SpreedBuilder } @override - void replace(covariant PublicCapabilities_Spreed other) { + void replace(covariant PublicCapabilities0_Spreed other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$PublicCapabilities_Spreed; + _$v = other as _$PublicCapabilities0_Spreed; } @override - void update(void Function(PublicCapabilities_SpreedBuilder)? updates) { + void update(void Function(PublicCapabilities0_SpreedBuilder)? updates) { if (updates != null) updates(this); } @override - PublicCapabilities_Spreed build() => _build(); + PublicCapabilities0_Spreed build() => _build(); - _$PublicCapabilities_Spreed _build() { - _$PublicCapabilities_Spreed _$result; + _$PublicCapabilities0_Spreed _build() { + _$PublicCapabilities0_Spreed _$result; try { _$result = _$v ?? - _$PublicCapabilities_Spreed._( + _$PublicCapabilities0_Spreed._( features: features.build(), config: config.build(), - version: BuiltValueNullFieldError.checkNotNull(version, r'PublicCapabilities_Spreed', 'version')); + version: BuiltValueNullFieldError.checkNotNull(version, r'PublicCapabilities0_Spreed', 'version')); } catch (_) { late String _$failedField; try { @@ -52449,7 +52459,104 @@ class PublicCapabilities_SpreedBuilder _$failedField = 'config'; config.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'PublicCapabilities_Spreed', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'PublicCapabilities0_Spreed', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class PublicCapabilities0InterfaceBuilder { + void replace(PublicCapabilities0Interface other); + void update(void Function(PublicCapabilities0InterfaceBuilder) updates); + PublicCapabilities0_SpreedBuilder get spreed; + set spreed(PublicCapabilities0_SpreedBuilder? spreed); +} + +class _$PublicCapabilities0 extends PublicCapabilities0 { + @override + final PublicCapabilities0_Spreed spreed; + + factory _$PublicCapabilities0([void Function(PublicCapabilities0Builder)? updates]) => + (PublicCapabilities0Builder()..update(updates))._build(); + + _$PublicCapabilities0._({required this.spreed}) : super._() { + BuiltValueNullFieldError.checkNotNull(spreed, r'PublicCapabilities0', 'spreed'); + } + + @override + PublicCapabilities0 rebuild(void Function(PublicCapabilities0Builder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PublicCapabilities0Builder toBuilder() => PublicCapabilities0Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PublicCapabilities0 && spreed == other.spreed; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, spreed.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PublicCapabilities0')..add('spreed', spreed)).toString(); + } +} + +class PublicCapabilities0Builder + implements Builder, PublicCapabilities0InterfaceBuilder { + _$PublicCapabilities0? _$v; + + PublicCapabilities0_SpreedBuilder? _spreed; + PublicCapabilities0_SpreedBuilder get spreed => _$this._spreed ??= PublicCapabilities0_SpreedBuilder(); + set spreed(covariant PublicCapabilities0_SpreedBuilder? spreed) => _$this._spreed = spreed; + + PublicCapabilities0Builder(); + + PublicCapabilities0Builder get _$this { + final $v = _$v; + if ($v != null) { + _spreed = $v.spreed.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant PublicCapabilities0 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PublicCapabilities0; + } + + @override + void update(void Function(PublicCapabilities0Builder)? updates) { + if (updates != null) updates(this); + } + + @override + PublicCapabilities0 build() => _build(); + + _$PublicCapabilities0 _build() { + _$PublicCapabilities0 _$result; + try { + _$result = _$v ?? _$PublicCapabilities0._(spreed: spreed.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'spreed'; + spreed.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'PublicCapabilities0', _$failedField, e.toString()); } rethrow; } @@ -52461,19 +52568,26 @@ class PublicCapabilities_SpreedBuilder abstract mixin class PublicCapabilitiesInterfaceBuilder { void replace(PublicCapabilitiesInterface other); void update(void Function(PublicCapabilitiesInterfaceBuilder) updates); - PublicCapabilities_SpreedBuilder get spreed; - set spreed(PublicCapabilities_SpreedBuilder? spreed); + PublicCapabilities0Builder get publicCapabilities0; + set publicCapabilities0(PublicCapabilities0Builder? publicCapabilities0); + + ListBuilder get builtListJsonObject; + set builtListJsonObject(ListBuilder? builtListJsonObject); } class _$PublicCapabilities extends PublicCapabilities { @override - final PublicCapabilities_Spreed spreed; + final JsonObject data; + @override + final PublicCapabilities0? publicCapabilities0; + @override + final BuiltList? builtListJsonObject; factory _$PublicCapabilities([void Function(PublicCapabilitiesBuilder)? updates]) => (PublicCapabilitiesBuilder()..update(updates))._build(); - _$PublicCapabilities._({required this.spreed}) : super._() { - BuiltValueNullFieldError.checkNotNull(spreed, r'PublicCapabilities', 'spreed'); + _$PublicCapabilities._({required this.data, this.publicCapabilities0, this.builtListJsonObject}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'PublicCapabilities', 'data'); } @override @@ -52486,20 +52600,29 @@ class _$PublicCapabilities extends PublicCapabilities { @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is PublicCapabilities && spreed == other.spreed; + return other is PublicCapabilities && + data == other.data && + publicCapabilities0 == other.publicCapabilities0 && + builtListJsonObject == other.builtListJsonObject; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, spreed.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, publicCapabilities0.hashCode); + _$hash = $jc(_$hash, builtListJsonObject.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'PublicCapabilities')..add('spreed', spreed)).toString(); + return (newBuiltValueToStringHelper(r'PublicCapabilities') + ..add('data', data) + ..add('publicCapabilities0', publicCapabilities0) + ..add('builtListJsonObject', builtListJsonObject)) + .toString(); } } @@ -52507,16 +52630,28 @@ class PublicCapabilitiesBuilder implements Builder, PublicCapabilitiesInterfaceBuilder { _$PublicCapabilities? _$v; - PublicCapabilities_SpreedBuilder? _spreed; - PublicCapabilities_SpreedBuilder get spreed => _$this._spreed ??= PublicCapabilities_SpreedBuilder(); - set spreed(covariant PublicCapabilities_SpreedBuilder? spreed) => _$this._spreed = spreed; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + PublicCapabilities0Builder? _publicCapabilities0; + PublicCapabilities0Builder get publicCapabilities0 => _$this._publicCapabilities0 ??= PublicCapabilities0Builder(); + set publicCapabilities0(covariant PublicCapabilities0Builder? publicCapabilities0) => + _$this._publicCapabilities0 = publicCapabilities0; + + ListBuilder? _builtListJsonObject; + ListBuilder get builtListJsonObject => _$this._builtListJsonObject ??= ListBuilder(); + set builtListJsonObject(covariant ListBuilder? builtListJsonObject) => + _$this._builtListJsonObject = builtListJsonObject; PublicCapabilitiesBuilder(); PublicCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _spreed = $v.spreed.toBuilder(); + _data = $v.data; + _publicCapabilities0 = $v.publicCapabilities0?.toBuilder(); + _builtListJsonObject = $v.builtListJsonObject?.toBuilder(); _$v = null; } return this; @@ -52537,14 +52672,21 @@ class PublicCapabilitiesBuilder PublicCapabilities build() => _build(); _$PublicCapabilities _build() { + PublicCapabilities._validate(this); _$PublicCapabilities _$result; try { - _$result = _$v ?? _$PublicCapabilities._(spreed: spreed.build()); + _$result = _$v ?? + _$PublicCapabilities._( + data: BuiltValueNullFieldError.checkNotNull(data, r'PublicCapabilities', 'data'), + publicCapabilities0: _publicCapabilities0?.build(), + builtListJsonObject: _builtListJsonObject?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'spreed'; - spreed.build(); + _$failedField = 'publicCapabilities0'; + _publicCapabilities0?.build(); + _$failedField = 'builtListJsonObject'; + _builtListJsonObject?.build(); } catch (e) { throw BuiltValueNestedFieldError(r'PublicCapabilities', _$failedField, e.toString()); } diff --git a/packages/nextcloud/lib/src/api/spreed.openapi.json b/packages/nextcloud/lib/src/api/spreed.openapi.json index 2cd5fff4505..c6227f44112 100644 --- a/packages/nextcloud/lib/src/api/spreed.openapi.json +++ b/packages/nextcloud/lib/src/api/spreed.openapi.json @@ -603,177 +603,185 @@ } }, "PublicCapabilities": { - "type": "object", - "required": [ - "spreed" - ], - "properties": { - "spreed": { + "oneOf": [ + { "type": "object", "required": [ - "features", - "config", - "version" + "spreed" ], "properties": { - "features": { - "type": "array", - "items": { - "type": "string" - } - }, - "config": { + "spreed": { "type": "object", "required": [ - "attachments", - "call", - "chat", - "conversations", - "previews", - "signaling" + "features", + "config", + "version" ], "properties": { - "attachments": { - "type": "object", - "required": [ - "allowed" - ], - "properties": { - "allowed": { - "type": "boolean" - }, - "folder": { - "type": "string" - } + "features": { + "type": "array", + "items": { + "type": "string" } }, - "call": { + "config": { "type": "object", "required": [ - "enabled", - "breakout-rooms", - "recording", - "supported-reactions", - "predefined-backgrounds", - "can-upload-background" + "attachments", + "call", + "chat", + "conversations", + "previews", + "signaling" ], "properties": { - "enabled": { - "type": "boolean" - }, - "breakout-rooms": { - "type": "boolean" - }, - "recording": { - "type": "boolean" - }, - "recording-consent": { - "type": "integer", - "format": "int64" - }, - "supported-reactions": { - "type": "array", - "items": { - "type": "string" + "attachments": { + "type": "object", + "required": [ + "allowed" + ], + "properties": { + "allowed": { + "type": "boolean" + }, + "folder": { + "type": "string" + } } }, - "predefined-backgrounds": { - "type": "array", - "items": { - "type": "string" + "call": { + "type": "object", + "required": [ + "enabled", + "breakout-rooms", + "recording", + "supported-reactions", + "predefined-backgrounds", + "can-upload-background" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "breakout-rooms": { + "type": "boolean" + }, + "recording": { + "type": "boolean" + }, + "recording-consent": { + "type": "integer", + "format": "int64" + }, + "supported-reactions": { + "type": "array", + "items": { + "type": "string" + } + }, + "predefined-backgrounds": { + "type": "array", + "items": { + "type": "string" + } + }, + "can-upload-background": { + "type": "boolean" + }, + "sip-enabled": { + "type": "boolean" + }, + "sip-dialout-enabled": { + "type": "boolean" + }, + "can-enable-sip": { + "type": "boolean" + } } }, - "can-upload-background": { - "type": "boolean" - }, - "sip-enabled": { - "type": "boolean" - }, - "sip-dialout-enabled": { - "type": "boolean" - }, - "can-enable-sip": { - "type": "boolean" - } - } - }, - "chat": { - "type": "object", - "required": [ - "max-length", - "read-privacy", - "typing-privacy" - ], - "properties": { - "max-length": { - "type": "integer", - "format": "int64" - }, - "read-privacy": { - "type": "integer", - "format": "int64" + "chat": { + "type": "object", + "required": [ + "max-length", + "read-privacy", + "typing-privacy" + ], + "properties": { + "max-length": { + "type": "integer", + "format": "int64" + }, + "read-privacy": { + "type": "integer", + "format": "int64" + }, + "has-translation-providers": { + "type": "boolean" + }, + "typing-privacy": { + "type": "integer", + "format": "int64" + }, + "translations": { + "type": "array", + "items": { + "type": "string" + } + } + } }, - "has-translation-providers": { - "type": "boolean" + "conversations": { + "type": "object", + "required": [ + "can-create" + ], + "properties": { + "can-create": { + "type": "boolean" + } + } }, - "typing-privacy": { - "type": "integer", - "format": "int64" + "previews": { + "type": "object", + "required": [ + "max-gif-size" + ], + "properties": { + "max-gif-size": { + "type": "integer", + "format": "int64" + } + } }, - "translations": { - "type": "array", - "items": { - "type": "string" + "signaling": { + "type": "object", + "required": [ + "session-ping-limit" + ], + "properties": { + "session-ping-limit": { + "type": "integer", + "format": "int64" + }, + "hello-v2-token-key": { + "type": "string" + } } } } }, - "conversations": { - "type": "object", - "required": [ - "can-create" - ], - "properties": { - "can-create": { - "type": "boolean" - } - } - }, - "previews": { - "type": "object", - "required": [ - "max-gif-size" - ], - "properties": { - "max-gif-size": { - "type": "integer", - "format": "int64" - } - } - }, - "signaling": { - "type": "object", - "required": [ - "session-ping-limit" - ], - "properties": { - "session-ping-limit": { - "type": "integer", - "format": "int64" - }, - "hello-v2-token-key": { - "type": "string" - } - } + "version": { + "type": "string" } } - }, - "version": { - "type": "string" } } + }, + { + "type": "array", + "maxLength": 0 } - } + ] }, "Reaction": { "type": "object", @@ -949,7 +957,10 @@ { "$ref": "#/components/schemas/ChatMessage" }, - {} + { + "type": "array", + "maxLength": 0 + } ] }, "lastPing": { @@ -12858,7 +12869,10 @@ } } }, - {} + { + "type": "array", + "maxLength": 0 + } ] } } @@ -16436,10 +16450,17 @@ "type": "string" }, "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SignalingSession" - } + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/SignalingSession" + } + }, + { + "type": "string" + } + ] } } } @@ -16484,10 +16505,17 @@ "type": "string" }, "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SignalingSession" - } + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/SignalingSession" + } + }, + { + "type": "string" + } + ] } } } diff --git a/packages/nextcloud/lib/src/helpers/spreed.dart b/packages/nextcloud/lib/src/helpers/spreed.dart index 48faf4341a8..6d248983e66 100644 --- a/packages/nextcloud/lib/src/helpers/spreed.dart +++ b/packages/nextcloud/lib/src/helpers/spreed.dart @@ -11,7 +11,7 @@ extension SpreedVersionSupported on spreed.Client { /// /// Also returns the supported version number. Future<(bool, int)> isSupported(final core.OcsGetCapabilitiesResponseApplicationJson_Ocs_Data capabilities) async { - final version = capabilities.capabilities.spreedPublicCapabilities?.spreed.version; + final version = capabilities.capabilities.spreedPublicCapabilities?.spreedPublicCapabilities0?.spreed.version; return ( version != null && Version.parse(version).major == supportedVersion, supportedVersion, diff --git a/tool/patches/spreed/compatibility.json b/tool/patches/spreed/compatibility.json index 56bb7709749..a737b221fa5 100644 --- a/tool/patches/spreed/compatibility.json +++ b/tool/patches/spreed/compatibility.json @@ -1,7 +1,7 @@ [ { "op": "replace", - "path": "/components/schemas/PublicCapabilities/properties/spreed/properties/config/properties/call/required", + "path": "/components/schemas/PublicCapabilities/oneOf/0/properties/spreed/properties/config/properties/call/required", "value": [ "enabled", "breakout-rooms", @@ -13,7 +13,7 @@ }, { "op": "replace", - "path": "/components/schemas/PublicCapabilities/properties/spreed/properties/config/properties/chat/required", + "path": "/components/schemas/PublicCapabilities/oneOf/0/properties/spreed/properties/config/properties/chat/required", "value": [ "max-length", "read-privacy", @@ -22,7 +22,7 @@ }, { "op": "add", - "path": "/components/schemas/PublicCapabilities/properties/spreed/properties/config/properties/chat/properties/translations", + "path": "/components/schemas/PublicCapabilities/oneOf/0/properties/spreed/properties/config/properties/chat/properties/translations", "value": { "type": "array", "items": { diff --git a/tool/patches/spreed/wip.json b/tool/patches/spreed/wip.json deleted file mode 100644 index f34f62aa717..00000000000 --- a/tool/patches/spreed/wip.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "op": "replace", - "path": "/paths/~1ocs~1v2.php~1apps~1spreed~1api~1{apiVersion}~1signaling~1{token}/get/responses/200/content/application~1json/schema/properties/ocs/properties/data/items/properties/data", - "value": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/SignalingSession" - } - }, - { - "type": "string" - } - ] - } - } -]